2021-01-12 18:04:14 +08:00

14 lines
626 B
Plaintext

<!---------- wxs start ----------->
<wxs module="utils" src="../wxs/utils.wxs"></wxs>
<!---------- wxs end ----------->
<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>
</view>
<view class="van-loading__text" style="font-size: {{ utils.addUnit(textSize) }};">
<slot></slot>
</view>
</view>