Skeleton 骨架屏

    示例

    1. <view class="page__hd">
    2. <view class="page__desc">骨架屏</view>
    3. </view>
    4. <view class="page__bd page__bd_spacing">
    5. <view class="sub-title">Default</view>
    6. <wux-skeleton>
    7. <wux-skeleton-paragraph />
    8. </wux-skeleton>
    9. <view class="sub-title">Rounded</view>
    10. <wux-skeleton active>
    11. <wux-skeleton-paragraph rounded />
    12. <view class="sub-title">Rows = 4</view>
    13. <wux-skeleton active>
    14. </wux-skeleton>
    15. <view class="sub-title">With avatar</view>
    16. <wux-skeleton active>
    17. <wux-row>
    18. <wux-col span="2">
    19. <wux-skeleton-avatar />
    20. </wux-col>
    21. <wux-col span="10">
    22. <wux-skeleton-paragraph />
    23. </wux-row>
    24. </wux-skeleton>
    25. </view>

    Skeleton externalClasses

    名称 描述
    wux-class 根节点样式类

    SkeletonAvatar externalClasses

    名称 描述
    wux-class 根节点样式类

    SkeletonParagraph externalClasses

    名称 描述
    wux-class 根节点样式类