提交 1b26eb66 编写于 作者: DCloud_JSON's avatar DCloud_JSON

更新 示例模板 相关资源

上级 280debcb
<template>
<view>
<view slot="refresher" class="refresh-box">
<image class="logo" src="/static/uni.png" mode="widthFix"></image>
<image v-if="state == 2" class="refresh-icon" src="/static/template/custom-refresher/refresh-box/run.gif" mode="widthFix"></image>
<text class="tip-text">{{text[state]}}</text>
</view>
</view>
......@@ -11,7 +11,7 @@
export default {
data() {
return {
text: ['继续下拉执行刷新', '释放立即刷新', '刷新中...']
text: ['继续下拉执行刷新', '释放立即刷新', '刷新中']
}
},
props: {
......@@ -29,18 +29,19 @@
<style>
.refresh-box {
justify-content: center;
align-items: center;
align-items: center;
flex-direction: row;
height: 30px;
}
.logo {
width: 30px;
height: 30px;
margin-top: 3px;
.refresh-icon {
width: 20px;
height: 20px;
margin: 5px;
}
.tip-text {
color: #888;
font-size: 12px;
padding: 2px 0;
}
</style>
\ No newline at end of file
......@@ -130,9 +130,9 @@
});*/
let videoUrlList = [
'https://web-assets.dcloud.net.cn/unidoc/zh/video/uts.mp4',
'https://web-assets.dcloud.net.cn/unidoc/zh/video/uni-ai.mp4',
'https://web-assets.dcloud.net.cn/unidoc/zh/video/uni-verify.mp4'
'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/video/uts.mp4',
'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/video/uni-ai.mp4',
'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/video/uni-verify.mp4'
] as string[]
let list = [] as ListItem[];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册