indexes-anchor.wxml 419 B

12345678910
  1. <wxs src="../common/utils.wxs" module="_" />
  2. <view class="{{classPrefix}} {{prefix}}-class" style="{{customStyle}}">
  3. <view class="{{_.cls(classPrefix + '__wrapper', [['sticky', sticky], ['active', active]])}}" style="{{anchorStyle}}">
  4. <view class="{{classPrefix}}__slot">
  5. <slot />
  6. </view>
  7. <view class="{{_.cls(classPrefix + '__header', [['active', active]])}}"> {{index}} </view>
  8. </view>
  9. </view>