TM
2020-12-15 f416636e752fff5266004f095d77b090abd2ab75
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<view class="order-page">
  <tabs tabs="{{tabs2}}" tabsName="activeTab2" onChange="test" onTabClick="handleTabClick" activeTab="{{activeTab2}}" capsule="{{false}}" tabBarUnderlineWidth="20px">
    <block a:for="{{tabs2}}">
      <tab-content key="{{index}}" tabId="{{index}}" activeTab="{{activeTab2}}" a:if="{{index === 0}}">
        <view class="tab-item">
          <view class="search-box">
            <search-bar value="{{value}}" borderColor="#EDEDF2" onSubmit="searchMation" onInput="onhandInput" focus="{{false}}" maxLength="{{20}}" showCancelButton="{{false}}" placeholder="请输入用户名称" />
            <view class="filer">
              <text class="iconfont iconshaixuan" style="font-size:20px"></text>
              <text class="filer-tit" onTap="showFilter">筛选</text>
            </view>
          </view>
          <view class="show-date" style="{{background:userStyle.gradientColor}}">
            <view class="data-left">
              <view class="tit">
                分期本金
              </view>
              <view class="number">
                <text style="font-size:14px">¥</text>
                <text style="font-size:20px">{{amt}}</text>
              </view>
            </view>
            <view class="data-right">
              <view class="tit">
                交易单数
              </view>
              <view class="number" style="font-size:20px">
                {{num}}
              </view>
            </view>
          </view>
          <scroll-view a:if="{{list.length > 0}}" scroll-y="{{true}}" scroll-with-animation="{{true}}" style="height: 70vh;background:#fafafa" onScrollToLower="lower" scroll-top="{{0}}">
            <view class="tab-content" a:for="{{list}}" a:key="{{index}}" onTap="goDetail" data-orderId="{{item.orderId}}">
              <view class="content-top">
                <view class="name-box">
                  <text class="iconfont iconkehuxingming" style="{{color:userStyle.defaultColor,'font-size':'20px','margin-right':'8px'}}"></text>
                  <view>{{item.userName}}</view>
                </view>
                <view class="status-box">
                  <view style="{{color:item.status==0?'#FF9900':'#999','font-size':'13px','margin-bottom':'8px'}}">{{item.statusStr}}</view>
                  <view>
                    <text style="font-size:14px">¥</text>
                    <text style="font-size:18px">{{item.settAmt}}</text>
                  </view>
                </view>
              </view>
              <view class="content-bottom">
                <view class="line-one">
                  <view>
                    <text class="tit-cont">分期期数:</text>
                    <text class="cont">{{item.insTerm}}期</text>
                  </view>
                  <view>
                    <text class="tit-cont">付息方式:</text>
                    <text class="cont">{{item.prodName}}</text>
                  </view>
                </view>
                <view class="line-two">
                  <view>
                    <text class="tit-cont">创建时间:</text>
                    <text class="cont">{{item.creTime}}</text>
                  </view>
                </view>
              </view>
            </view>
          </scroll-view>
          <view a:else class="no-data">
              <cover-image src="../../static/nodata.png" class="no-data-img"/>
              <view class="no-data-text">暂无数据</view>
          </view>
        </view>
      </tab-content>
      <tab-content key="{{index}}" tabId="{{index}}" activeTab="{{activeTab2}}" a:elif="{{index === 1}}">
        <view class="tab-item">
          <view class="search-box">
            <search-bar value="{{value}}" borderColor="#EDEDF2" onSubmit="searchMation" onInput="onhandInput" focus="{{false}}" maxLength="{{20}}" showCancelButton="{{false}}" placeholder="请输入用户名称" />
            <view class="filer">
              <text class="iconfont iconshaixuan" style="font-size:20px"></text>
              <text class="filer-tit" onTap="showFilter">筛选</text>
            </view>
          </view>
          <view class="show-date" style="{{background:userStyle.gradientColor}}">
            <view class="data-left">
              <view class="tit">
                分期金额
              </view>
              <view class="number">
                <text style="font-size:14px">¥</text>
                <text style="font-size:20px">{{amt}}</text>
              </view>
            </view>
            <view class="data-right">
              <view class="tit">
                交易单数
              </view>
              <view class="number" style="font-size:20px">
                {{num}}
              </view>
            </view>
          </view>
          <scroll-view scroll-y="{{true}}" scroll-with-animation="{{true}}" style="height: 70vh;background:#fafafa" onScrollToLower="lower" scroll-top="{{0}}">
            <view a:if="{{list.length > 0}}">
              <view class="tab-content-shsk" a:for="{{list}}" a:key="{{index}}" onTap="goDetail" data-orderId="{{item.orderId}}">
                <view class="left">
                  <view style="{{color:item.status==0?'#FF9900':'#999','font-size':'14px','margin-bottom':'10px'}}">
                    {{item.statusStr}}
                  </view>
                  <view class="time-shsk">
                    {{item.creTime}}
                  </view>
                </view>
                <view class="right">
                  <text style="color:#333;font-size:14px">¥</text>
                  <text style="color:#333;font-size:18px">{{item.settAmt}}</text>
                </view>
              </view>
            </view>
            <view a:else class="no-data">
                <cover-image src="../../static/nodata.png" class="no-data-img"/>
                <view class="no-data-text">暂无数据</view>
            </view>
          </scroll-view>
        </view>
      </tab-content>
    </block>
  </tabs>
</view>
<my-filter a:if="{{isgoOut}}" showRight="{{showRight}}" onGetFilterInfo="onGetFilterInfo" onShowage="onShowage" termArr="{{activeTab2==0?termList:''}}" payTypeArr="{{activeTab2==0?prodList:''}}" orderStaArr="{{statusList}}" priceArr="{{activeTab2==0?priceArr:''}}" doPriceArr="{{activeTab2==0?'':priceArr}}" hasTime="{{true}}"></my-filter>