租房掌柜微信小程序Api以及小程序前端模板
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.
 
 
 
 
 
 

49 lines
2.2 KiB

<!--pages/member/myclean.wxml-->
<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">
<view class="action">
<text class="cuIcon-title text-orange "></text> 已购买的服务
</view>
</view>
<view class="cu-list menu-avatar">
<view class="cu-item" style="margin-bottom:20rpx;" wx:for="{{orders}}" bindtap="orderView" data-orderno="{{item.order_no}}">
<view class="cu-avatar round lg bg-white" style="background-image:url({{ item.photo ? item.photo : 'https://xunxibaoapi.yaoyz.com/upload/share/yy.png' }});">
<!-- <view class="cu-tag badge">99+</view> -->
</view>
<view class="content">
<view class="text-grey">
<text class="text-cut">{{item.name}} {{item.door_number}}</text>
<!-- <view class="cu-tag round bg-orange sm">战士</view> -->
</view>
<view class="text-gray text-sm flex">
<text class="text-cut">订单时间:{{item.create_time}}</text>
</view>
<view class="text-gray text-sm flex">
<text class="text-cut">{{item.content}} {{item.second}}次</text>
</view>
</view>
<view class="action padding-right-xs" style="width:auto;">
<view class="text-grey text-xs">
<view class="cu-tag bg-red light round" wx:if="{{item.second != item.complete}}">
进度:{{item.complete}}/{{item.second}}</view>
<view class="cu-tag bg-green light round" wx:else>已完成</view>
</view>
<view>
<!--<view catchtap="goComplete" data-orderno="{{item.order_no}}" class="cu-tag bg-green "
wx:if="{{item.second != item.complete && userInfo.openid == item.service_openid}}" > 打扫 </view>-->
<view catchtap="goMap" data-index="{{index}}" class="cu-tag bg-orange " style="margin:0;"
wx:if="{{item.second != item.complete && userInfo.is_clean == 1}}" > 地图导航 </view>
<view bindtap="phoneCall" data-phone="{{item.phone}}" class="cu-tag bg-green " style="margin:0;"
wx:if="{{userInfo.is_clean == 1}}" > 呼叫房东 </view>
</view>
</view>
</view>
</view>