index.wxml 581 B

12345678910111213141516171819202122
  1. <wxs src="../wxs/utils.wxs" module="utils" />
  2. <wxs src="./index.wxs" module="computed" />
  3. <view class="custom-class van-empty">
  4. <view class="van-empty__image">
  5. <slot name="image"></slot>
  6. </view>
  7. <view class="van-empty__image">
  8. <image wx:if="{{ image }}" class="van-empty__image__img" src="{{ computed.imageUrl(image) }}" />
  9. </view>
  10. <view class="van-empty__description">
  11. <slot name="description"></slot>
  12. </view>
  13. <view class="van-empty__description">
  14. {{ description }}
  15. </view>
  16. <view class="van-empty__bottom">
  17. <slot></slot>
  18. </view>
  19. </view>