index.wxml 640 B

123456789101112131415
  1. <view class="wux-class {{ classes.wrap }}">
  2. <view class="{{ classes.hd }}" wx:if="{{ thumb || title || extra }}">
  3. <view class="{{ classes.content }}" wx:if="{{ thumb || title }}">
  4. <image class="{{ classes.thumb }}" src="{{ thumb }}" mode="aspectFit" style="{{ extStyle }}" wx:if="{{ thumb }}" />
  5. <text>{{ title }}</text>
  6. </view>
  7. <view class="{{ classes.extra }}" wx:if="{{ extra }}">{{ extra }}</view>
  8. </view>
  9. <view class="{{ classes.bd }}">
  10. <slot name="body"></slot>
  11. </view>
  12. <view class="{{ classes.ft }}">
  13. <slot name="footer"></slot>
  14. </view>
  15. </view>