jufubao-mall 2.0.20-beta13 → 2.0.20-beta14

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.20-beta13",
3
+ "version": "2.0.20-beta14",
4
4
  "private": false,
5
5
  "description": "聚福宝商城业务组件插件包",
6
6
  "main": "index.js",
@@ -725,7 +725,7 @@
725
725
  }
726
726
  this.titleRadius = gCPVal(container, 'titleRadius', [defTitleRadius,this.gStyleValue.radius,'0'],{sKey: 'titleRadiusStatus', fields: ['titleRadius']})||0;
727
727
  this.titlePadding = gCPVal(container, 'titlePadding', 0,{sKey: 'titlePaddingStatus', fields: ['titlePadding']});
728
- this.titleSp = gCPVal(container, 'titleSp', [(this.layout === 'v2'?0:48), 0],{sKey: 'titleSpStatus', fields: ['titleSp']});
728
+ this.titleSp = gCPVal(container, 'titleSp', [(this.layout === 'v2'?0:48), 20],{sKey: 'titleSpStatus', fields: ['titleSp']});
729
729
 
730
730
  //内容
731
731
  this.contentBgc = gCPVal(container, 'contentBgc', '#fff',{sKey: 'contentBgcStatus', fields: ['contentBgc']} );
@@ -134,7 +134,7 @@ export default (datas, gValue, gColor, oldData={})=>{
134
134
  groupKey: 'style',
135
135
  ele: 'xd-slider',
136
136
  valueKey: "titleSp",
137
- value: dataVal({data, key:'titleSp', dValue:gValue.isFirst && gValue.isAdd?(data.layout === 'v2'?0:48):0}),
137
+ value: dataVal({data, key:'titleSp', dValue:gValue.isFirst && gValue.isAdd?(data.layout === 'v2'?0:48):20}),
138
138
  hidden: !statusShow({data, key: 'titleSpStatus', fields:['titleSp'], gValue}),
139
139
  className: "input100",
140
140
  labelInline: true,
@@ -547,7 +547,13 @@
547
547
  if(this.stateCity.city_code) data['city_code'] = this.stateCity.city_code
548
548
  }
549
549
  if(this.brand_type === 'code') data['product_types'] = 'card';
550
- if(this.trueCateId || this.truePid) data['custom_category_id'] = this.trueCateId || this.truePid;
550
+ if(this.trueCateId || this.truePid) data['custom_category_id'] = this.trueCateId || this.truePid;
551
+
552
+ //自定义父分类的时候,选择全部使用parentId的全部
553
+ if(Number(this.parentId) > 0) {
554
+ if(!data['custom_category_id']) data['custom_category_id'] = Number(this.parentId);
555
+ }
556
+
551
557
  return data;
552
558
  },
553
559
 
@@ -339,7 +339,7 @@ export default {
339
339
  background: #EEEEEE;
340
340
  font-size: 24rpx;
341
341
  font-weight: 400;
342
- color: #999999;
342
+ color: #666;
343
343
  border-radius: 80rpx;
344
344
  min-width: 128rpx;
345
345
  text-align: center;
@@ -441,7 +441,7 @@ export default {
441
441
  border-radius: 32rpx;
442
442
  background: #f7f7f7;
443
443
  box-sizing: border-box;
444
- color: #999;
444
+ color: #666;
445
445
  font-size: 24rpx;
446
446
  padding: 0 16rpx;
447
447
  font-weight: 400;