jufubao-food 1.0.12-beta5 → 1.0.12-beta7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/JfbFoodConfirmV2/Api.js +13 -5
- package/src/components/JfbFoodConfirmV2/JfbFoodConfirmV2.vue +38 -38
- package/src/components/JfbFoodConfirmV2/orderMixin.js +2 -2
- package/src/components/JfbFoodProductInfo/Attr.js +13 -1
- package/src/components/JfbFoodProductInfo/JfbFoodProductInfo.vue +10 -2
- package/src/components/JfbFoodProductList/JfbFoodProductList.vue +111 -15
- package/src/components/JfbFoodProductList/Mock.js +3 -3
- package/src/components/JfbFoodProductList/cusAttr/content.js +9 -0
- package/src/components/JfbFoodProductList/cusAttr/style.js +169 -1
package/package.json
CHANGED
|
@@ -105,13 +105,21 @@ module.exports = [
|
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
mapFnName: 'createFoodOrder',
|
|
108
|
-
title: '创建订单',
|
|
109
|
-
path: '/
|
|
108
|
+
title: '餐饮 - 创建订单',
|
|
109
|
+
path: '/mall/v1/order/pre/submit',
|
|
110
110
|
isRule: false,
|
|
111
111
|
data: {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
pay_card_list: [
|
|
113
|
+
'被操作的卡券的卡号',
|
|
114
|
+
`[
|
|
115
|
+
{card_number:123,card_point:100,card_price:200},
|
|
116
|
+
{card_number:234,card_point:100,card_price:200,card_password:abc},
|
|
117
|
+
{card_number:456,card_point:100,card_price:200,qrcode:aaa}]`,
|
|
118
|
+
'必选',
|
|
119
|
+
],
|
|
120
|
+
total_price: ['总金额', 'Number', '必选'],
|
|
121
|
+
main_order_id: ['main_order_id', 'number', '必选'],
|
|
122
|
+
notify_provider_id: ['notify_provider_id', 'String', '可选']
|
|
115
123
|
},
|
|
116
124
|
isConsole: true,
|
|
117
125
|
disabled: true,
|
|
@@ -93,15 +93,9 @@
|
|
|
93
93
|
<xd-list-item label="商品价格" paddingLR="60rpx" size="small">
|
|
94
94
|
<xd-unit :price="orderInfo.product_total_amount" :isOld="false" :fontSize="24" :iconSize="0.3"></xd-unit>
|
|
95
95
|
</xd-list-item>
|
|
96
|
-
<!-- <xd-list-item label="商品运费" paddingLR="60rpx" size="small">
|
|
97
|
-
<xd-unit :price="orderFee.user_logistics_amount_origin" :isOld="false" :fontSize="24" :iconSize="0.3"></xd-unit>
|
|
98
|
-
</xd-list-item> -->
|
|
99
96
|
</view>
|
|
100
97
|
|
|
101
98
|
<view class="section">
|
|
102
|
-
<!-- <xd-list-item label="运费减免" :showBottom="!!showPayMethods.length" paddingLR="60rpx" size="small">
|
|
103
|
-
<xd-unit :largeZero="false" :price="-orderFee.user_logistics_discount_amount" :isOld="false" :fontSize="24" :iconSize="0.3"></xd-unit>
|
|
104
|
-
</xd-list-item> -->
|
|
105
99
|
<template v-for="item in otherPayMethod">
|
|
106
100
|
<xd-list-item v-if="item.method === 'card'" :key="item.method" :label="item.show_name" paddingLR="60rpx" size="small" :showRight="!(choseCoupon && choseCoupon.cardPayPrice)" @click="toChoseCard">
|
|
107
101
|
<view slot="label">{{item.show_name}} <text v-if="choseCard && choseCard.cardPayPrice" style="color:red;margin-left: 4px;">(已选{{ choseCard.selectedCardList.length }}张)</text></view>
|
|
@@ -157,7 +151,7 @@
|
|
|
157
151
|
height: bottomBtnHeight + 'rpx',
|
|
158
152
|
lineHeight: bottomBtnHeight + 'rpx',
|
|
159
153
|
}"
|
|
160
|
-
@click="
|
|
154
|
+
@click="handleCardPay"
|
|
161
155
|
>{{bottomPayText}}</xd-button>
|
|
162
156
|
</view>
|
|
163
157
|
</view>
|
|
@@ -219,7 +213,7 @@
|
|
|
219
213
|
</view>
|
|
220
214
|
<view slot="btn" style="display: flex;margin-top: 40rpx;">
|
|
221
215
|
<xd-button type="info" size="small" @click="handleChangeStop">更换门店</xd-button>
|
|
222
|
-
<xd-button type="primary" size="small" style="margin-left: 40rpx;" @click="
|
|
216
|
+
<xd-button type="primary" size="small" style="margin-left: 40rpx;" @click="handleCreatePayConfirm">就是这家</xd-button>
|
|
223
217
|
</view>
|
|
224
218
|
</XdDailog>
|
|
225
219
|
|
|
@@ -278,11 +272,10 @@
|
|
|
278
272
|
order_id: "", //订单ID
|
|
279
273
|
comment: "", //订单备注
|
|
280
274
|
buyer_phone_number: "", //订购人手机号
|
|
281
|
-
meal_method: "
|
|
275
|
+
meal_method: "", //订餐方式
|
|
282
276
|
productList: [],
|
|
283
277
|
orderInfo: {},
|
|
284
278
|
shopInfo: {},
|
|
285
|
-
orderFee: {},
|
|
286
279
|
otherPayMethod: [],
|
|
287
280
|
otherPayLoaded: false,
|
|
288
281
|
is_can_buy: "Y",
|
|
@@ -290,6 +283,7 @@
|
|
|
290
283
|
vipCardList: [],
|
|
291
284
|
vip_card_id: "",
|
|
292
285
|
plus_saving_money: 0,
|
|
286
|
+
main_order_id: "",
|
|
293
287
|
|
|
294
288
|
showDialogConfirmShop: false,
|
|
295
289
|
showDialogChangeShop: false,
|
|
@@ -481,7 +475,9 @@
|
|
|
481
475
|
is_show_price: this.showPrice,
|
|
482
476
|
latitude: this.stateLocation.latitude,
|
|
483
477
|
longitude: this.stateLocation.longitude,
|
|
484
|
-
|
|
478
|
+
card_id: this.vip_card_id,
|
|
479
|
+
meal_method: this.meal_method,
|
|
480
|
+
main_order_id: this.main_order_id
|
|
485
481
|
}
|
|
486
482
|
}).then(res => {
|
|
487
483
|
this.$xdHideLoading();
|
|
@@ -493,39 +489,32 @@
|
|
|
493
489
|
},150)
|
|
494
490
|
},
|
|
495
491
|
handlerConfirmRes(res){
|
|
496
|
-
this.is_first_use_card = res.is_first_use_card || "Y";
|
|
497
|
-
this.is_use_jfb_pay = res.is_use_jfb_pay || "Y";
|
|
492
|
+
// this.is_first_use_card = res.is_first_use_card || "Y";
|
|
493
|
+
// this.is_use_jfb_pay = res.is_use_jfb_pay || "Y";
|
|
498
494
|
this.is_show_vip_card_list = res.is_show_vip_card_list;
|
|
499
495
|
|
|
496
|
+
// this.is_can_buy = res.is_can_buy;
|
|
497
|
+
let priceChange = this.orderInfo.real_total_amount && this.orderInfo.real_total_amount != res.order_info.real_total_amount;
|
|
498
|
+
|
|
500
499
|
this.productList = res.product_infos;
|
|
501
500
|
this.orderInfo = res.order_info;
|
|
502
501
|
this.shopInfo = res.shop_info;
|
|
502
|
+
let mealMethods = res.shop_info.meal_method;
|
|
503
|
+
if(!this.meal_method && mealMethods.length){
|
|
504
|
+
this.meal_method = mealMethods[0].value;
|
|
505
|
+
}
|
|
506
|
+
this.plus_saving_money = res.plus_saving_money || 0;
|
|
507
|
+
this.main_order_id = res.order_info.main_order_id
|
|
503
508
|
|
|
504
|
-
// this.is_can_buy = res.is_can_buy;
|
|
505
|
-
// this.gift_pay_method = res.gift_pay_method;
|
|
506
|
-
// this.show_receive_address = res.show_receive_address;
|
|
507
|
-
// this.show_pick_up_address = res.show_pick_up_address;
|
|
508
|
-
// this.main_show_delivery_price = res.main_show_delivery_price;
|
|
509
|
-
// let priceChange = this.orderFee.total_amount && this.orderFee.total_amount != res.total_amount;
|
|
510
|
-
|
|
511
|
-
// this.orderFee = {
|
|
512
|
-
// logistics_amount: res.logistics_amount,
|
|
513
|
-
// total_amount: res.total_amount,
|
|
514
|
-
// user_logistics_discount_amount: res.user_logistics_discount_amount,
|
|
515
|
-
// user_logistics_amount_origin: res.user_logistics_amount_origin,
|
|
516
|
-
// product_amount: res.product_amount,
|
|
517
|
-
// plus_saving_money: res.plus_saving_money,
|
|
518
|
-
// origin_amount: res.origin_amount,
|
|
519
|
-
// }
|
|
520
509
|
//支付方式跟用户相关,与订单无关。
|
|
521
510
|
//只获取一次。
|
|
522
511
|
if(!this.otherPayLoaded){
|
|
523
512
|
this.p_getPayMethod(res.support_payment_methods);
|
|
524
513
|
}
|
|
525
514
|
//确认订单价格改变,清空选择
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
515
|
+
if(priceChange){
|
|
516
|
+
this.clearCheckedWhenPriceChange();
|
|
517
|
+
}
|
|
529
518
|
if(res.vip_card_item){
|
|
530
519
|
if(res.vip_card_item.is_can_buy === 'Y'){
|
|
531
520
|
this.vip_card_id = res.vip_card_item.vip_card_id;
|
|
@@ -551,6 +540,7 @@
|
|
|
551
540
|
},
|
|
552
541
|
handleSelectMeal(method){
|
|
553
542
|
this.meal_method = method;
|
|
543
|
+
this.p_getCartConfirm();
|
|
554
544
|
},
|
|
555
545
|
//确认订单价格改变,清空选择
|
|
556
546
|
clearCheckedWhenPriceChange(){
|
|
@@ -609,17 +599,13 @@
|
|
|
609
599
|
handleSwitchShop(){
|
|
610
600
|
this.showDialogChangeShop = false;
|
|
611
601
|
this.$xdUniHelper.navigateTo({
|
|
612
|
-
url: this.switchStorePath
|
|
602
|
+
url: this.switchStorePath + '?brand_id=' + this.shopInfo.brand_id,
|
|
613
603
|
})
|
|
614
604
|
},
|
|
615
605
|
handleChangeStop(){
|
|
616
606
|
this.showDialogChangeShop = true;
|
|
617
607
|
this.showDialogConfirmShop = false;
|
|
618
608
|
},
|
|
619
|
-
handlePayConfirm(){
|
|
620
|
-
if(!this.getCreateOrderParams()) return false;
|
|
621
|
-
this.showDialogConfirmShop = true;
|
|
622
|
-
},
|
|
623
609
|
async handleCardPay(){
|
|
624
610
|
if(!this.getCreateOrderParams()) return false;
|
|
625
611
|
this.checkUseNewPay();
|
|
@@ -660,12 +646,26 @@
|
|
|
660
646
|
}
|
|
661
647
|
}
|
|
662
648
|
}
|
|
649
|
+
this.showDialogConfirmShop = true;
|
|
650
|
+
// this.useTickAndWalletPay(selected_card_list, selected_wallet_list);
|
|
651
|
+
},
|
|
652
|
+
//去创建订单
|
|
653
|
+
handleCreatePayConfirm(){
|
|
654
|
+
//已选卡
|
|
655
|
+
let selected_card_list = []
|
|
656
|
+
if(this.choseCard) {
|
|
657
|
+
selected_card_list = this.choseCard ? this.choseCard.selectedCardList : [];
|
|
658
|
+
} else if(this.choseCoupon) {
|
|
659
|
+
selected_card_list = this.choseCoupon ? this.choseCoupon.selectedCardList : [];
|
|
660
|
+
}
|
|
661
|
+
let selected_wallet_list = this.choseWallet ? this.choseWallet.selectedWalletList : []
|
|
663
662
|
this.useTickAndWalletPay(selected_card_list, selected_wallet_list);
|
|
664
663
|
},
|
|
664
|
+
|
|
665
665
|
//使用钱包跟票券一同支付
|
|
666
666
|
useTickAndWalletPay(selected_card_list, selected_wallet_list){
|
|
667
667
|
this.createSettleOrder({
|
|
668
|
-
total_price: this.
|
|
668
|
+
total_price: this.orderInfo.real_total_amount,
|
|
669
669
|
selected_card_list_json: JSON.stringify(selected_card_list),
|
|
670
670
|
selected_wallet_list_json: JSON.stringify(selected_wallet_list),
|
|
671
671
|
need_pay_price: this.orderNeedPayPrice,
|
|
@@ -192,11 +192,11 @@ export default {
|
|
|
192
192
|
...options,
|
|
193
193
|
...other,
|
|
194
194
|
namespace: this.xnamespace,
|
|
195
|
-
|
|
195
|
+
main_order_id: this.main_order_id,
|
|
196
196
|
notify_provider_id: this.projectAttr['notify_provider_id'],
|
|
197
197
|
}
|
|
198
198
|
}).then(async res => {
|
|
199
|
-
successCb({...res, order_id: res.
|
|
199
|
+
successCb({...res, order_id: res.order_id })
|
|
200
200
|
// setTimeout(() => {
|
|
201
201
|
// this.p_getOrderInfo(res, (res1) => {
|
|
202
202
|
// successCb(res1)
|
|
@@ -7,7 +7,19 @@ export default {
|
|
|
7
7
|
style: [],
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
|
-
|
|
10
|
+
{
|
|
11
|
+
label: '商品列表页',
|
|
12
|
+
ele: 'xd-select-pages-path',
|
|
13
|
+
valueKey: 'foodProductListPath',
|
|
14
|
+
placeholder: '请选择商品列表页跳转地址',
|
|
15
|
+
value: data.foodProductListPath || null,
|
|
16
|
+
labelInline: true,
|
|
17
|
+
setting: {
|
|
18
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
19
|
+
},
|
|
20
|
+
groupKey:'advanced',
|
|
21
|
+
className: 'input100',
|
|
22
|
+
},
|
|
11
23
|
].filter(i=>i)
|
|
12
24
|
},
|
|
13
25
|
advanced: [],
|
|
@@ -132,6 +132,7 @@
|
|
|
132
132
|
bottomBtnFill: "",
|
|
133
133
|
bottomPadding: {},
|
|
134
134
|
bottomBtnOrder: "",
|
|
135
|
+
foodProductListPath: "",
|
|
135
136
|
}
|
|
136
137
|
},
|
|
137
138
|
computed: {
|
|
@@ -206,6 +207,7 @@
|
|
|
206
207
|
* @param container {object} 业务组件对象自己
|
|
207
208
|
*/
|
|
208
209
|
init(container) {
|
|
210
|
+
this.foodProductListPath = getContainerPropsValue(container, 'content.foodProductListPath', {value: ""}).value;
|
|
209
211
|
this.shopBtnBgColor = gCPVal(container, 'shopBtnBgColor', this.mainColor, {sKey:'cartBtnStatus',fields:['shopBtnBgColor']});
|
|
210
212
|
},
|
|
211
213
|
handleSkuChange(sku){
|
|
@@ -267,7 +269,14 @@
|
|
|
267
269
|
}
|
|
268
270
|
}
|
|
269
271
|
}).then(res => {
|
|
270
|
-
|
|
272
|
+
//判断是否有上一页,如果有则返回上一页
|
|
273
|
+
if(getCurrentPages().length > 1){
|
|
274
|
+
this.$xdUniHelper.navigateBack();
|
|
275
|
+
}else{
|
|
276
|
+
this.$xdUniHelper.redirectTo({
|
|
277
|
+
url: this.foodProductListPath + `?resource_shop_id=${this.baseInfo.resource_shop_id}`,
|
|
278
|
+
})
|
|
279
|
+
}
|
|
271
280
|
})
|
|
272
281
|
},
|
|
273
282
|
animationfinish(e) {
|
|
@@ -298,7 +307,6 @@
|
|
|
298
307
|
},
|
|
299
308
|
onJfbBack(options) {
|
|
300
309
|
if(this.$configProject["isPreview"]) return;
|
|
301
|
-
this.$xdUniHelper.navigateBack();
|
|
302
310
|
},
|
|
303
311
|
onJfbUpdate(...data) {
|
|
304
312
|
console.log('event.onJfbUpdate', data)
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<view class="shop_info" :style="{top: layoutInfo.top+'rpx'}" @click="handleSwitchShop">
|
|
20
20
|
<view class="flex-center">
|
|
21
21
|
<xd-font-icon icon="icona-Buy2" size="36" style="margin-right: 8rpx;"></xd-font-icon>
|
|
22
|
-
{{ shopInfo.shop_name }}
|
|
22
|
+
<view class="shop_name">{{ shopInfo.shop_name }}</view><text style="margin:0 20rpx;">|</text> <text class="_distance">{{ shopInfo.distance }}</text>
|
|
23
23
|
</view>
|
|
24
24
|
<view>
|
|
25
25
|
<xd-font-icon icon="iconxiangyou_xian" color="#666666" size="28"></xd-font-icon>
|
|
@@ -55,7 +55,29 @@
|
|
|
55
55
|
<view class="group_title">{{ cate.category_name }}</view>
|
|
56
56
|
<view class="product_list" v-if="cate.productList.length">
|
|
57
57
|
<view v-for="item in cate.productList" :key="item.key" :style="[contProductStyles]">
|
|
58
|
-
<
|
|
58
|
+
<view class="product_item">
|
|
59
|
+
<view class="prod_img">
|
|
60
|
+
<image :src="item.thumb"/>
|
|
61
|
+
</view>
|
|
62
|
+
<view class="prod_info">
|
|
63
|
+
<view class="prod_tit"
|
|
64
|
+
:class="{
|
|
65
|
+
prod_tit_one:item.product_sku_name
|
|
66
|
+
}">{{item.product_name}}</view>
|
|
67
|
+
<!-- <view class="prod_brand" :style="{color:brandTextColor}" v-if="prod.brand_name">{{prod.brand_name}}</view> -->
|
|
68
|
+
<view class="prod_specs" v-if="item.sub_name">{{item.sub_name}}</view>
|
|
69
|
+
<view class="prod_price">
|
|
70
|
+
<view style="display:flex;align-items:center">
|
|
71
|
+
<CusPrice :isPlus="is_plus_site" type="order" :showPrice="item.show_prices"></CusPrice>
|
|
72
|
+
</view>
|
|
73
|
+
<view style="font-size: 28rpx;color:#999" @click="toProductDetail(item)">
|
|
74
|
+
<view v-if="item.has_choose" class="chose_spu">选规格</view>
|
|
75
|
+
<xd-font-icon v-else icon="iconaddcart" :color="mainColor" size="46"></xd-font-icon>
|
|
76
|
+
</view>
|
|
77
|
+
</view>
|
|
78
|
+
</view>
|
|
79
|
+
</view>
|
|
80
|
+
<!-- <cus-product
|
|
59
81
|
:image-radius="imageRadius"
|
|
60
82
|
:brand-color="brandColor"
|
|
61
83
|
:height="200"
|
|
@@ -67,7 +89,7 @@
|
|
|
67
89
|
:row-spacing="rowSpacing"
|
|
68
90
|
:cell-spacing="itemSpacing"
|
|
69
91
|
@on-product-detail="toProductDetail"
|
|
70
|
-
></cus-product>
|
|
92
|
+
></cus-product> -->
|
|
71
93
|
</view>
|
|
72
94
|
</view>
|
|
73
95
|
<view class="product_list" v-else>
|
|
@@ -91,7 +113,7 @@
|
|
|
91
113
|
<xd-unit :price="cartPrice" :isOld="false"></xd-unit>
|
|
92
114
|
</view>
|
|
93
115
|
<view>
|
|
94
|
-
<xd-button width="200rpx" size="small" type="primary" @click="handleSubmitCart">选好了</xd-button>
|
|
116
|
+
<xd-button width="200rpx" size="small" type="primary" :disabled="!cartProductList.length" @click="handleSubmitCart">选好了</xd-button>
|
|
95
117
|
</view>
|
|
96
118
|
</view>
|
|
97
119
|
<view class="cart_product_modal" v-if="cartProductShow">
|
|
@@ -168,6 +190,7 @@
|
|
|
168
190
|
],
|
|
169
191
|
data() {
|
|
170
192
|
return {
|
|
193
|
+
closeMask: true,
|
|
171
194
|
resource_shop_id: "",
|
|
172
195
|
xnamespace: "",
|
|
173
196
|
consume_mode: "",
|
|
@@ -197,7 +220,7 @@
|
|
|
197
220
|
//商品列表
|
|
198
221
|
column_num: 1,
|
|
199
222
|
skeNumber:10,
|
|
200
|
-
rowSpacing:
|
|
223
|
+
rowSpacing: 16,
|
|
201
224
|
columnSpacing:20,
|
|
202
225
|
listPadding:{},
|
|
203
226
|
productConfig:{},
|
|
@@ -226,7 +249,7 @@
|
|
|
226
249
|
return {
|
|
227
250
|
backgroundColor: this.itemBgcColor,
|
|
228
251
|
marginBottom: this.rowSpacing + 'rpx',
|
|
229
|
-
padding: '
|
|
252
|
+
padding: '16rpx',
|
|
230
253
|
borderRadius: '16rpx',
|
|
231
254
|
}
|
|
232
255
|
},
|
|
@@ -272,7 +295,8 @@
|
|
|
272
295
|
this.foodDetailPath = getContainerPropsValue(container, 'content.foodDetailPath', {value: "/Smallline/food/pinfo"}).value;
|
|
273
296
|
this.confirmPath = getContainerPropsValue(container, 'content.confirmPath', {value: "/Smallline/food/confirmv2"}).value;
|
|
274
297
|
this.switchStorePath = getContainerPropsValue(container, 'content.switchStorePath', { value: ''}).value;
|
|
275
|
-
this.productConfig = this.getProductConfig(container);
|
|
298
|
+
// this.productConfig = this.getProductConfig(container);
|
|
299
|
+
this.productConfig = this.getProductConfig(container,{cartStyle:'iconaddcart'});
|
|
276
300
|
},
|
|
277
301
|
handleCartNumChange(val, prod){
|
|
278
302
|
console.log("handleCartNumChange", val, prod)
|
|
@@ -304,7 +328,7 @@
|
|
|
304
328
|
},
|
|
305
329
|
handleSwitchShop(){
|
|
306
330
|
this.$xdUniHelper.navigateTo({
|
|
307
|
-
url: this.switchStorePath,
|
|
331
|
+
url: this.switchStorePath + "?brand_id=" + this.shopInfo.brand_id,
|
|
308
332
|
})
|
|
309
333
|
},
|
|
310
334
|
p_getFoodShopDetail(){
|
|
@@ -560,7 +584,8 @@
|
|
|
560
584
|
}
|
|
561
585
|
}
|
|
562
586
|
}).then(res => {
|
|
563
|
-
|
|
587
|
+
this.p_getFoodCartList();
|
|
588
|
+
this.p_getFoodCartCount();
|
|
564
589
|
})
|
|
565
590
|
},
|
|
566
591
|
//获取购物车列表
|
|
@@ -578,6 +603,7 @@
|
|
|
578
603
|
})
|
|
579
604
|
},
|
|
580
605
|
handleSubmitCart(){
|
|
606
|
+
if(this.cartProductList.length === 0) return;
|
|
581
607
|
jfbRootExec("submitFoodCart", {
|
|
582
608
|
vm: this,
|
|
583
609
|
data: {
|
|
@@ -649,17 +675,24 @@
|
|
|
649
675
|
font-size: 24rpx;
|
|
650
676
|
color: #666666;
|
|
651
677
|
}
|
|
678
|
+
.shop_name{
|
|
679
|
+
white-space: nowrap;
|
|
680
|
+
overflow: hidden;
|
|
681
|
+
text-overflow: ellipsis;
|
|
682
|
+
max-width: 460rpx;
|
|
683
|
+
flex: 1;
|
|
684
|
+
}
|
|
652
685
|
}
|
|
653
686
|
.section_main{
|
|
654
687
|
display: flex;
|
|
655
|
-
padding-top:
|
|
688
|
+
padding-top: 16rpx;
|
|
656
689
|
box-sizing: border-box;
|
|
657
690
|
.left_nav{
|
|
658
691
|
width: 160rpx;
|
|
659
692
|
background-color: #FFFFFF;
|
|
660
693
|
font-size: 24rpx;
|
|
661
694
|
border-radius: 16rpx;
|
|
662
|
-
margin-left:
|
|
695
|
+
margin-left: 16rpx;
|
|
663
696
|
.nav_item{
|
|
664
697
|
padding: 24rpx;
|
|
665
698
|
text-align: center;
|
|
@@ -693,13 +726,13 @@
|
|
|
693
726
|
}
|
|
694
727
|
.right_product{
|
|
695
728
|
flex: 1;
|
|
696
|
-
margin: 0
|
|
729
|
+
margin: 0 16rpx;
|
|
697
730
|
|
|
698
731
|
.product_group{
|
|
699
732
|
.group_title{
|
|
700
733
|
font-size: 24rpx;
|
|
701
734
|
background-color: #FFFFFF;
|
|
702
|
-
margin-bottom:
|
|
735
|
+
margin-bottom: 16rpx;
|
|
703
736
|
height: 64rpx;
|
|
704
737
|
line-height: 64rpx;
|
|
705
738
|
text-align: center;
|
|
@@ -714,6 +747,68 @@
|
|
|
714
747
|
color: #999999;
|
|
715
748
|
min-height: 200px;
|
|
716
749
|
}
|
|
750
|
+
.product_item{
|
|
751
|
+
box-sizing: border-box;
|
|
752
|
+
height: auto;
|
|
753
|
+
background: #FFFFFF;
|
|
754
|
+
display: flex;
|
|
755
|
+
|
|
756
|
+
.chose_spu{
|
|
757
|
+
padding: 12rpx 16rpx;
|
|
758
|
+
background-color: var(--main-color);
|
|
759
|
+
color: #FFFFFF;
|
|
760
|
+
font-size: 24rpx;
|
|
761
|
+
border-radius: 40rpx;
|
|
762
|
+
box-sizing: border-box;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.prod_img{
|
|
766
|
+
width: 200rpx;
|
|
767
|
+
height: 200rpx;
|
|
768
|
+
margin-right: 32rpx;
|
|
769
|
+
// background: #f8f8f8;
|
|
770
|
+
// border-radius: 16rpx;
|
|
771
|
+
image{
|
|
772
|
+
width: 100%;
|
|
773
|
+
height: 100%;
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
.prod_info{
|
|
777
|
+
flex: 1;
|
|
778
|
+
display: flex;
|
|
779
|
+
flex-direction: column;
|
|
780
|
+
justify-content: space-between;
|
|
781
|
+
width: 100rpx;
|
|
782
|
+
}
|
|
783
|
+
.prod_tit{
|
|
784
|
+
font-size: 28rpx;
|
|
785
|
+
color: #333333;
|
|
786
|
+
.uni-max-cut(2, 80);
|
|
787
|
+
line-height: unit(40, rpx);
|
|
788
|
+
}
|
|
789
|
+
.prod_tit_one {
|
|
790
|
+
.uni-max-cut(1, 40);
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.prod_brand {
|
|
794
|
+
font-size: 26rpx;
|
|
795
|
+
padding-top: unit(10, rpx);
|
|
796
|
+
line-height: unit(32, rpx);
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.prod_specs{
|
|
800
|
+
padding-top: unit(10, rpx);
|
|
801
|
+
display: block;
|
|
802
|
+
font-size: 26rpx;
|
|
803
|
+
color: #999999;
|
|
804
|
+
line-height: unit(32, rpx);
|
|
805
|
+
}
|
|
806
|
+
.prod_price{
|
|
807
|
+
display: flex;
|
|
808
|
+
align-items: flex-end;
|
|
809
|
+
justify-content: space-between;
|
|
810
|
+
}
|
|
811
|
+
}
|
|
717
812
|
}
|
|
718
813
|
}
|
|
719
814
|
}
|
|
@@ -766,7 +861,7 @@
|
|
|
766
861
|
width: 200rpx;
|
|
767
862
|
height: 200rpx;
|
|
768
863
|
margin-right: 24rpx;
|
|
769
|
-
background: #DDD;
|
|
864
|
+
// background: #DDD;
|
|
770
865
|
image{
|
|
771
866
|
width: 100%;
|
|
772
867
|
height: 100%;
|
|
@@ -780,7 +875,8 @@
|
|
|
780
875
|
width: 100rpx;
|
|
781
876
|
}
|
|
782
877
|
.prod_tit{
|
|
783
|
-
font-size:
|
|
878
|
+
font-size: 28rpx;
|
|
879
|
+
color: #333333;
|
|
784
880
|
.uni-max-cut(2, 80);
|
|
785
881
|
line-height: unit(40, rpx);
|
|
786
882
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
|
-
getFoodShopDetail: {"resource_shop_id":8003557,"shop_id":1170110,"shop_name":"星巴克(平谷国泰店)","shop_icon":"","province_code":"","province_name":"","city_code":"jfb1","city_name":"北京","area_code":"","area_name":"","street_code":"","street_name":"","address":"平谷区文化北街13号国泰商场一层","about":"","latitude":"40.146809614188","longitude":"117.11770942955","distance":
|
|
4
|
+
getFoodShopDetail: {"resource_shop_id":8003557,"shop_id":1170110,"shop_name":"星巴克(平谷国泰店)","shop_icon":"","province_code":"","province_name":"","city_code":"jfb1","city_name":"北京","area_code":"","area_name":"","street_code":"","street_name":"","address":"平谷区文化北街13号国泰商场一层","about":"","latitude":"40.146809614188","longitude":"117.11770942955","distance":"519.5km","meal_method":["in_store","take_away"],"phone":"(010)89968048","request_id":"e32700aa4017803f"},
|
|
5
5
|
getFoodShopCategory: {"categories":[{"category_id":"a0aacaff0fb278c5f8127cec63ec3a53","category_name":"限时特惠","cart_num":1},{"category_id":"c3e817f29eca3343734ef1e5e644b211","category_name":"夏日心动推荐","cart_num":0},{"category_id":"4700b6e5b19a9ff788b3dd421421ab6b","category_name":"真味无糖","cart_num":0},{"category_id":"54e63a4221698549900f442105821a95","category_name":"浓缩咖啡","cart_num":0},{"category_id":"b083cfcac8944b26225edbcdff22b0e3","category_name":"金烘浓缩","cart_num":0},{"category_id":"834cd2779458568a5278538eb3cb6920","category_name":"冷萃咖啡","cart_num":0},{"category_id":"af722afe78ed62dbe365b5d2360df690","category_name":"植物基咖啡","cart_num":0},{"category_id":"d6f14098f1d00bf849edef62f29ea094","category_name":"星巴克冰震浓缩","cart_num":0},{"category_id":"6af82de72ee20bbc204e4c25cac7326b","category_name":"浓小杯","cart_num":0},{"category_id":"8e39244d99a7b8ea0192842005be5ff4","category_name":"软雪星冰乐","cart_num":0},{"category_id":"61077dd3605a7bc2b8f4eb1ba3e6367b","category_name":"咖啡星冰乐","cart_num":0},{"category_id":"3c18282df5e406c82571de20d1e22f28","category_name":"无咖啡星冰乐","cart_num":0},{"category_id":"b88f8211c9249db7e85949fc8fc8c6f5","category_name":"冰摇茶","cart_num":0},{"category_id":"07378726d90bf8bf36a4e1a67bfbe904","category_name":"茶拿铁","cart_num":0},{"category_id":"258c7f91f59a21564947fc89a4c8fce3","category_name":"冰摇","cart_num":0},{"category_id":"04a8025f45c4b4bbe07d7021c0773538","category_name":"巧克力","cart_num":0},{"category_id":"4ee301588298388e3886cbda9673e6e6","category_name":"蒸气奶","cart_num":0}],"request_id":"2ff41432222daffd"},
|
|
6
|
-
getFoodProductList: {"lists":[{"category_id":"a0aacaff0fb278c5f8127cec63ec3a53","product_id":707,"product_name":"双杯抹茶星冰乐®","thumb":"https:\/\/image.quanma51.com\/self\/mahua\/sbk\/product\/7b45d7de7c684b48b14725c7816c4ec9!img","has_choose":
|
|
7
|
-
getFoodCartList: {"total":
|
|
6
|
+
getFoodProductList: {"lists":[{"category_id":"a0aacaff0fb278c5f8127cec63ec3a53","product_id":707,"product_name":"双杯抹茶星冰乐®","thumb":"https:\/\/image.quanma51.com\/self\/mahua\/sbk\/product\/7b45d7de7c684b48b14725c7816c4ec9!img","has_choose":false,"cart_num":0,"show_prices":[{"p":6960,"n":"","t":"S"}]},{"category_id":"a0aacaff0fb278c5f8127cec63ec3a53","product_id":708,"product_name":"双杯红茶拿铁","thumb":"https:\/\/image.quanma51.com\/self\/mahua\/sbk\/product\/c54d777ee7c34cd29a800c2e219249b0!img","has_choose":true,"cart_num":0,"show_prices":[{"p":6240,"n":"","t":"S"}]},{"category_id":"a0aacaff0fb278c5f8127cec63ec3a53","product_id":709,"product_name":"双杯摩卡可可碎片星冰乐®","thumb":"https:\/\/image.quanma51.com\/self\/mahua\/sbk\/product\/%E5%8F%8C%E6%9D%AF%E6%91%A9%E5%8D%A1%E5%8F%AF%E5%8F%AF%E7%A2%8E%E7%89%87%E6%98%9F%E5%86%B0%E4%B9%90.png!img","has_choose":true,"cart_num":0,"show_prices":[{"p":7920,"n":"","t":"S"}]},{"category_id":"a0aacaff0fb278c5f8127cec63ec3a53","product_id":710,"product_name":"双杯拿铁","thumb":"https:\/\/image.quanma51.com\/self\/mahua\/sbk\/product\/23787b1d58a7459086048182e9be4e22!img","has_choose":true,"cart_num":0,"show_prices":[{"p":7200,"n":"","t":"S"}]},{"category_id":"a0aacaff0fb278c5f8127cec63ec3a53","product_id":711,"product_name":"双杯美式咖啡","thumb":"https:\/\/image.quanma51.com\/self\/mahua\/sbk\/product\/58026111f5ab4091ade3a931b9f07648!img","has_choose":true,"cart_num":0,"show_prices":[{"p":6480,"n":"","t":"S"}]},{"category_id":"a0aacaff0fb278c5f8127cec63ec3a53","product_id":712,"product_name":"双杯馥芮白®","thumb":"https:\/\/image.quanma51.com\/self\/mahua\/sbk\/product\/%E5%8F%8C%E6%9D%AF%E9%A6%A5%E8%8A%AE%E7%99%BD.png!img","has_choose":true,"cart_num":0,"show_prices":[{"p":8400,"n":"","t":"S"}]},{"category_id":"a0aacaff0fb278c5f8127cec63ec3a53","product_id":713,"product_name":"双杯焦糖玛奇朵","thumb":"https:\/\/image.quanma51.com\/self\/mahua\/sbk\/product\/49e18ceb560c476292bea632b8e7c63f!img","has_choose":true,"cart_num":0,"show_prices":[{"p":8160,"n":"","t":"S"}]},{"category_id":"a0aacaff0fb278c5f8127cec63ec3a53","product_id":714,"product_name":"双杯燕麦拿铁","thumb":"https:\/\/image.quanma51.com\/self\/mahua\/sbk\/product\/5298306078e742a3bbc2a951c26e6a23!img","has_choose":true,"cart_num":0,"show_prices":[{"p":7200,"n":"","t":"S"}]},{"category_id":"a0aacaff0fb278c5f8127cec63ec3a53","product_id":715,"product_name":"双杯燕麦焦糖玛奇朵","thumb":"https:\/\/starbucks.quanma51.com\/MopPics\/202012\/209-MOPCatalog-0-342x324_2-zh.png?resize=p_4,w_228&image_process=image\/resize,w_228","has_choose":true,"cart_num":0,"show_prices":[{"p":8160,"n":"","t":"S"}]},{"category_id":"a0aacaff0fb278c5f8127cec63ec3a53","product_id":716,"product_name":"双杯巴旦木拿铁","thumb":"https:\/\/image.quanma51.com\/self\/mahua\/sbk\/product\/07468ac20918497c99984ae4ad51ddd7!img","has_choose":true,"cart_num":0,"show_prices":[{"p":7200,"n":"","t":"S"}]}],"total_size":27,"next_page_token":"2","request_id":"542b04590116772b"},
|
|
7
|
+
getFoodCartList: {"total":2,"total_amount":1185,"products":[{"product_id":794,"product_name":"鲜萃轻轻茉莉","product_sku":"SP3257-00010","specs":[],"sub_name":"温度\/咖啡液\/糖度\/杯型","num":1,"thumb":"https:\/\/img06.luckincoffeecdn.com\/group5\/M01\/24\/1D\/Ct1rZGhuSDGATZFPAAIB35XSyG4945.png","show_prices":[{"p":560,"n":"","t":"S"}],"max_buy":-1,"min_buy":-1,"status":"ok","tip":"","category_id":"45bff8619cf053e8697ba1d8ba8884bb"},{"product_id":1135,"product_name":"金桂花香拿铁","product_sku":"SP3414-00018","specs":[],"sub_name":"奶基\/温度\/糖度\/杯型","num":1,"thumb":"https:\/\/img02.luckincoffeecdn.com\/group5\/M00\/82\/F0\/Ct1rZGiN4-aAWpYOAA4lXwBx92g639.gif","show_prices":[{"p":625,"n":"","t":"S"}],"max_buy":-1,"min_buy":-1,"status":"ok","tip":"","category_id":"45bff8619cf053e8697ba1d8ba8884bb"}],"total_discount_price":0,"total_market_price":5500,"request_id":"35cb6f5a0db2a311"},
|
|
8
8
|
getFoodCartCount: {"categories":[{"category_id":"a0aacaff0fb278c5f8127cec63ec3a53","card_num":1}],"total_num":1,"request_id":"9c2bfb2c0f6817fd"}
|
|
9
9
|
}
|
|
@@ -7,8 +7,16 @@ import {
|
|
|
7
7
|
cusDisabled ,
|
|
8
8
|
getCustomAttr,
|
|
9
9
|
} from "@/utils/AttrTools";
|
|
10
|
+
import ProductAttr from "@/utils/Attr/ProductAttr";
|
|
10
11
|
|
|
11
12
|
export default function (data, gValue,gColor,oldData){
|
|
13
|
+
//类型
|
|
14
|
+
let titleFooterStyle = 'line-6-8-s';
|
|
15
|
+
if(data['titleFooterStyle'] &&
|
|
16
|
+
['line-6-8-l','line-6-8-s', 'triangle', 'center', 'desc', 'none'].includes(data['titleFooterStyle'])
|
|
17
|
+
){
|
|
18
|
+
titleFooterStyle = data['titleFooterStyle'];
|
|
19
|
+
}
|
|
12
20
|
|
|
13
21
|
return [
|
|
14
22
|
{
|
|
@@ -36,5 +44,6 @@ export default function (data, gValue,gColor,oldData){
|
|
|
36
44
|
.catch();
|
|
37
45
|
}
|
|
38
46
|
},
|
|
47
|
+
|
|
39
48
|
].filter(i=>i)
|
|
40
49
|
}
|
|
@@ -11,8 +11,176 @@ import {
|
|
|
11
11
|
cRaBorShadow,
|
|
12
12
|
isDefStatus
|
|
13
13
|
} from "@/utils/AttrTools";
|
|
14
|
+
import productStyle from "@/utils/Attr/productStyle";
|
|
14
15
|
const Color = require('color');
|
|
15
16
|
|
|
16
17
|
export default function (data={},gValue={},gColor={},oldData) {
|
|
17
|
-
|
|
18
|
+
//导航投影设置
|
|
19
|
+
let titleTabShadowExt = {dValue:'N'};
|
|
20
|
+
if(gValue.isAdd === true && gValue.isFirst) titleTabShadowExt = {dValue:'D'};
|
|
21
|
+
let titleTabShadow = cRaBorShadow(data , 'titleTabShadow',titleTabShadowExt, gValue);
|
|
22
|
+
|
|
23
|
+
return [
|
|
24
|
+
{
|
|
25
|
+
ele: 'title',
|
|
26
|
+
label: '常规',
|
|
27
|
+
size: 'small',
|
|
28
|
+
groupKey:'style',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
label: '外边距',
|
|
32
|
+
ele: 'xd-radio',
|
|
33
|
+
groupKey: 'style',
|
|
34
|
+
valueKey: 'bodyPaddingStatus',
|
|
35
|
+
value: statusDataVal({data, key:'bodyPaddingStatus', fields:['bodyPadding'],gValue}),
|
|
36
|
+
labelInline:true,
|
|
37
|
+
list: [
|
|
38
|
+
{label: '默认', value: 'D'},
|
|
39
|
+
{label: '自定义', value: 'C'},
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{ele: 'group_start'},
|
|
43
|
+
{
|
|
44
|
+
label: '',
|
|
45
|
+
ele: 'xd-margin-padding',
|
|
46
|
+
groupKey:'style',
|
|
47
|
+
valueKey: 'bodyPadding',
|
|
48
|
+
hidden:!statusShow({data, key: 'bodyPaddingStatus', fields:['bodyPadding'], gValue}),
|
|
49
|
+
value: dataVal({
|
|
50
|
+
data,
|
|
51
|
+
key:'bodyPadding',
|
|
52
|
+
dValue:[0],
|
|
53
|
+
gValue,
|
|
54
|
+
isPM: true,
|
|
55
|
+
isCPM: true,
|
|
56
|
+
}),
|
|
57
|
+
setting: {
|
|
58
|
+
type: 'margin',
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
{ele: 'group_end'},
|
|
62
|
+
...productStyle(data, gValue, gColor, oldData),
|
|
63
|
+
|
|
64
|
+
{
|
|
65
|
+
ele: 'title',
|
|
66
|
+
label: '分类导航样式',
|
|
67
|
+
size: 'small',
|
|
68
|
+
groupKey:'style',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
label: '导航背景',
|
|
72
|
+
ele: 'xd-radio',
|
|
73
|
+
groupKey: 'style',
|
|
74
|
+
valueKey: 'titleBgcColorStatus',
|
|
75
|
+
value: statusDataVal({data, key: 'titleBgcColorStatus', fields:['titleBgcColor'], gValue}),
|
|
76
|
+
labelInline:true,
|
|
77
|
+
list: [
|
|
78
|
+
{label: '默认', value: 'D'},
|
|
79
|
+
{label: '自定义', value: 'C'},
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{ele: 'group_start'},
|
|
83
|
+
{
|
|
84
|
+
label: '',
|
|
85
|
+
ele: 'xd-color',
|
|
86
|
+
labelInline: true,
|
|
87
|
+
valueKey: 'titleBgcColor',
|
|
88
|
+
value: dataVal({
|
|
89
|
+
data,
|
|
90
|
+
key:'titleBgcColor',
|
|
91
|
+
dValue:'#fff',
|
|
92
|
+
gValue
|
|
93
|
+
}),
|
|
94
|
+
hidden: !statusShow({data, key: 'titleBgcColorStatus', fields:['titleBgcColor'], gValue}),
|
|
95
|
+
placeholder: '请选择背景颜色',
|
|
96
|
+
classNmae: 'input80',
|
|
97
|
+
groupKey:'style',
|
|
98
|
+
setting: {
|
|
99
|
+
showAlpha: true
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
{ele: 'group_end'},
|
|
103
|
+
{
|
|
104
|
+
label: '导航名称',
|
|
105
|
+
ele: 'xd-radio',
|
|
106
|
+
groupKey: 'style',
|
|
107
|
+
valueKey: 'titleStyleStatus',
|
|
108
|
+
value: statusDataVal({data, key:'titleStyleStatus', fields:['titleStyle','titleColor'],gValue}),
|
|
109
|
+
labelInline:true,
|
|
110
|
+
list: [
|
|
111
|
+
{label: '默认', value: 'D'},
|
|
112
|
+
{label: '自定义', value: 'C'},
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{ele: 'group_start'},
|
|
116
|
+
{
|
|
117
|
+
label: '',
|
|
118
|
+
ele: 'xd-text-and-bgc',
|
|
119
|
+
groupKey:'style',
|
|
120
|
+
valueKey: 'titleStyle',
|
|
121
|
+
value: dataVal({data, key:'titleStyle', dValue:null, gValue}),
|
|
122
|
+
hidden: !statusShow({data, key: 'titleStyleStatus', fields:['titleStyle','titleColor'], gValue}),
|
|
123
|
+
labelInline:true,
|
|
124
|
+
isRefresh: true,
|
|
125
|
+
setting: {
|
|
126
|
+
fontSize: true,
|
|
127
|
+
weight:true,
|
|
128
|
+
bgColor:(dataVal({data, key:'titleFooterStyle', dValue:'', gValue}) === 'desc'),
|
|
129
|
+
selected:true,
|
|
130
|
+
default:{
|
|
131
|
+
color: data['titleColor'] || '#333',
|
|
132
|
+
actColor: gColor.mainColor,
|
|
133
|
+
fontSize: '30',
|
|
134
|
+
actFontSize: '30', //'', 20 , 26 ,28,30, 36 默认值:''=>24
|
|
135
|
+
fontWeight: '500',
|
|
136
|
+
actFontWeight: '500',
|
|
137
|
+
actBgColor: "",
|
|
138
|
+
bgColor: ""
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
handleCustom({action, data}) {
|
|
142
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
|
|
143
|
+
.then(res => {
|
|
144
|
+
data.cb(res.list)
|
|
145
|
+
})
|
|
146
|
+
.catch(error => {
|
|
147
|
+
console.error(error);
|
|
148
|
+
data.cb([])
|
|
149
|
+
});
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
{ele: 'group_end'},
|
|
153
|
+
{
|
|
154
|
+
label: '导航投影',
|
|
155
|
+
ele: 'xd-shadow',
|
|
156
|
+
labelInline: true,
|
|
157
|
+
groupKey:'style',
|
|
158
|
+
valueKey: 'titleTabShadow',
|
|
159
|
+
value: titleTabShadow,
|
|
160
|
+
className: 'input100',
|
|
161
|
+
setting: {
|
|
162
|
+
selected: titleTabShadow.type,//设置默认选中项
|
|
163
|
+
isRadio:true,//启用editx默认
|
|
164
|
+
isDef: true,//启动默认选项
|
|
165
|
+
//设置默认值
|
|
166
|
+
default: {
|
|
167
|
+
color: 'rgba(0,0,0,.05)',
|
|
168
|
+
width: '10',
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
handleCustom({action, data}) {
|
|
172
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
173
|
+
.then(res => {
|
|
174
|
+
res.list = res.list.filter(item=>{
|
|
175
|
+
return item.label !== '无';
|
|
176
|
+
});
|
|
177
|
+
data.cb(res.list)
|
|
178
|
+
})
|
|
179
|
+
.catch(error => {
|
|
180
|
+
console.error(error);
|
|
181
|
+
data.cb([])
|
|
182
|
+
});
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
].filter(i=>i)
|
|
18
186
|
}
|