| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- <view class="mine">
- <!-- total -->
- <view class="head">
- <image src="{{icon}}"></image>
- <text class="balance">{{totals}}</text>
- </view>
- <!-- digging -->
- <view class="main">
- <view class="left">
- <button class="start" bindtap="onClickStart">{{btnTxt}}</button>
- </view>
- <view class="right">
- <view class="current">
- <text class="progress">{{progress}}</text>
- </view>
- </view>
- </view>
- <!-- history -->
- <view class="his">
- <view class="his-img">
- <image src="/images/historyTitle.png"></image>
- </view>
- <view class="no-record" wx:if="{{history.length <= 0}}">
- <text>没有记录</text>
- </view>
- <view wx:else>
- <scroll-view class="records" scroll-y="true" scroll-with-animation="true">
- <view wx:for="{{history}}" wx:key="index" class="item {{ item.out != 0 ? 'color' : '' }}">
- <view class="icon">
- <image src="{{item.icon}}"></image>
- </view>
- <text class="symbol">{{item.symbol}}</text>
- <text class="direction">{{ item.out != 0 ? "获取" : "导出" }}</text>
- <text class="amount">{{item.out != 0 ? item.amount : -item.amount}}</text>
- <text class="time">{{ item.ts }}</text>
- </view>
- </scroll-view>
- </view>
- </view>
- </view>
|