Browse Source

💄 首页-进行中-去掉日期筛选那一整栏

谢创宏 3 years ago
parent
commit
50dab77032
2 changed files with 6 additions and 6 deletions
  1. 1 1
      pages/home/home.wxml
  2. 5 5
      pages/orderDetail/orderDetail.wxml

+ 1 - 1
pages/home/home.wxml

@@ -14,7 +14,7 @@
14
       <view class="item flex-center {{current == 2 ? 'active' : ''}}" bindtap="onTabsChange" data-id="2">已结束</view>
14
       <view class="item flex-center {{current == 2 ? 'active' : ''}}" bindtap="onTabsChange" data-id="2">已结束</view>
15
     </view>
15
     </view>
16
   </view>
16
   </view>
17
-  <view class="change-time border-radius flex-center">
17
+  <view class="change-time border-radius flex-center" wx:if="{{ current != 0 }}">
18
     <picker mode="date" value="{{startDay}}" start="1998-04-20" end="{{endDay}}" bindchange="bindDateChange" data-date="startDay">
18
     <picker mode="date" value="{{startDay}}" start="1998-04-20" end="{{endDay}}" bindchange="bindDateChange" data-date="startDay">
19
       <view class="time flex-align-center" style="margin-right: 50rpx;">
19
       <view class="time flex-align-center" style="margin-right: 50rpx;">
20
         <text>{{startDay}}</text>
20
         <text>{{startDay}}</text>

+ 5 - 5
pages/orderDetail/orderDetail.wxml

@@ -72,27 +72,27 @@
72
       </view>
72
       </view>
73
       <view class="rater-item flex-align-center" style="margin-top: 0;">
73
       <view class="rater-item flex-align-center" style="margin-top: 0;">
74
         <text class="text-01">整体满意度</text>
74
         <text class="text-01">整体满意度</text>
75
-        <wux-rater slot="footer" active-color="#FF77B0" margin="{{ 12 }}" font-size="{{ 18 }}" default-value="{{ detailData.score.score_whole }}" data-index="{{ index }}" bind:change="onChange" />
75
+        <wux-rater slot="footer" disabled active-color="#FF77B0" margin="{{ 12 }}" font-size="{{ 18 }}" default-value="{{ detailData.score.score_whole }}" data-index="{{ index }}" bind:change="onChange" />
76
         <text class="text-02">{{ raterStatus[detailData.score.score_whole] }}</text>
76
         <text class="text-02">{{ raterStatus[detailData.score.score_whole] }}</text>
77
       </view>
77
       </view>
78
       <view class="rater-item flex-align-center" >
78
       <view class="rater-item flex-align-center" >
79
         <text class="text-01">效果认可度</text>
79
         <text class="text-01">效果认可度</text>
80
-        <wux-rater slot="footer" active-color="#FF77B0" margin="{{ 12 }}" font-size="{{ 18 }}" default-value="{{ detailData.score.score_effect }}" data-index="{{ index }}" bind:change="onChange" />
80
+        <wux-rater slot="footer" disabled active-color="#FF77B0" margin="{{ 12 }}" font-size="{{ 18 }}" default-value="{{ detailData.score.score_effect }}" data-index="{{ index }}" bind:change="onChange" />
81
         <text class="text-02">{{ raterStatus[detailData.score.score_effect] }}</text>
81
         <text class="text-02">{{ raterStatus[detailData.score.score_effect] }}</text>
82
       </view>
82
       </view>
83
       <view class="rater-item flex-align-center" >
83
       <view class="rater-item flex-align-center" >
84
         <text class="text-01">价格接受度</text>
84
         <text class="text-01">价格接受度</text>
85
-        <wux-rater slot="footer" active-color="#FF77B0" margin="{{ 12 }}" font-size="{{ 18 }}" default-value="{{ detailData.score.score_price }}" data-index="{{ index }}" bind:change="onChange" />
85
+        <wux-rater slot="footer" disabled active-color="#FF77B0" margin="{{ 12 }}" font-size="{{ 18 }}" default-value="{{ detailData.score.score_price }}" data-index="{{ index }}" bind:change="onChange" />
86
         <text class="text-02">{{ raterStatus[detailData.score.score_price] }}</text>
86
         <text class="text-02">{{ raterStatus[detailData.score.score_price] }}</text>
87
       </view>
87
       </view>
88
       <view class="rater-item flex-align-center" >
88
       <view class="rater-item flex-align-center" >
89
         <text class="text-01">类别满意度</text>
89
         <text class="text-01">类别满意度</text>
90
-        <wux-rater slot="footer" active-color="#FF77B0" margin="{{ 12 }}" font-size="{{ 18 }}" default-value="{{ detailData.score.score_kind }}" data-index="{{ index }}" bind:change="onChange" />
90
+        <wux-rater slot="footer" disabled active-color="#FF77B0" margin="{{ 12 }}" font-size="{{ 18 }}" default-value="{{ detailData.score.score_kind }}" data-index="{{ index }}" bind:change="onChange" />
91
         <text class="text-02">{{ raterStatus[detailData.score.score_kind] }}</text>
91
         <text class="text-02">{{ raterStatus[detailData.score.score_kind] }}</text>
92
       </view>
92
       </view>
93
       <view class="rater-item flex-align-center" >
93
       <view class="rater-item flex-align-center" >
94
         <text class="text-01">安全认可度</text>
94
         <text class="text-01">安全认可度</text>
95
-        <wux-rater slot="footer" active-color="#FF77B0" margin="{{ 12 }}" font-size="{{ 18 }}" default-value="{{detailData.score.score_safe}}" data-index="{{ index }}" bind:change="onChange" />
95
+        <wux-rater slot="footer" disabled active-color="#FF77B0" margin="{{ 12 }}" font-size="{{ 18 }}" default-value="{{detailData.score.score_safe}}" data-index="{{ index }}" bind:change="onChange" />
96
         <text class="text-02">{{ raterStatus[detailData.score.score_safe] }}</text>
96
         <text class="text-02">{{ raterStatus[detailData.score.score_safe] }}</text>
97
       </view>
97
       </view>
98
       
98