index.wxml 1.91 KB
<!--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>