jufubao-base 1.0.67-beta220 → 1.0.67-beta221

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.67-beta220",
3
+ "version": "1.0.67-beta221",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -33,7 +33,7 @@
33
33
  <view>赠送优惠券</view>
34
34
  </view>
35
35
  <view
36
- :style="{ color: mainColor, background: contentBackground }"
36
+ :style="{ color: mainColor, backgroundColor: contentBackground }"
37
37
  class="jfb-base-con-list__body-content-header-right"
38
38
  @click="showRule = true"
39
39
  >
@@ -47,7 +47,7 @@
47
47
  :key="index"
48
48
  class="jfb-base-con-list__body-content-list-item"
49
49
  :style="{
50
- background:
50
+ backgroundColor:
51
51
  item.remain_card_count == 0 ? '#f3f3f3' : contentBackground,
52
52
  }"
53
53
  >
@@ -247,7 +247,7 @@ export default {
247
247
  if (item.can_take === "Y") {
248
248
  item.btn = res.app_coupon_button_bg_url
249
249
  ? {
250
- background: `url(${getServiceUrl(
250
+ backgroundImage: `url(${getServiceUrl(
251
251
  res.app_coupon_button_bg_url
252
252
  )})`,
253
253
  backgroundSize: "100%",
@@ -255,18 +255,18 @@ export default {
255
255
  margin: "0",
256
256
  }
257
257
  : {
258
- background: this.mainColor,
258
+ backgroundColor: this.mainColor,
259
259
  margin: "0",
260
260
  };
261
261
  item.couponBackground = {
262
- background: `url(${getServiceUrl(res.app_coupon_url)})`,
262
+ backgroundImage: `url(${getServiceUrl(res.app_coupon_url)})`,
263
263
  backgroundSize: "100%",
264
264
  backgroundRepeat: "no-repeat",
265
265
  };
266
266
  } else {
267
267
  item.btn = { background: "#D6D6D6", margin: "0" };
268
268
  item.couponBackground = {
269
- background: `url(${getServiceUrl(
269
+ backgroundImage: `url(${getServiceUrl(
270
270
  res.app_coupon_invalid_url
271
271
  )})`,
272
272
  backgroundSize: "100%",
@@ -320,6 +320,7 @@ export default {
320
320
  });
321
321
  this.getList();
322
322
  if (this.timeer) {
323
+ this.time = 1;
323
324
  clearTimeout(this.timeer);
324
325
  }
325
326
  return;
@@ -332,7 +333,11 @@ export default {
332
333
  time: 2000,
333
334
  isClose: false,
334
335
  });
336
+ if(res.code==400) {
337
+ this.getList();
338
+ }
335
339
  if (this.timeer) {
340
+ this.time = 1;
336
341
  clearTimeout(this.timeer);
337
342
  }
338
343
  return;