index.wxml 543 B

1234567891011
  1. <view class="i-class i-card {{ full ? 'i-card-full' : '' }}">
  2. <view class="i-class i-card-header">
  3. <view class="i-card-header-content">
  4. <image class="i-card-header-thumb" src="{{ thumb }}" mode="aspectFit" wx:if="{{ thumb }}" />
  5. {{ title }}
  6. </view>
  7. <view class="i-card-header-extra" wx:if="{{ extra }}">{{ extra }}</view>
  8. </view>
  9. <view class="i-class i-card-body"><slot name="content"></slot></view>
  10. <view class="i-class i-card-footer"><slot name="footer"></slot></view>
  11. </view>