|
|
- <!--pagesA/orderList/orderList.wxml-->
- <view class="loglist">
- <van-tabs active="{{ active }}" color="#419AFE" sticky bind:change="onChange">
- <van-tab title="待支付">
- <view wx:for="{{orderLogList}}" wx:key="locklogList" class="box" style="margin-bottom: 10px;">
- <van-cell-group>
- <van-cell title="租客:" value="{{item.cardName}}" />
- <van-cell title="电话:" value="{{item.phone}}" />
- <van-cell title="租金:" value="{{item.siteFee}}" />
- <van-cell title="水费:" value="{{item.waterFee}}" />
- <van-cell title="电费:" value="{{item.electricityFee}}" />
- <van-cell title="总金额:" value="{{item.totalFee}}" />
- <van-cell title="创建时间:" value="{{item.createTime}}" />
- <van-cell title="操作:">
- <van-button slot="right-icon" type="primary" round size="mini" bindtap="rentMethods" data-item="{{item}}">去支付</van-button>
- </van-cell>
- </van-cell-group>
- </view>
- </van-tab>
- <van-tab title="已支付">
- <view wx:for="{{orderLogList}}" wx:key="locklogListOne" class="box" style="margin-bottom: 10px;">
- <van-cell-group>
- <van-cell title="租客:" value="{{item.cardName}}" />
- <van-cell title="电话:" value="{{item.phone}}" />
- <van-cell title="租金:" value="{{item.siteFee}}" />
- <van-cell title="水费:" value="{{item.waterFee}}" />
- <van-cell title="电费:" value="{{item.electricityFee}}" />
- <van-cell title="总金额:" value="{{item.totalFee}}" />
- <van-cell title="创建时间:" value="{{item.createTime}}" />
- </van-cell-group>
- </view>
- </van-tab>
- <van-tab title="未支付">
- <view wx:for="{{orderLogList}}" wx:key="locklogListTwo" class="box" style="margin-bottom: 10px;">
- <van-cell-group>
- <van-cell title="租客:" value="{{item.cardName}}" />
- <van-cell title="电话:" value="{{item.phone}}" />
- <van-cell title="租金:" value="{{item.siteFee}}" />
- <van-cell title="水费:" value="{{item.waterFee}}" />
- <van-cell title="电费:" value="{{item.electricityFee}}" />
- <van-cell title="总金额:" value="{{item.totalFee}}" />
- <van-cell title="创建时间:" value="{{item.createTime}}" />
- </van-cell-group>
- </view>
- </van-tab>
- </van-tabs>
- </view>
-
- <van-dialog
- use-slot
- title="支付方式"
- show="{{ show }}"
- show-cancel-button
- bind:close="onClose"
- bind:confirm="confirmMethods"
- >
- <van-radio-group value="{{ radio }}" bind:change="onChangeRadio" class="groupRadio">
- <van-radio name="2" class="radioView">现金</van-radio>
- <van-radio name="3" class="radioView">刷卡</van-radio>
- <van-radio name="0" class="radioView">微信支付</van-radio>
- </van-radio-group>
- </van-dialog>
|