1 |
- <view class="u-skeleton data-v-3bb5bf6e"><block wx:if="{{loading}}"><view data-ref="u-skeleton__wrapper" class="u-skeleton__wrapper data-v-3bb5bf6e vue-ref" style="display:flex;flex-direction:row;"><block wx:if="{{avatar}}"><view class="{{['u-skeleton__wrapper__avatar','data-v-3bb5bf6e','u-skeleton__wrapper__avatar--'+avatarShape,animate&&'animate']}}" style="{{'height:'+($root.g0)+';'+('width:'+($root.g1)+';')}}"></view></block><view data-ref="u-skeleton__wrapper__content" class="u-skeleton__wrapper__content data-v-3bb5bf6e vue-ref" style="flex:1;"><block wx:if="{{title}}"><view class="{{['u-skeleton__wrapper__content__title','data-v-3bb5bf6e',animate&&'animate']}}" style="{{'width:'+(uTitleWidth)+';'+('height:'+($root.g2)+';')}}"></view></block><block wx:for="{{rowsArray}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['u-skeleton__wrapper__content__rows','data-v-3bb5bf6e',animate&&'animate']}}" style="{{'width:'+(item.width)+';'+('height:'+(item.height)+';')+('margin-top:'+(item.marginTop)+';')}}"></view></block></view></view></block><block wx:else><slot></slot></block></view>
|