更新记录

1.0.0(2025-07-18)

初始版本


平台兼容性

云端兼容性

阿里云 腾讯云 支付宝云

uni-app x(4.25)

Chrome Safari Android iOS 鸿蒙 微信小程序
- - - -

yzc-loading-x-view uniappx帧动画视图

示例代码

<template>
    <view class="page">
        <yzc-loading-x-view 
        class="loadingView" 
        :refreshStateRefreshingImagePaths="refreshStateRefreshingImagePaths" 
        :duration="duration"
        >
        </yzc-loading-x-view>
    </view>
</template>

<script>
    import yzcLoadingXView from '@/uni_modules/yzc-loading-x-view/components/yzc-loading-x-view/yzc-loading-x-view.uvue';
    export default {
        components: {
            yzcLoadingXView
        },
        data() {
            return {
                duration: 100, // 每帧间隔ms
                refreshStateRefreshingImagePaths: [
                    '/static/pullLoading/1.png',
                    '/static/pullLoading/2.png',
                    '/static/pullLoading/3.png',
                    '/static/pullLoading/4.png'
                ]
            }
        },
        methods: {

        }
    }
</script>

<style lang="scss">
.page {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    .loadingView {
        width: 100px;
        height: 100px;
    }
}
</style>

隐私、权限声明

1. 本插件需要申请的系统权限列表:

2. 本插件采集的数据、发送的服务器地址、以及数据用途说明:

插件不采集任何数据

3. 本插件是否包含广告,如包含需详细说明广告表达方式、展示频率:

暂无用户评论。

使用中有什么不明白的地方,就向插件作者提问吧~ 我要提问