更新记录
1.0.0(2022-06-17)
下载此版本
1.优化
平台兼容性
uni-app
Vue2 |
Vue3 |
Chrome |
Safari |
app-vue |
app-nvue |
Android |
iOS |
鸿蒙 |
√ |
√ |
√ |
√ |
√ |
√ |
- |
- |
- |
微信小程序 |
支付宝小程序 |
抖音小程序 |
百度小程序 |
快手小程序 |
京东小程序 |
鸿蒙元服务 |
QQ小程序 |
飞书小程序 |
快应用-华为 |
快应用-联盟 |
√ |
√ |
√ |
√ |
√ |
√ |
- |
√ |
√ |
√ |
√ |
其他
插件名称:d-loading 更新时间:2022.06.17
使用步骤 仅2步(已亲测)
【一】准备:
1.复制图片目录到【根目录】:
'@/uni_modules/d-swiper-type/components/d-swiper-type/pages/static'
2. main.js 中增加这2行代码
import dLoading from '@/uni_modules/d-loading/components/d-loading/d-loading.vue'
Vue.component('dLoading',dLoading)
【二】使用:
<template>
<view>
<dLoading :status="loading"></dLoading>
</view>
</template>
<script>
export default {
data() {
return {
loading:''
}
},
onLoad() {
this.loading = true
var that = this
if (true) {
setTimeout(function(){
that.loading = false
},1000)
}
},
}
</script>
gif 来源color ui