8 changed files with 56 additions and 48 deletions
Split View
Diff Options
-
15components/loading/index.wxml
-
15components/refresh-view/index.js
-
2components/refresh-view/scroll.wxs
-
30pages/process/index/index.js
-
2pages/process/index/index.json
-
15pages/process/index/index.wxml
-
2utils/storage.js
-
23utils/util.js
@ -1,18 +1,11 @@ |
|||
<wxs src="../wxs/utils.wxs" module="utils" /> |
|||
|
|||
<view class="custom-class van-loading {{ vertical ? 'van-loading--vertical' : '' }}"> |
|||
<view |
|||
class="van-loading__spinner van-loading__spinner--{{ type }}" |
|||
style="color: {{ color }}; width: {{ utils.addUnit(size) }}; height: {{ utils.addUnit(size) }}" |
|||
> |
|||
<view |
|||
wx:if="{{ type === 'spinner' }}" |
|||
wx:for="{{ array12 }}" |
|||
wx:key="index" |
|||
class="van-loading__dot" |
|||
/> |
|||
<view class="van-loading__spinner van-loading__spinner--{{ type }}" |
|||
style="color: {{ color }}; width: {{ utils.addUnit(size) }}; height: {{ utils.addUnit(size) }}"> |
|||
<view wx:if="{{ type === 'spinner' }}" wx:for="{{ array12 }}" wx:key="index" class="van-loading__dot" /> |
|||
</view> |
|||
<view class="van-loading__text" style="font-size: {{ utils.addUnit(textSize) }};"> |
|||
<slot /> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
Write
Preview
Loading…
Cancel
Save