From 37c344f7b5c767c6a87e08a0c8a9698d8610fbfc Mon Sep 17 00:00:00 2001
From: jyy <935090232@qq.com>
Date: Sat, 16 Jan 2021 18:31:29 +0800
Subject: [PATCH] 1

---
 pages/yuyue/showYyInfo.wxml |   39 ++++++++++++---------------------------
 1 files changed, 12 insertions(+), 27 deletions(-)

diff --git a/pages/yuyue/showYyInfo.wxml b/pages/yuyue/showYyInfo.wxml
index f23f5fe..7f669d8 100644
--- a/pages/yuyue/showYyInfo.wxml
+++ b/pages/yuyue/showYyInfo.wxml
@@ -15,8 +15,8 @@
      <text class="iconfont icondianpu"></text>
      <text >门店地址</text>
    </view>
-   <view class="info">{{shopInfo.shopName}}</view>
-   <view  class="info-s">{{shopInfo.shopAddr}}</view>
+   <view class="info">{{serviceOrder.shopName}}</view>
+   <view  class="info-s">{{serviceOrder.shopAddr}}</view>
  </view>
 
   <view class="itemWrap">
@@ -24,7 +24,7 @@
      <text class="iconfont icondianpu"></text>
      <text >预约到店时间</text>
    </view>
-   <view class="info">{{serviceOrder.yyTime}}</view>
+   <view class="info">{{serviceOrder.time}}</view>
    <view  class="info-s">服务时长约{{serviceOrder.totalTime}}分钟</view>
  </view>
 
@@ -33,37 +33,22 @@
      <text class="iconfont icondianpu"></text>
      <text >服务和技师</text>
    </view>
-   <view wx:for="{{serviceOrder.items}}" >
-   <view class="info">{{item.name}}</view>
+   <view wx:for="{{serviceOrder.projs}}" >
+   <view class="info">{{item.projName}}</view>
    <view  class="info-s">{{item.beautyName}}</view>
   </view>
  </view>
-<form  bindsubmit="submitYuyue" >
-
-<view class="itemWrap" wx:if="{{model==0}}">
+<form  bindsubmit="submitComment" >
    <view class="lable">
      <text class="iconfont icondianpu"></text>
-     <text >到店人</text>
+     <text >服务评价</text>
    </view>
    <view class="forms" >
-       <input placeholder="请输入到店人名称" value="{{serviceOrder.vipName}}"name="vipName" ></input>
-       <input  placeholder="请输入联系电话" value="{{serviceOrder.phone}}" name="tel" ></input>
-       <input placeholder="备注"  value="{{serviceOrder.remark}}" name="remark" ></input>
+      <input wx:if="{{ablePl}}"  placeholder="请对我们的服务进行评价" value="{{comment}}"name="comment" ></input>
+       <view wx:if="{{!ablePl}}"  >{{serviceOrder.comment}}</view>
+       <view wx:if="{{!ablePl && serviceOrder.reply }}"  >商家回复 {{serviceOrder.reply}}</view>
    </view>
- </view>
-
-
-
-
- 
-
-<view bindtap="backKhyuyue" class=" bgbtn "  >
- 返回
-</view>
-
+<view bindtap="backKhyuyue" class=" bgbtn " wx:if="{{!ablePl}}" >返回</view>
+<button  formType="submit"  class=" bgbtn "  wx:if="{{ablePl}}">评论返回</button>
 </form>
-
-
-
-
 </scroll-view>
\ No newline at end of file

--
Gitblit v1.9.1