shuziren/job-seeker/miniprogram-2/miniprogram_npm/lin-ui/index-anchor/index.wxml

12 lines
341 B
Plaintext

<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>