<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}}" onClear="onClear" 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}}" onClear="onClear" 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>
|