jufubao-base 1.0.56-beta2011 → 1.0.56-beta2012

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.56-beta2011",
3
+ "version": "1.0.56-beta2012",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -247,6 +247,17 @@ export default {
247
247
  },
248
248
 
249
249
  onJfbUnload() {
250
+ this.timeStr = ""
251
+ if (this.timeer) {
252
+ clearTimeout(this.timeer);
253
+ }
254
+ if (this.refrushTimeer) {
255
+ clearTimeout(this.refrushTimeer);
256
+ }
257
+ },
258
+
259
+ onJfbHide(options) {
260
+ this.timeStr = ""
250
261
  if (this.timeer) {
251
262
  clearTimeout(this.timeer);
252
263
  }
@@ -294,6 +305,7 @@ export default {
294
305
  vm: this,
295
306
  success: (res) => {
296
307
  if (res.confirm) {
308
+ this.timeStr = ""
297
309
  clearTimeout(this.timeer);
298
310
  clearTimeout(this.refrushTimeer);
299
311
  this.stopTimer = true;
@@ -369,6 +381,9 @@ export default {
369
381
  init() {
370
382
  this.detail();
371
383
  this.refrush();
384
+ if(this.$configProject.isPreview) {
385
+ this.timeStr = "01分19秒"
386
+ }
372
387
  this.backUrl = getContainerPropsValue( this.container, "content.back_url", { value: "" }).value;
373
388
  },
374
389
 
@@ -388,7 +403,9 @@ export default {
388
403
  res["other_card_point"] = this.$xdUniHelper.divisionFloatNumber(res.other_card_point, 100);
389
404
  }
390
405
  this.info = res;
391
- this.setInval(this.info.card_qrcode_expire);
406
+ if(!this.$configProject.isPreview) {
407
+ this.setInval(this.info.card_qrcode_expire);
408
+ }
392
409
  this.show = false;
393
410
 
394
411
  //显示按钮
@@ -108,7 +108,6 @@
108
108
  <!-- 靠底支付 -->
109
109
  <view class="fixe_bottom" :style="prod_bottom">
110
110
  <!-- <xd-button
111
- radius="8rpx"
112
111
  size="small"
113
112
  type="primary">
114
113
  消费记录
@@ -116,7 +115,6 @@
116
115
  <xd-button
117
116
  v-if="info.is_exchange==='Y'"
118
117
  @click="handleToShift"
119
- radius="8rpx"
120
118
  size="small"
121
119
  type="primary">
122
120
  券转换
@@ -124,7 +122,6 @@
124
122
  <xd-button
125
123
  v-if="isShowUnbind"
126
124
  @click="handleUnBindCard"
127
- radius="8rpx"
128
125
  size="small"
129
126
  type="primary">
130
127
  解除绑定
@@ -49,7 +49,6 @@
49
49
  <view class="fixe_bottom" :style="prod_bottom">
50
50
  <xd-button
51
51
  type="primary"
52
- radius="8rpx"
53
52
  width="360rpx"
54
53
  @click="handleGetInfo"
55
54
  >确认</xd-button
@@ -136,7 +135,6 @@
136
135
  <view :style="{ height: '100rpx' }"></view>
137
136
  <view class="fixe_bottom" :style="prod_bottom">
138
137
  <xd-button
139
- radius="8rpx"
140
138
  type="primary"
141
139
  width="360rpx"
142
140
  @click="handleToLink"
@@ -130,7 +130,6 @@
130
130
  <xd-button
131
131
  @click="handleChange"
132
132
  width="500rpx"
133
- radius="8rpx"
134
133
  type="primary">
135
134
  转换
136
135
  </xd-button>
@@ -51,7 +51,7 @@ export default {
51
51
  getCardGroupItem(list, allEntry) {
52
52
  list.map(item => {
53
53
  //设置卡片样式
54
- item['theme'] = this.getCardThemes(item['card_type_name'] + item['card_type']);
54
+ item['theme'] = this.getCardThemes(item['card_type_name']);
55
55
  item['entries'] = this.getEntry(item['business_codes'], allEntry)
56
56
  });
57
57
  return list