index.wxml 473B

1234567891011121314151617181920
  1. <view class="van-panel van-hairline--top-bottom custom-class">
  2. <van-cell
  3. wx:if="{{ title || desc || status }}"
  4. title="{{ title }}"
  5. label="{{ desc }}"
  6. value="{{ status }}"
  7. custom-class="header-class"
  8. value-class="van-panel__header-value"
  9. />
  10. <slot wx:else name="header" />
  11. <view class="van-panel__content">
  12. <slot />
  13. </view>
  14. <view class="van-panel__footer van-hairline--top footer-class">
  15. <slot name="footer" />
  16. </view>
  17. </view>