1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <view class="">
- <view class="load" style='display:{{loaddisplay}}'>
- <image class="loadimg" style='display:{{loaddisplay}}' src='https://yuesuo.yueguanjia.com/MiniProgram/images/timg.gif'></image>
- </view>
- <navbar page-name="我的设备" back-home="true"></navbar>
- <view class="page-content2" style='height:calc(100vh - {{navH}}px)'>
- <view class="none" wx:if="{{arr.length == 0}}">
- <image src="https://yuesuo.yueguanjia.com/MiniProgram/myeqnone.png" class="noneimg" />
- <view class="nonedesc">亲您还没有设备哦</view>
- </view>
- <view class="margintoop"></view>
- <block wx:for="{{arr}}" wx:key="index">
- <view class="eqlist">
- <view class="v4finish" wx:if="{{arr[index].eh_status ==4}}">
- <view class="finishdate">
- 订单日期: {{arr[index].ed_startdate}} - {{arr[index].ed_enddate}}
- </view>
- <view class="finishtitle">
- 已完成
- </view>
- </view>
- <view class="v4" wx:else>
- <view class="startdate">
- 计费日期: {{arr[index].ed_startdate}}
- </view>
- <view class="enddate">
- 归还日期: {{arr[index].ed_enddate}}
- </view>
- </view>
- <view class="infoBox">
- <view class="v1">
- <view class="eqimg">
- <image src="{{arr[index].equipmenturl}}" class="qulistimg"></image>
- </view>
- </view>
- <view class="v2">
- <view class="eqname">
- <text class="txteqname">{{arr[index].et_type}}</text>
- </view>
- <view class="eqid">
- <text class="txteqid">设备编号: {{arr[index].ed_emcode}}</text>
- </view>
- <view class="eqdays">
- <text class="texteqdays">租赁押金:</text>
- <text class="money2">¥</text>
- <text class="texteqdays">{{arr[index].eh_mortagage}}</text>
- </view>
- </view>
- <view class="v3">
- <view class="edprice">
- <span class="money">¥</span>
- <span class="txtprice">{{arr[index].ei_rent}}/天</span>
- </view>
- <view class="eqdays2">
- <span class="txteqdays2">租赁天数:{{arr[index].days}}天</span>
- </view>
- </view>
- </view>
- <view class="line"></view>
- <view class="finishtotalprice" wx:if="{{arr[index].eh_status ==4}}">
- <span class="finishtxttotalrental">累计租金:</span>
- <span class="finishtotalrental">
- <span class="money3">¥</span>{{arr[index].totalrent}}</span>
- </view>
- <view class="totalprice" wx:else>
- <view class="txttotalrental">累计租金:</view>
- <view class="totalrental">
- <span class="money3">¥</span>{{arr[index].totalrent}}</view>
- <view class="txttotalmortagage">
- <view class="returneq">
- <view class="eqreturn" style='background-color:{{arr[index].buttoncolor}}' bindtap="{{arr[index].buttonhref}}"
- data-eqid="{{arr[index].ed_emcode}}" data-totalrent="{{arr[index].totalrent}}" data-days="{{arr[index].days}}"
- data-mortagage=" {{arr[index].eh_mortagage}}" data-ehcode=" {{arr[index].ehcode}}">{{arr[index].buttonname}}
- </view>
- </view>
- </view>
- </view>
- </view>
- </block>
- <div class="endbottom"></div>
- </view>
- </view>
|