2021-12-12 17:15:24 +08:00

122 lines
4.8 KiB
Plaintext

<!--page_package/profit/profit.wxml-->
<!--<custom bgColor="bg-gradual-main" isBack="{{true}}">-->
<!-- <view slot="backText">返回</view>-->
<!-- <view slot="content" class="font-w600">我的收益</view>-->
<!--</custom>-->
<bc-scroll id="type-scroll" requesting="{{requesting}}"
empty-show="{{emptyShow}}"
end="{{end}}"
listCount="0"
scrollTop="{{scrollTop}}"
has-top="{{hasTop}}"
enable-back-to-top="{{enableBackToTop}}"
refresh-size="{{refreshSize}}"
bottom-size="{{bottomSize}}"
color="{{color}}"
bind:more="more"
bind:refresh="refresh">
<scroll-view scroll-x class="bg-white nav">
<view class="flex text-center">
<view class="cu-item flex-sub {{index==TabCur?'color-main cur font-w600':''}}"
wx:for="{{tabs}}" wx:key="*this" bindtap="tabSelect" data-id="{{index}}">
{{item}}
</view>
</view>
</scroll-view>
<view hidden="{{TabCur != 0}}">
<view class="cu-list menu sm-border">
<view class="cu-item" wx:for="{{feeList.thisMonth[0].items}}" wx:key="*this">
<view class="content">
<text class="color3 font28">{{item.title}}</text>
</view>
<view class="action">
<text class="color-main">{{item.value}}</text>
</view>
</view>
<view class="cu-item">
<view class="content">
<text class="color6 text-sm">{{feeList.thisMonth[0].description.title}}</text>
</view>
<view class="action" bindtap="onShowModel" data-index="0" data-type="0">
<text class="text-blue">{{feeList.thisMonth[0].description.text}}</text>
</view>
</view>
</view>
</view>
<view hidden="{{TabCur != 1}}">
<view class="cu-list menu sm-border">
<view class="cu-item" wx:for="{{feeList.lastMonth[0].items}}" wx:key="*this">
<view class="content">
<text class="color3 font28">{{item.title}}</text>
</view>
<view class="action">
<text class="color-main">{{item.value}}</text>
</view>
</view>
<view class="cu-item">
<view class="content">
<text class="color6 text-sm">{{feeList.lastMonth[0].description.title}}</text>
</view>
<view class="action" bindtap="onShowModel" data-index="0" data-type="1">
<text class="text-blue">{{feeList.lastMonth[0].description.text}}</text>
</view>
</view>
</view>
</view>
<view hidden="{{TabCur != 2}}">
<view class="cu-list menu sm-border">
<view class="cu-item" wx:for="{{feeList.nearly30Days[0].items}}" wx:key="*this">
<view class="content">
<text class="color3 font28">{{item.title}}</text>
</view>
<view class="action">
<text class="color-main">{{item.value}}</text>
</view>
</view>
<view class="cu-item">
<view class="content">
<text class="color6 text-sm">{{feeList.nearly30Days[0].description.title}}</text>
</view>
<view class="action" bindtap="onShowModel" data-index="0" data-type="2">
<text class="text-blue">{{feeList.nearly30Days[0].description.text}}</text>
</view>
</view>
</view>
</view>
<view class="cu-list menu sm-border margin-top-xl">
<view class="cu-item" wx:for="{{feeList.billingInfo.items}}" wx:key="*this">
<view class="content">
<text class="color3 font28">{{item.title}}</text>
</view>
<view class="action">
<text class="color-main">{{item.value}}</text>
</view>
</view>
<view class="cu-item">
<view class="content"></view>
<view class="action" bindtap="onShowModel" data-index="1">
<text class="text-blue">{{feeList.billingInfo.description.text}}</text>
</view>
</view>
</view>
</bc-scroll>
<view class="cu-modal bottom-modal {{modalName=='bottomModal'?'show':''}}">
<view class="cu-dialog" bindtap="hideModal">
<view class="cu-bar bg-white">
<view class="action"></view>
<view class="content">{{modelTitle}}</view>
<view class="action text-blue" bindtap="hideModal">确定</view>
</view>
<view class="padding-xl">
{{modelContent}}
</view>
</view>
</view>