jufubao-base 1.0.158-beta7 → 1.0.158-beta8

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.158-beta7",
3
+ "version": "1.0.158-beta8",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -31,10 +31,9 @@
31
31
  ></xd-font-icon>
32
32
  </view>
33
33
  </view>
34
- <view v-else>
34
+ <view style="text-align:center;padding-top:54rpx;padding-bottom:30rpx" v-else>
35
35
  <img
36
- style="width: 100%"
37
- mode="widthFix"
36
+ style="width:360rpx;height:340rpx"
38
37
  :src="bottomBackground"
39
38
  alt=""
40
39
  />
@@ -56,6 +56,17 @@ export default {
56
56
  placeholder: '请选择按钮文字颜色',
57
57
  classNmae: 'input60',
58
58
  },
59
+ {
60
+ label: "按钮文字大小",
61
+ ele: "el-input",
62
+ type: "number",
63
+ valueKey: "btnTextSize",
64
+ groupKey: 'content',
65
+ value: data.btnTextSize || '',
66
+ placeholder: "请输入按钮文字大小",
67
+ className: "input80",
68
+ inline: false,
69
+ },
59
70
  {
60
71
  label: '按钮圆角设置:',
61
72
  ele: 'xd-site-select-list',
@@ -49,10 +49,9 @@
49
49
  <view v-if="isAll">
50
50
  <view v-if="isRandom">
51
51
  <view class="jfb-base-con-list__body-content-list">
52
- <view>
52
+ <view style="text-align:center;padding-top:140rpx;padding-bottom:54rpx">
53
53
  <img
54
- style="width: 100%"
55
- mode="widthFix"
54
+ style="width:360rpx;height:340rpx"
56
55
  :src="app_coupon_bottom_url"
57
56
  alt=""
58
57
  />
@@ -186,6 +185,7 @@
186
185
  color: btnTextColor,
187
186
  backgroundColor: btnBgColor,
188
187
  boxShadow: shadow,
188
+ fontSize: btnTextSize+'rpx'
189
189
  }"
190
190
  >查看已领票券</view
191
191
  >
@@ -279,6 +279,7 @@ export default {
279
279
  isRandom: false,
280
280
  btn_txt: "",
281
281
  btn_style: {},
282
+ btnTextSize: ''
282
283
  };
283
284
  },
284
285
  computed: {
@@ -338,6 +339,11 @@ export default {
338
339
  "content.btnTextColor",
339
340
  "#666"
340
341
  );
342
+ this.btnTextSize = getContainerPropsValue(
343
+ value,
344
+ "content.btnTextSize",
345
+ "28"
346
+ );
341
347
  this.radius = getContainerPropsValue(value, "content.radius", "0");
342
348
 
343
349
  this.is_border = getContainerPropsValue(value, "content.is_border", "N");