riku
2026-04-02 3282e95db0207ee133d1e98d9771dec9d83b0fc4
miniprogram_npm/tdesign-miniprogram/indexes-anchor/indexes-anchor.wxml
@@ -1,10 +1 @@
<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>
<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>