jufubao-food 1.0.15-beta17 → 1.0.15-beta19
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/JfbFoodConfirmV2.vue +1 -1
- package/src/components/JfbFoodProductInfo/JfbFoodProductInfo.vue +1 -1
- package/src/components/JfbFoodProductList/JfbFoodProductList.vue +11 -4
- package/src/components/JfbFoodProductList/cusAttr/advanced.js +13 -0
- package/src/components/JfbFoodProductList/cusAttr/style.js +1 -1
package/package.json
CHANGED
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
this.bgColor = this.$colorChange(this.warningColor).alpha(0.1).toString();
|
|
456
456
|
this.bgColor2 = this.$colorChange(this.mainColor).alpha(0.1).toString();
|
|
457
457
|
|
|
458
|
-
this.xnamespace = getContainerPropsValue(container, 'content.xnamespace',
|
|
458
|
+
this.xnamespace = getContainerPropsValue(container, 'content.xnamespace', "");
|
|
459
459
|
this.showBuyer = getContainerPropsValue(container, 'content.showBuyer', "Y");
|
|
460
460
|
this.showOrderComment = getContainerPropsValue(container, 'content.showOrderComment', "Y");
|
|
461
461
|
this.payPath = getContainerPropsValue(container, 'content.payPath', { value: "/system/system/pay" }).value;
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
* @param container {object} 业务组件对象自己
|
|
224
224
|
*/
|
|
225
225
|
init(container) {
|
|
226
|
-
this.xnamespace = gCPVal(container, 'xnamespace',
|
|
226
|
+
this.xnamespace = gCPVal(container, 'xnamespace', "");
|
|
227
227
|
this.foodProductListPath = getContainerPropsValue(container, 'content.foodProductListPath', {value: ""}).value;
|
|
228
228
|
this.shopBtnBgColor = gCPVal(container, 'shopBtnBgColor', this.mainColor, {sKey:'cartBtnStatus',fields:['shopBtnBgColor']});
|
|
229
229
|
this.showDiscount = gCPVal(container, 'showDiscount', "Y");
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
<text style="margin-right: 16rpx;">{{item.resource_shop_name}}</text>
|
|
187
187
|
<view class="curr_active">正在预览</view>
|
|
188
188
|
</view>
|
|
189
|
-
<view class="more_r">详情 <xd-font-icon icon="iconxiangyou_xian" :size="24"></xd-font-icon></view>
|
|
189
|
+
<view class="more_r" @click="toShopDetail(item)">详情 <xd-font-icon icon="iconxiangyou_xian" :size="24"></xd-font-icon></view>
|
|
190
190
|
</view>
|
|
191
191
|
<view class="shop_addr_bar">
|
|
192
192
|
<view>{{item.address}}</view>
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
column_num: 1,
|
|
280
280
|
skeNumber:10,
|
|
281
281
|
rowSpacing: 16,
|
|
282
|
-
columnSpacing:
|
|
282
|
+
columnSpacing: 32,
|
|
283
283
|
listPadding:{},
|
|
284
284
|
productConfig:{},
|
|
285
285
|
itemPadding:{},
|
|
@@ -307,6 +307,7 @@
|
|
|
307
307
|
confirmPath: "",
|
|
308
308
|
switchStorePath: "",
|
|
309
309
|
switchCityPath: "",
|
|
310
|
+
shopDetailPath: "",
|
|
310
311
|
}
|
|
311
312
|
},
|
|
312
313
|
computed: {
|
|
@@ -463,11 +464,12 @@
|
|
|
463
464
|
* @param container {object} 业务组件对象自己
|
|
464
465
|
*/
|
|
465
466
|
init(container) {
|
|
466
|
-
this.xnamespace = gCPVal(container, 'xnamespace',
|
|
467
|
+
this.xnamespace = gCPVal(container, 'xnamespace', "");
|
|
467
468
|
this.foodDetailPath = getContainerPropsValue(container, 'content.foodDetailPath', {value: ""}).value;
|
|
468
469
|
this.confirmPath = getContainerPropsValue(container, 'content.confirmPath', {value: ""}).value;
|
|
469
470
|
this.switchStorePath = getContainerPropsValue(container, 'content.switchStorePath', { value: ''}).value;
|
|
470
471
|
this.switchCityPath = getContainerPropsValue(container, 'content.switchCityPath', { value: ''}).value;
|
|
472
|
+
this.shopDetailPath = getContainerPropsValue(container, 'content.shopDetailPath', { value: ''}).value;
|
|
471
473
|
this.showDiscount = gCPVal(container, 'showDiscount', "Y");
|
|
472
474
|
this.differ = gCPVal(container, 'differ', 1);
|
|
473
475
|
|
|
@@ -491,7 +493,7 @@
|
|
|
491
493
|
this.radius = gCPVal(container,'radius', [this.gStyleValue.radius,'0'], {sKey:'radiusStatus',fields:['radius']})||0;
|
|
492
494
|
this.imageRadius = gCPVal(container,'imageRadius', [this.gStyleValue.radius/2,'0'], {sKey:'imageRadiusStatus',fields:['imageRadius']})||0;
|
|
493
495
|
this.contShadow = gCPVal(container, 'contShadow', [this.gStyleValue.shadow,'none'], {isShadow:true});
|
|
494
|
-
this.columnSpacing = gCPVal(container,'columnSpacing', [
|
|
496
|
+
this.columnSpacing = gCPVal(container,'columnSpacing', [32,20], {sKey:'columnRowStatus',fields:['columnSpacing']});
|
|
495
497
|
|
|
496
498
|
//导航
|
|
497
499
|
this.titleBgcColor = gCPVal(container,'titleBgcColor', '#f8f8f8', {sKey:'titleBgcColorStatus',fields:['titleBgcColor']});
|
|
@@ -523,6 +525,11 @@
|
|
|
523
525
|
}
|
|
524
526
|
|
|
525
527
|
},
|
|
528
|
+
toShopDetail(item){
|
|
529
|
+
this.$xdUniHelper.navigateTo({
|
|
530
|
+
url: this.shopDetailPath + "?resource_shop_id=" + item.resource_shop_id,
|
|
531
|
+
})
|
|
532
|
+
},
|
|
526
533
|
handleCartNumChange(val, prod){
|
|
527
534
|
console.log("handleCartNumChange", val, prod)
|
|
528
535
|
let product = {
|
|
@@ -15,6 +15,19 @@ export default (data)=>{
|
|
|
15
15
|
groupKey:'advanced',
|
|
16
16
|
className: 'input100',
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
label: '门店详情页',
|
|
20
|
+
ele: 'xd-select-pages-path',
|
|
21
|
+
valueKey: 'shopDetailPath',
|
|
22
|
+
placeholder: '请选择门店详情页跳转地址',
|
|
23
|
+
value: data.shopDetailPath || null,
|
|
24
|
+
labelInline: true,
|
|
25
|
+
setting: {
|
|
26
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
27
|
+
},
|
|
28
|
+
groupKey:'advanced',
|
|
29
|
+
className: 'input100',
|
|
30
|
+
},
|
|
18
31
|
{
|
|
19
32
|
label: '订单确认页',
|
|
20
33
|
ele: 'xd-select-pages-path',
|
|
@@ -319,7 +319,7 @@ export default function (data={},gValue={},gColor={},oldData) {
|
|
|
319
319
|
labelInline: true,
|
|
320
320
|
groupKey:'style',
|
|
321
321
|
valueKey: 'columnSpacing',
|
|
322
|
-
value: dataVal({data, key:'columnSpacing', dValue:
|
|
322
|
+
value: dataVal({data, key:'columnSpacing', dValue: 32, gValue}),
|
|
323
323
|
hidden: !statusShow({data, key: 'columnRowStatus', fields:['columnSpacing'], gValue}),
|
|
324
324
|
inline: false,
|
|
325
325
|
append:'px',
|