index.wxml 327 B

1234567891011121314
  1. <view
  2. class="van-index-anchor-wrapper"
  3. style="{{ wrapperStyle }}"
  4. >
  5. <view
  6. class="van-index-anchor {{ active ? 'van-index-anchor--active van-hairline--bottom' : '' }}"
  7. style="{{ anchorStyle }}"
  8. >
  9. <slot wx:if="{{ useSlot }}"/>
  10. <block wx:else>
  11. <text>{{ index }}</text>
  12. </block>
  13. </view>
  14. </view>