jufubao-base 1.0.158-beta7 → 1.0.158-beta9

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-beta9",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -204,11 +204,13 @@ export default {
204
204
  time: 2000,
205
205
  isClose: false,
206
206
  });
207
- this.getDialogList();
208
- if (this.timer) {
209
- this.timeNum = 0;
210
- clearTimeout(this.timer);
211
- }
207
+ setTimeout(()=>{
208
+ this.getDialogList();
209
+ if (this.timer) {
210
+ this.timeNum = 0;
211
+ clearTimeout(this.timer);
212
+ }
213
+ },2000)
212
214
  return;
213
215
  }
214
216
  if (res.status_type === "error") {
@@ -219,13 +221,15 @@ export default {
219
221
  time: 2000,
220
222
  isClose: false,
221
223
  });
222
- if (res.code === 400) {
223
- this.getDialogList();
224
- }
225
- if (this.timer) {
226
- this.timeNum = 0;
227
- clearTimeout(this.timer);
228
- }
224
+ setTimeout(()=>{
225
+ if (res.code === 400) {
226
+ this.getDialogList();
227
+ }
228
+ if (this.timer) {
229
+ this.timeNum = 0;
230
+ clearTimeout(this.timer);
231
+ }
232
+ },2000)
229
233
  return;
230
234
  }
231
235
 
@@ -340,7 +344,9 @@ export default {
340
344
  time: 2000,
341
345
  isClose: false,
342
346
  });
343
- this.getDialogList();
347
+ setTimeout(()=>{
348
+ this.getDialogList();
349
+ },2000)
344
350
  return;
345
351
  }
346
352
  this.order_num = res.tmp_order_number;
@@ -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");
@@ -599,12 +605,14 @@ export default {
599
605
  time: 2000,
600
606
  isClose: false,
601
607
  });
602
- this.getList();
603
- this.btn_txt = "去查看";
604
- if (this.timeer) {
605
- this.time = 0;
606
- clearTimeout(this.timeer);
607
- }
608
+ setTimeout(()=>{
609
+ this.getList();
610
+ this.btn_txt = "去查看";
611
+ if (this.timeer) {
612
+ this.time = 0;
613
+ clearTimeout(this.timeer);
614
+ }
615
+ },2000)
608
616
  return;
609
617
  }
610
618
  if (res.status_type === "error") {
@@ -615,13 +623,15 @@ export default {
615
623
  time: 2000,
616
624
  isClose: false,
617
625
  });
618
- if (res.code == 400) {
626
+ setTimeout(()=>{
627
+ if (res.code == 400) {
619
628
  this.getList();
620
- }
621
- if (this.timeer) {
622
- this.time = 0;
623
- clearTimeout(this.timeer);
624
- }
629
+ }
630
+ if (this.timeer) {
631
+ this.time = 0;
632
+ clearTimeout(this.timeer);
633
+ }
634
+ },2000)
625
635
  return;
626
636
  }
627
637