forked from gzzfw/frontEnd/gzDyh

dminyi
2024-08-23 166b432dd40c998e6e9a039a5b4948b8a5290ff0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<wxs src="../wxs/utils.wxs" module="utils" />
<wxs src="./index.wxs" module="computed" />
 
<view class="custom-class {{ utils.bem('loading', { vertical }) }}">
  <view
    class="van-loading__spinner van-loading__spinner--{{ type }}"
    style="{{ computed.spinnerStyle({ color, size }) }}"
  >
    <view
      wx:if="{{ type === 'spinner' }}"
      wx:for="{{ array12 }}"
      wx:key="index"
      class="van-loading__dot"
    />
  </view>
  <view class="van-loading__text" style="{{ computed.textStyle({ textSize }) }}">
    <slot />
  </view>
</view>