租房掌柜微信小程序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.
 
 
 
 
 
 

50 lines
2.3 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-card dynamic">
<block wx:for="{{orders}}" wx:for-item="order" wx:for-index="idx">
<view class="cu-item shadow">
<view class="text-content">
{{order.name}}【第{{order.step}}次】
</view>
<view class="grid flex-sub padding-lr col-3 grid-square">
<view class="bg-img" bindtap="preview" data-one="{{idx}}" data-two="{{index}}" wx:for="{{order.picture}}" style="background-image:url({{item}});"></view>
</view>
<view class="text-gray text-sm text-right padding">
<view class="tmargin-lr-xs clean-date">打扫时间:{{order.complete_time}}</view>
<block wx:if="{{order.complete_time}}">
<view bindtap="goCommont" data-id="{{order.id}}" data-idx="{{idx}}"><text class="cuIcon-messagefill margin-lr-xs"></text> 评价</view>
</block>
<block wx:if="{{ order.service_openid && userInfo.openid == order.service_openid}}">
<!-- <view catchtap="goComplete" data-id="{{order.id}}" data-orderno="{{order.order_no}}" class="cu-tag bg-green "> 打扫 </view> -->
</block>
</view>
<view class="cu-list menu-avatar comment solids-top" wx:if="{{order.commont.commont}}">
<view class="cu-item">
<view class="cu-avatar round" style="background-image:url({{order.commont.headimg}});"></view>
<view class="content">
<view class="text-grey">{{order.commont.nickname}}</view>
<view class="text-gray text-content text-df">
{{order.commont.commont}}
</view>
<view class="margin-top-sm flex justify-between">
<view class="text-gray text-df">{{order.commont.commont_time}}</view>
</view>
</view>
</view>
</view>
</view>
</block>
</view>
<view class="cu-bar foot input {{InputBottom!=0?'cur':''}}" wx:if="{{input_focus}}" style="bottom:{{InputBottom}}px">
<input class="solid-bottom" bindfocus="InputFocus" bindblur="InputBlur" adjust-position="{{false}}" focus="{{input_focus}}" value='{{inputCommont}}' bindinput='getInputValue' maxlength="300" cursor-spacing="10"></input>
<button class="cu-btn bg-green shadow" catchtap="submitCommont">发送</button>
</view>