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

15 lines
327 B
Plaintext
Raw Normal View History

2019-12-14 09:20:48 +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>