jufubao-mall 2.0.95 → 2.0.96

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.95",
3
+ "version": "2.0.96",
4
4
  "private": false,
5
5
  "description": "聚福宝商城业务组件插件包",
6
6
  "main": "index.js",
@@ -238,6 +238,7 @@
238
238
  titleStyleDesc:{},
239
239
  navRadius:'0',
240
240
  titleTabShadow:'',
241
+ navPadding:{}, //导航内边界
241
242
 
242
243
 
243
244
  //特别推荐
@@ -329,7 +330,8 @@
329
330
  top: (this.layoutInfo.top - 2) + 'rpx',
330
331
  borderRadius: this.navRadius + 'rpx',
331
332
  overflow: 'hidden',
332
- boxShadow:this.titleTabShadow
333
+ boxShadow:this.titleTabShadow,
334
+ padding: this.getMarginAndPadding(this.navPadding,0),
333
335
  }
334
336
  },
335
337
  listPaddingComp(){
@@ -487,6 +489,7 @@
487
489
  this.titleBgcColor = gCPVal(container,'titleBgcColor', '#fff', {sKey:'titleBgcColorStatus',fields:['titleBgcColor']});
488
490
  this.titleColor = gCPVal(container, 'titleColor', '#333');
489
491
  this.titleBorder = gCPVal(container, 'titleBorder', {});
492
+ this.navPadding = gCPVal(container,'navPadding', [0], {sKey:'navPaddingStatus',fields:['navPadding'],isPMR: true});
490
493
  //兼容老写法
491
494
  this.is_title_border = gCPVal(container, 'is_title_border', 'N');
492
495
  this.is_title_border_c = gCPVal(container, 'is_title_border_c', '#fff');
@@ -884,6 +887,7 @@
884
887
  right: 0;
885
888
  background: #fff;
886
889
  z-index: 10000;
890
+ border-radius: 0!important;
887
891
  &-height{
888
892
  height: unit(112, rpx);
889
893
  }
@@ -166,7 +166,39 @@ export default function (data={},gValue={},gColor={},oldData) {
166
166
  size: 'small',
167
167
  groupKey:'style',
168
168
  },
169
-
169
+ {
170
+ label: '导航边距',
171
+ ele: 'xd-radio',
172
+ groupKey: 'style',
173
+ valueKey: 'navPaddingStatus',
174
+ value: statusDataVal({data, key: 'navPaddingStatus', fields:['navPadding'], gValue}),
175
+ labelInline:true,
176
+ list: [
177
+ {label: '默认', value: 'D'},
178
+ {label: '自定义', value: 'C'},
179
+ ]
180
+ },
181
+ {ele: 'group_start'},
182
+ {
183
+ label: '',
184
+ ele: 'xd-margin-padding',
185
+ groupKey:'style',
186
+ valueKey: 'navPadding',
187
+ value: dataVal({
188
+ data,
189
+ key:'navPadding',
190
+ dValue:0,
191
+ gValue,
192
+ isPM: true,
193
+ }),
194
+ hidden: !statusShow({data, key: 'navPaddingStatus', fields:['navPadding'], gValue}),
195
+ labelInline:true,
196
+ setting: {
197
+ type: 'margin',
198
+ },
199
+ inline: false,
200
+ },
201
+ {ele: 'group_end'},
170
202
  {
171
203
  label: '导航名称',
172
204
  ele: 'xd-radio',