Authored by 黄敬囿

优化我的收入 review by 李其昌

... ... @@ -8,7 +8,11 @@ Page({
data: {
api: Object,
data: [],
summary:{},
summary: {
totalIncome: '0.00',
goodsIncome: '0.00',
compensateIncome: '0.00'
},
currentPage:1,
page:0,
pagetotal:0,
... ...
... ... @@ -3,12 +3,12 @@
<text class='asset-title'>我的收入</text>
<view class='asset-head-parent'>
<view class='income-detail1'>
<text class='income-all-count-txt'>收入:{{summary.totalIncome}}</text>
<text class='income-all-count-txt'>收入:¥{{summary.totalIncome}}</text>
<view class='income-detail2'>
<view class='income-radiu-icon-view1'></view>
<view>
<text class='income-title-txt'>货款收入:</text>
<text class='income-count-txt'>{{summary.goodsIncome}}</text>
<text class='income-count-txt'>¥{{summary.goodsIncome}}</text>
</view>
</view>
... ... @@ -16,7 +16,7 @@
<view class='income-radiu-icon-view2'></view>
<view>
<text class='income-title-txt'>补偿收入:</text>
<text class='income-count-txt'>{{summary.compensateIncome}}</text>
<text class='income-count-txt'>¥{{summary.compensateIncome}}</text>
</view>
</view>
</view>
... ... @@ -35,7 +35,7 @@
<image class='tips-icon' src='../../assets/images/tip_3x.png'></image>
<view class='income-title-txt'>无法收到补偿款请进入<text class='tips-txt'>Yoho!Buy有货APP</text>进行设置</view>
</view>
<text class='income-record-txt'>交易流水</text>
<text class='income-record-txt'>收入明细</text>
<view class='split-line'></view>
<block wx:if='{{data.length > 0}}'>
<scroll-view bindscrolltolower="loadMore">
... ... @@ -46,7 +46,7 @@
</block>
<block wx:else>
<view class='empty'>
<view>暂无交易明细</view>
<view>暂无收入明细</view>
</view>
</block>
</view>
... ...