File tree 5 files changed +516
-524
lines changed 5 files changed +516
-524
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 );
File renamed without changes.
You can’t perform that action at this time.
0 commit comments