index.wxml 1006 B

123456789101112131415
  1. <view class="order-group">
  2. <t-cell-group wx:if="{{isTop}}">
  3. <t-cell t-class="order-group__top" t-class-left="order-group__left" t-class-title="order-group__top__title" t-class-note="order-group__top__note" title="{{title}}" note="{{desc}}" bordered="{{false}}" arrow bind:tap="onClickTop" />
  4. </t-cell-group>
  5. <view class="order-group__content">
  6. <view class="order-group__item" wx:for="{{options}}" wx:for-item="item" wx:key="index" data-item="{{item}}" bindtap="onClickItem">
  7. <view class="order-group__item__icon icon-class">
  8. <t-badge count="{{item.orderNum}}" max-count="{{99}}" color="#FF4646">
  9. <t-icon prefix="{{classPrefix}}" name="{{item.iconName}}" size="56rpx" customStyle=";background-image: -webkit-linear-gradient(90deg, #6a6a6a 0%,#929292 100%);-webkit-background-clip: text;-webkit-text-fill-color: transparent;" />
  10. </t-badge>
  11. </view>
  12. <view class="order-group__item__title title-class">{{item.title}}</view>
  13. </view>
  14. </view>
  15. </view>