index.wxml 614 B

12345678910111213141516
  1. <view bindtap="handleTap" class="i-class i-cell {{ isLastCell ? 'i-cell-last' : '' }} {{ isLink ? 'i-cell-access' : '' }}">
  2. <view class="i-cell-icon">
  3. <slot name="icon"></slot>
  4. </view>
  5. <view class="i-cell-bd">
  6. <view wx:if="{{ title }}" class="i-cell-text">{{ title }}</view>
  7. <view wx:if="{{ label }}" class="i-cell-desc">{{ label }}</view>
  8. <slot></slot>
  9. </view>
  10. <view catchtap="navigateTo" class="i-cell-ft">
  11. <block wx:if="{{value}}">{{ value }}</block>
  12. <block wx:else>
  13. <slot name="footer"></slot>
  14. </block>
  15. </view>
  16. </view>