jufubao-base 1.0.171 → 1.0.173

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-base",
3
- "version": "1.0.171",
3
+ "version": "1.0.173",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -943,7 +943,7 @@ export default {
943
943
  },
944
944
  placeholder: '请设置边距',
945
945
  inline: false,
946
- notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:左右边距<span style="color: red">40</span>像素,上下边距<span style="color: red">20</span>像素',
946
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
947
947
  hidden: data.previewCurrent !== "account",
948
948
  },
949
949
  {
@@ -1072,7 +1072,7 @@ export default {
1072
1072
  },
1073
1073
  placeholder: '请设置边距',
1074
1074
  inline: false,
1075
- notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
1075
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:左右边距<span style="color: red">40</span>像素,上下边距<span style="color: red">20</span>像素',
1076
1076
  hidden: data.previewCurrent !== "auth"
1077
1077
  },
1078
1078
  {
@@ -484,9 +484,9 @@ export default {
484
484
  },
485
485
  authBtnBoxStyle(){
486
486
  let padding = `${this.checkValue(this.authBtnPadding.top, 20)}rpx`;
487
- padding = `${padding} ${this.checkValue(this.authBtnPadding.right, 20)}rpx`;
487
+ padding = `${padding} ${this.checkValue(this.authBtnPadding.right, 40)}rpx`;
488
488
  padding = `${padding} ${this.checkValue(this.authBtnPadding.bottom, 20)}rpx`;
489
- padding = `${padding} ${this.checkValue(this.authBtnPadding.left, 20)}rpx`;
489
+ padding = `${padding} ${this.checkValue(this.authBtnPadding.left, 40)}rpx`;
490
490
  return this.styleObjectToString({
491
491
  padding: padding,
492
492
  })
@@ -668,8 +668,17 @@ export default {
668
668
  this.contentFont = getContainerPropsValue(value, "content.contentFont", {});
669
669
  this.placeholderFont = getContainerPropsValue(value, "content.placeholderFont", {});
670
670
  this.getCodeFont = getContainerPropsValue(value, "content.getCodeFont", {});
671
- this.agreeFont = getContainerPropsValue(value, "content.agreeFont", {});
672
- this.privacyFont = getContainerPropsValue(value, "content.privacyFont", {});
671
+ let agreeFont = getContainerPropsValue(value, "content.agreeFont", {});
672
+ if(!agreeFont.color) {
673
+ agreeFont.color = '#666'
674
+ }
675
+ this.agreeFont = agreeFont;
676
+ let privacyFont = getContainerPropsValue(value, "content.privacyFont", {});
677
+ if(!privacyFont.color) {
678
+ privacyFont.color = this.mainColor
679
+ }
680
+ this.privacyFont = privacyFont;
681
+
673
682
  this.agreementAlign = getContainerPropsValue(value, "content.agreementAlign", 'center');
674
683
  console.log(this.agreePadding, 'this.agreePadding');
675
684
  if(this.inputStyle === 'face'){