riku
2024-11-14 00a96d6881dd10ae7d3c4f5437bfceaabe677723
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
51
52
53
54
55
56
57
58
59
60
61
62
<import src="/pages/common/template/template-loading.wxml" />
 
<!-- <template is="pulldown-loading" wx:if="{{pageLoading && summaryList.length != 0}}" /> -->
<block wx:if="{{summaryList.length > 0}}">
  <view
    class="ranking-summary__item"
    wx:for="{{summaryList}}"
    data-index="{{index}}"
    bind:tap="navToDetail"
  >
    <view style="flex: 1">
      <view class="ranking-summary__item-name">{{item.scene.name}} </view>
      <t-divider />
      <view class="ranking-summary__item-tag__wrap">
        <view class="ranking-summary__item-abstract">地址:{{item.scene.location}} </view>
      </view>
    </view>
    <view class="flex-v">
      <view class="ranking-summary__item-abstract flex-end"
        >整改率:{{_.changePercent(item.proNum, item.changeNum)}}</view
      >
      <view class="ranking-summary__item-tag__wrap">
        <view class="ranking-summary__item-tag">
          <view class="ranking-summary__tag-count"> {{item.proNum}} </view>
          <t-tag
            max-width="{{130}}"
            shape="square"
            size="small"
            theme="default"
            variant="light-outline"
            >问题</t-tag
          >
        </view>
        <view class="ranking-summary__item-tag">
          <view
            class="ranking-summary__tag-count {{_.tagBorderColor(item.proNum, item.changeNum)}}"
          >
            <text>{{item.changeNum}}</text>
            <view></view>
          </view>
          <t-tag
            max-width="{{130}}"
            shape="square"
            size="small"
            theme="default"
            variant="light-outline"
            >整改</t-tag
          >
        </view>
      </view>
      <view class="ranking-summary__nav-icon">
        <t-icon name="chevron-right" size="24rpx" />
      </view>
    </view>
  </view>
</block>
<t-empty-page wx:elif="{{!pageLoading}}" description="暂无相关记录" />
<load-more
  list-is-empty="{{!summaryList.length}}"
  status="{{loadStatus}}"
  bind:retry="_startLoad"
/>