File tree 5 files changed +525
-527
lines changed
5 files changed +525
-527
lines changed Original file line number Diff line number Diff line change 29
29
</h5 >
30
30
<h5 class =" fee_distance" >
31
31
<p class =" fee" >
32
- ¥{{item.float_minimum_order_amount}}起送
32
+ ¥{{item.float_minimum_order_amount}}起送
33
33
<span class =" segmentation" >/</span >
34
34
{{item.piecewise_agent_fee.tips}}
35
35
</p >
@@ -123,7 +123,7 @@ export default {
123
123
}
124
124
// 防止重复请求
125
125
if (this .preventRepeatReuqest ) {
126
- return
126
+ return
127
127
}
128
128
this .showLoading = true ;
129
129
this .preventRepeatReuqest = true ;
@@ -183,7 +183,6 @@ export default {
183
183
// 监听父级的确认按钮是否被点击,并且返回一个自定义事件通知父级,已经接收到数据,此时父级才可以清除已选状态
184
184
confirmSelect : function (value ){
185
185
this .listenPropChange ();
186
- this .$emit (' DidConfrim' );
187
186
}
188
187
}
189
188
}
@@ -337,4 +336,4 @@ export default {
337
336
.loading-enter , .loading-leave-active {
338
337
opacity : 0
339
338
}
340
- </style >
339
+ </style >
Original file line number Diff line number Diff line change 166
166
<div class =" back_cover" v-show =" sortBy" ></div >
167
167
</transition >
168
168
<section class =" shop_list_container" >
169
- <shop-list :geohash =" geohash" :restaurantCategoryId =" restaurant_category_id" :restaurantCategoryIds =" restaurant_category_ids" :sortByType =' sortByType' :deliveryMode =" delivery_mode" :confirmSelect =" confirmStatus" :supportIds =" support_ids" v-if =" latitude" @DidConfrim = " clearAll " ></shop-list >
169
+ <shop-list :geohash =" geohash" :restaurantCategoryId =" restaurant_category_id" :restaurantCategoryIds =" restaurant_category_ids" :sortByType =' sortByType' :deliveryMode =" delivery_mode" :confirmSelect =" confirmStatus" :supportIds =" support_ids" v-if =" latitude" ></shop-list >
170
170
</section >
171
171
</div >
172
172
</template >
@@ -325,12 +325,6 @@ export default {
325
325
}
326
326
})
327
327
},
328
- // 点击取消或者确认时,需要清空当前已选的状态值
329
- clearAll (){
330
- this .delivery_mode = null ;
331
- // this.support_ids.map(item => item.status = false);
332
- // this.filterNum = 0;
333
- },
334
328
// 只有点击清空按钮才清空数据,否则一直保持原有状态
335
329
clearSelect (){
336
330
this .support_ids .map (item => item .status = false );
Original file line number Diff line number Diff line change 39
39
40
40
},
41
41
mounted (){
42
-
42
+
43
43
},
44
44
computed: {
45
45
... mapState ([
56
56
this .earn = false ;
57
57
this .bordercolor = true ;
58
58
this .opacityall = false ;
59
+ return false ;
59
60
}else {
60
61
this .earn = true ;
61
62
this .bordercolor = false ;
62
63
this .opacityall = true ;
64
+ return true ;
63
65
}
64
66
},
65
67
resetName (){
68
+ let checkResult = this .inputThing ();
69
+ if (! checkResult) {
70
+ return ;
71
+ }
66
72
this .RETSET_NAME (this .inputValue );
67
73
this .$router .go (- 1 );
68
74
}
69
75
}
70
76
}
71
77
</script >
72
-
78
+
73
79
<style lang="scss" scoped>
74
80
@import ' src/style/mixin' ;
75
-
81
+
76
82
.rating_page {
77
83
position : absolute ;
78
84
top : 0 ;
You can’t perform that action at this time.
0 commit comments