| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <view class="mine">
- <!-- total -->
- <view class="head">
- <image src="{{icon}}"></image>
- <text class="balance">{{ symbol }}:</text>
- <text class="balance">{{total}}</text>
- </view>
- <!-- digging -->
- <view class="main">
- <view class="left">
- <button class="{{ progress > 0 ? 'started': 'stopped'}}" bindtap="onClickStart">
- {{ progress > 0 ? '运行中': '启动'}}
- </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>
- <!-- <authorize bind:onLoadFun='onLoadFun' isGoIndex="{{isGoIndex}}" iShidden="{{iShidden}}"></authorize> -->
|