first commit
This commit is contained in:
17
衣莎项目/源码/YiShaXiYi/component/skeleton/skeleton.wxml
Normal file
17
衣莎项目/源码/YiShaXiYi/component/skeleton/skeleton.wxml
Normal file
@@ -0,0 +1,17 @@
|
||||
<!--<canvas canvas-id="skeleton" disable-scroll="true"></canvas>-->
|
||||
<view style="width: {{systemInfo.width}}px; height: {{systemInfo.height}}px; background-color: {{bgcolor}}; position: absolute; left:0; top:0; z-index:9998; overflow: hidden;">
|
||||
|
||||
<view wx:for="{{skeletonRectLists}}" wx:key="{{index}}" class="{{loading == 'chiaroscuro' ? 'chiaroscuro' : ''}}" style="width: {{item.width}}px; height: {{item.height}}px; background-color: rgb(238,238,238); position: absolute; left: {{item.left}}px; top: {{item.top}}px">
|
||||
|
||||
</view>
|
||||
<view wx:for="{{skeletonCircleLists}}" wx:key="{{index}}" class="{{loading == 'chiaroscuro' ? 'chiaroscuro' : ''}}" style="width: {{item.width}}px; height: {{item.height}}px; background-color: rgb(238,238,238); border-radius: {{item.width}}px; position: absolute; left: {{item.left}}px; top: {{item.top}}px">
|
||||
|
||||
</view>
|
||||
|
||||
<view class="spinbox" wx:if="{{loading == 'spin'}}">
|
||||
<view class="spin"></view>
|
||||
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
Reference in New Issue
Block a user