city-casereport/miniprogram_npm/tdesign-miniprogram/indexes-anchor/indexes-anchor.wxml
2023-12-06 14:22:42 +08:00

11 lines
444 B
Plaintext

<wxs src="../common/utils.wxs" module="_" />
<view class="{{classPrefix}} class {{prefix}}-class" style="{{_._style([style, customStyle])}}">
<view class="{{_.cls(classPrefix + '__wrapper', [['sticky', sticky], ['active', active]])}}" style="{{anchorStyle}}">
<view class="{{classPrefix}}__slot">
<slot />
</view>
<view class="{{_.cls(classPrefix + '__header', [['active', active]])}}"> {{index}} </view>
</view>
</view>