jufubao-mall 2.0.5 → 2.0.6

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-mall",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "private": false,
5
5
  "description": "聚福宝商城业务组件插件包",
6
6
  "main": "index.js",
@@ -768,7 +768,7 @@
768
768
  this.originalIngPriceColor = gCPVal(value, 'originalIngPriceColor', '#fff', { sKey: 'originalIngStyleStatus', fields: ['originalIngPriceColor'] });
769
769
  this.originalIngPriceFontSize = gCPVal(value, 'originalIngPriceFontSize', '24', { sKey: 'originalIngStyleStatus', fields: ['originalIngPriceFontSize'] });
770
770
  this.flashRightColor = gCPVal(value, 'flashRightColor', '#FF5040', {sKey:'smsStyleStatus',fields:['flashRightColor']});
771
- this.detailBackground = getServiceUrl(gCPVal(value, "detailBackground", {url:''}).url)||getServiceUrl('/common/miaosha02.png');
771
+ this.detailBackground = getServiceUrl(gCPVal(value, "detailBackground", {url:'/common/miaosha02.png'}, {sKey:'smsStyleStatus',fields:['detailBackground']}).url);
772
772
  this.originalPriceColor = gCPVal(value, 'originalPriceColor', '#888888',{sKey:'originalStyleStatus',fields:['originalPriceColor']});
773
773
  this.originalPriceFontSize = gCPVal(value, 'originalPriceFontSize', '24',{sKey:'originalStyleStatus',fields:['originalPriceFontSize']});
774
774
  this.salePriceColor = gCPVal(value, 'salePriceColor', '',{sKey:'saleStyleStatus',fields:['salePriceColor']});
@@ -83,7 +83,7 @@ export default function (data, gValue, gColor, oldData) {
83
83
  showAlpha: true
84
84
  },
85
85
  value: dataVal({ data, key: 'flashRightColor', dValue: '', gValue }),
86
- hidden: !statusShow({ data, key: 'smsStyleStatus', fields: ['flashRightColor'], gValue }),
86
+ hidden: !statusShow({ data, key: 'smsStyleStatus', fields: ['flashRightColor'], gValue }) || data.goodsLayout === 'default',
87
87
  placeholder: '请选择右侧文字颜色',
88
88
  classNmae: 'input80',
89
89
  },
@@ -109,7 +109,7 @@ export default function (data, gValue, gColor, oldData) {
109
109
  type: ['jpg', 'png', 'jpeg'],
110
110
  styleType: 'one',
111
111
  uploadType: 'aliyun',
112
- hidden: !statusShow({ data, key: 'smsStyleStatus', fields: ['detailBackground'], gValue }),
112
+ hidden: !statusShow({ data, key: 'smsStyleStatus', fields: ['detailBackground'], gValue }) || data.goodsLayout === 'default',
113
113
  oneWidth: 120,
114
114
  oneHeight: 120,
115
115
  size: 5,