- <view class="container"><block wx:for="{{list}}" wx:for-item="ls" wx:for-index="index" wx:key="index"><block wx:if="{{list.length>0}}"><view class="list-cell"><view class="cell-title flex"><view class="cellTpl flex_item"><image src="{{ls.machine.logo}}"></image><view class="title">{{ls.machine.name}}</view></view><view class="status">{{ls.status==0?'准备中':ls.status==1?'挖矿中':'已到期'}}</view></view><view class="cell-tip">{{ls.machine.first_step_time+ls.machine.second_step_time+ls.machine.third_step_time+"天矿机"}}</view><view class="flex cell-tpl"><view class="tpl"><view>单价(T)</view><view>{{ls.machine.cost_money*1+" "+ls.machine.cost_money_type}}</view></view><view class="tpl"><view>有效算力</view><view>{{ls.num*1+"T"}}</view></view><view class="tpl"><view>合约周期</view><view>{{ls.machine.first_step_time+ls.machine.second_step_time+ls.machine.third_step_time+"天"}}</view></view></view><view class="cell-info flex"><view class="tip">{{"到期时间:"+ls.mining_end_time}}</view></view><view class="cell-info flex"><view class="tip">{{"购买时间:"+ls._pay_time}}</view></view><block wx:if="{{ls.status==0}}"><view class="cell-info flex"><view class="tip">倒计时:<uni-countdown vue-id="{{'d3694890-1-'+index}}" color="#FFF" background-color="#BAC1EF" day="{{ls.stopTimeD}}" hour="{{ls.stopTimeH}}" minute="{{ls.stopTimeM}}" second="{{ls.stopTimeS}}" bind:__l="__l"></uni-countdown></view></view></block><view class="list-tip"><rich-text nodes="{{ls.machine.detail}}"></rich-text></view></view></block></block><view hidden="{{!(list.length===0)}}" class="empty-box"><empty vue-id="d3694890-2" bind:__l="__l"></empty></view></view>
|