index.axml 411 B

12345678910111213
  1. <view class='demo-block-index {{className}}' style='{{style}}' ref='saveChildRef0'>
  2. <view class="{{customClass}} demo-block van-clearfix {{ padding ? 'demo-block--padding' : '' }}">
  3. <view a:if='{{ title }}' class='demo-block__title'>
  4. {{ title }}
  5. </view>
  6. <view class='demo-block__card' a:if='{{ card }}'>
  7. <slot>
  8. </slot>
  9. </view>
  10. <slot a:else >
  11. </slot>
  12. </view>
  13. </view>