闫增涛
2024-03-06 21f34f1fc290cd129d24df2b25025e47e6ac028a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<t-tabs
  defaultValue="{{status}}"
  bind:change="tabChange"
  tabList="{{list}}"
  t-class="tabs-external__inner"
    t-class-item="tabs-external__item"
  t-class-active="tabs-external__active"
  t-class-track="tabs-external__track"
>
    <t-tab-panel
      wx:for="{{list}}"
      wx:for-index="index"
      wx:for-item="tab"
      wx:key="key"
      label="{{tab.text}}"
      value="{{tab.key}}"
    />
</t-tabs>
<view class="coupon-list-wrap">
    <t-pull-down-refresh
      t-class-indicator="t-class-indicator"
      id="t-pull-down-refresh"
      bind:refresh="onPullDownRefresh_"
      background="#fff"
    >
        <view class="coupon-list-item" wx:for="{{couponList}}" wx:key="key">
            <coupon-card couponDTO="{{item}}" />
        </view>
    </t-pull-down-refresh>
    <view class="center-entry">
        <view class="center-entry-btn" bind:tap="goCouponCenterHandle">
            <view>领券中心</view>
            <t-icon
              name="chevron-right"
              color="#fa4126"
              size="40rpx"
              style="line-height: 28rpx;"
            />
        </view>
    </view>
</view>