You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
2.3 KiB
55 lines
2.3 KiB
<cu-custom bgColor="bg-blue" isBack="{{true}}">
|
|
<view slot="backText">返回</view>
|
|
<view slot="content">订单中心</view>
|
|
</cu-custom>
|
|
|
|
<view class="cu-bar bg-white solid-bottom margin-top margin-bottom">
|
|
<view class='action'>
|
|
<text class='cuIcon-titles text-orange '></text> 我的订单
|
|
</view>
|
|
</view>
|
|
|
|
<view class="cu-card article">
|
|
<view class="cu-item shadow solid-bottom" wx:for="{{data}}">
|
|
<view class="content">
|
|
<view class="desc">
|
|
<view>
|
|
<view class="light sm fl padding-bottom-sm">【{{item.name}}】于{{item.start_time}}至{{item.end_time}}通过{{item.pay_type}}支付{{item.rent_type}}个月房租合计:{{item.price}}元
|
|
<view style="display:inline-block;" class="text-grey">{{item.detail}}</view>
|
|
</view>
|
|
<button class="cu-btn bg-cyan sm cuIcon-dianhua fl" bindtap="phoneCall" data-phone="{{userInfo.is_manager==1?item.phone:'18205513223'}}">拨打</button>
|
|
<block wx:if="{{item.status == 0}}">
|
|
<button class="cu-btn bg-green sm fr" data-id="{{item.id}}" bindtap="orderOk">通过</button>
|
|
<button class="cu-btn bg-red sm fr margin-right" data-id="{{item.id}}" bindtap="showModal" data-target="DialogModal1">不通过</button>
|
|
</block>
|
|
<view wx:if="{{item.status == 1}}" class="cu-btn line-gray sm fr">已通过</view>
|
|
<view wx:if="{{item.status == 2}}" class="cu-btn line-gray sm fr">审核未通过:{{item.notes}}</view>
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<form bindsubmit="formSubmit" bindreset="formReset">
|
|
<view class="cu-modal {{modalName=='DialogModal1'?'show':''}}">
|
|
<view class="cu-dialog">
|
|
<view class="cu-bar bg-white justify-end">
|
|
<view class="content">订单审核</view>
|
|
<view class="action" bindtap="hideModal">
|
|
<text class="cuIcon-close text-red"></text>
|
|
</view>
|
|
</view>
|
|
<view>
|
|
<view class="cu-form-group align-start">
|
|
<textarea maxlength="200" name="notes"></textarea>
|
|
</view>
|
|
</view>
|
|
<view class="cu-bar bg-white justify-end">
|
|
<view class="action">
|
|
<button class="cu-btn line-green text-green" bindtap="hideModal">取消</button>
|
|
<button class="cu-btn bg-green margin-left" form-type="submit">确定</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</form>
|