index.wxml
1.91 KB
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
<!--dist/pages/myassets/index.wxml-->
<view class='container'>
<text class='asset-title'>我的收入</text>
<view class='asset-head-parent'>
<view class='income-detail1'>
<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>
</view>
</view>
<view class='income-detail2'>
<view class='income-radiu-icon-view2'></view>
<view>
<text class='income-title-txt'>补偿收入:</text>
<text class='income-count-txt'>¥{{summary.compensateIncome}}</text>
</view>
</view>
</view>
<view class='progress-box'>
<!-- 绘制圆环背景 -->
<canvas class="progress-bg" canvas-id="canvasProgressbg" />
<!-- 绘制加载中圆弧 -->
<canvas class="progress-canvas" canvas-id="canvasProgress" />
<!-- 绘制圆弧中心提示文字 -->
<!-- <view class="progress-text">
<text class='progress_info'> {{progress_txt}}</text>
</view> -->
</view>
</view>
<view class= 'tips-root-view'>
<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>
<view class='split-line'></view>
<block wx:if='{{data.length > 0}}'>
<scroll-view bindscrolltolower="loadMore">
<block wx:for='{{data}}' wx:key="{{index}}">
<myassetscell id='myassetscell' item="{{item}}"></myassetscell>
</block>
</scroll-view>
</block>
<block wx:else>
<view class='empty'>
<view>暂无收入明细</view>
</view>
</block>
</view>