deguodaigou/utils/dist/index-anchor/index.wxml

15 lines
341 B
Plaintext
Raw Normal View History

2019-12-23 14:13:27 +08:00
<view
class="van-index-anchor-wrapper"
style="{{ wrapperStyle }}"
>
<view
class="van-index-anchor {{ active ? 'van-index-anchor--active van-hairline--bottom' : '' }}"
style="{{ anchorStyle }}"
>
<slot wx:if="{{ useSlot }}"/>
<block wx:else>
<text>{{ index }}</text>
</block>
</view>
</view>