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

更新 示例模板 相关资源

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