index.axml 451 B

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