jufubao-food 1.0.15-beta16 → 1.0.15-beta17

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-food",
3
- "version": "1.0.15-beta16",
3
+ "version": "1.0.15-beta17",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件餐饮插件包",
6
6
  "main": "index.js",
@@ -116,6 +116,7 @@
116
116
  consume_mode: "",
117
117
  category_id: "",
118
118
  specsPrice: 0,
119
+ xnamespace: "",
119
120
 
120
121
  baseInfo: null,
121
122
  images: [],
@@ -222,6 +223,7 @@
222
223
  * @param container {object} 业务组件对象自己
223
224
  */
224
225
  init(container) {
226
+ this.xnamespace = gCPVal(container, 'xnamespace', this.projectAttr.business_code||this.xnamespace);
225
227
  this.foodProductListPath = getContainerPropsValue(container, 'content.foodProductListPath', {value: ""}).value;
226
228
  this.shopBtnBgColor = gCPVal(container, 'shopBtnBgColor', this.mainColor, {sKey:'cartBtnStatus',fields:['shopBtnBgColor']});
227
229
  this.showDiscount = gCPVal(container, 'showDiscount', "Y");