riku
2026-01-19 068be2757aa2d51e3f6604dae54287683160ad0e
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
42
43
44
45
46
47
48
49
50
<t-tabs
  class="{{displayMode == 0 ? '' : 'hidden'}}"
  defaultValue="{{0}}"
  value="{{tabIndex}}"
  bind:change="onTabsChange"
  bind:click="onTabsClick"
  space-evenly="{{false}}"
  t-class="custom-tabs"
  t-class-item="custom-item"
  t-class-track="custom-track"
  t-class-content="custom-panel"
>
  <t-tab-panel
    wx:for="{{tabList}}"
    wx:key="index"
    label="{{item.name}}"
    value="{{index}}"
    badge-props="{{ {count:item.tag} }}"
    class="custom-tab-panel"
  >
    <t-grid column="{{3}}" theme="card" gutter="{{40}}">
      <t-grid-item
        wx:for="{{pageList[index]}}"
        wx:for-item="item2"
        wx:for-index="index2"
        wx:key="index2"
        style="opacity: {{item2.opacity}};"
        badge-props="{{ item2.badge }}"
        image="slot"
        data-index="{{[index, index2]}}"
        bindtap="gotoLedgerDetail"
        t-class-text="grid-item"
        t-class-content="grid-content"
      >
        <view slot="image">
          <t-image
            src="{{item2.iconUrl}}"
            mode="aspectFill"
            width="48"
            height="48"
          />
          <view wx:if="{{item2.upLoad}}" class="top-left">
            <t-icon name="check-circle-filled" size="24" color="green" />
          </view>
        </view>
        <view slot="text"> {{item2.ledgerName}} </view>
      </t-grid-item>
    </t-grid>
  </t-tab-panel>
</t-tabs>