index.axml 654 B

12345678910111213141516
  1. <view class='panel-index {{className}}' style='{{style}}' ref='saveChildRef0'>
  2. <view class='van-panel van-hairline--top-bottom {{customClass}}'>
  3. <van-cell a:if='{{ title || desc || status }}' title='{{ title }}' label='{{ desc }}' value='{{ status }}' custom-class='{{headerClass}}' value-class='van-panel__header-value' ref='saveChildRef1'>
  4. </van-cell>
  5. <slot a:else name='header'>
  6. </slot>
  7. <view class='van-panel__content'>
  8. <slot>
  9. </slot>
  10. </view>
  11. <view a:if='{{ useFooterSlot }}' class='van-panel__footer van-hairline--top {{footerClass}}'>
  12. <slot name='footer'>
  13. </slot>
  14. </view>
  15. </view>
  16. </view>