You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
341 B

3 years ago
<view class="anchor-wrapper" style="{{anchorWrapperStyle}}">
<view class="anchor" style="{{anchorStyle}}">
<view wx:if="{{anchorSlot.height!==0}}" class="anchor-slot">
<slot></slot>
</view>
<view wx:if="{{anchorSlot.height===0}}" class="anchor-default l-anchor-class">
{{anchorText}}
</view>
</view>
</view>