jufubao-base 1.0.157-beta4 → 1.0.157-beta6

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.
Files changed (27) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +4 -4
  3. package/src/components/JfbBaseCardDetail/JfbBaseCardDetail.vue +14 -14
  4. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +1 -1
  5. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +1 -1
  6. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +5 -4
  7. package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +9 -19
  8. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +2 -2
  9. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +1 -1
  10. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +12 -13
  11. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +1 -1
  12. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +1 -1
  13. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +2 -2
  14. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +1 -1
  15. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +3 -3
  16. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +1 -1
  17. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +1 -1
  18. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +1 -1
  19. package/src/components/JfbBasePoster/JfbBasePoster.vue +2 -1
  20. package/src/components/JfbBasePoster/MoreScreen.vue +2 -1
  21. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -1
  22. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +2 -1
  23. package/src/components/JfbBasePosterType/FourScreen.vue +2 -1
  24. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +2 -1
  25. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +4 -13
  26. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +2 -2
  27. package/src/mixins/colorCardMixins.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.157-beta4",
3
+ "version": "1.0.157-beta6",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -327,7 +327,7 @@ export default {
327
327
  // cancel: false,
328
328
  // showClose: false,
329
329
  // confirmText: "我知道了",
330
- // $vm: this
330
+ // styles: this.styles,
331
331
  // });
332
332
  // return
333
333
  // }
@@ -458,7 +458,7 @@ export default {
458
458
  cancel: false,
459
459
  showClose: false,
460
460
  confirmText: "我知道了",
461
- $vm: this
461
+ styles: this.styles,
462
462
  });
463
463
  return;
464
464
  }
@@ -469,7 +469,7 @@ export default {
469
469
  data: {
470
470
  address_nnid: item.address_nnid,
471
471
  is_select: "Y",
472
- version: this.version
472
+ version: this.version
473
473
  },
474
474
  })
475
475
  .then((res) => {
@@ -525,7 +525,7 @@ export default {
525
525
  handleDel(item) {
526
526
  console.log("handleDel", item);
527
527
  this.$xdConfirm({
528
- $vm: this,
528
+ styles: this.styles,
529
529
  content: "确定删除当前配送地址吗?",
530
530
  width: "80%",
531
531
  success: (res) => {
@@ -126,7 +126,7 @@ export default {
126
126
  data() {
127
127
  return {
128
128
  userInfo: null, //用户信息(暂时不可用)
129
-
129
+
130
130
  info: null,
131
131
  valueKey: [
132
132
  {
@@ -169,7 +169,7 @@ export default {
169
169
  brandLogo:
170
170
  "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsSAAALEgHS3X78AAAAAXNSR0IArs4c6QAADe5JREFUaEPdmQl0FFW6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SUkHBeNEiASdTmkFvEgdLehcTxcZVYXHrdDO+3NwCmxKgENKmF35EwAJ74/J5CMZN9ne5eoywvLJN3ucTA8X6pp4y1xqEjwxvs6u/arYGk55YeKhKu6Rng0ze4n2akES6UeeePw4crA2QZ4tuPOCQRSxuR1FjOXTLUP0RQT5+h8cxjyrlb07KTYultj2RqN7V/iD0bkUqcu3hTuhI0HDx60z2J+luucQHIapTxcVa1P8boleV2gzUWSL/YL3vpQQ0p1IBhmqSl5A/xbf5aov2fSeoPYb1sdmr7LkvK5w361TJpigKZrDeMMudflZFngeOB7D9B+bqB6gdgvKVWwcq2EFd+WBh7/uYOrz/z1AmnSKK2bMi1vYVn5qvr8yPkYWy8Qu2MAzPMRWH1/o74g9Z3/vI3/1YD8GzZW034Elz4yAAAAAElFTkSuQmCC",
171
171
  isBrandLogo: false,
172
-
172
+
173
173
  isShowUnbind: false, //是否启动绑定按钮
174
174
  };
175
175
  },
@@ -184,11 +184,11 @@ export default {
184
184
  console.warn(options["x-params"]);
185
185
  }
186
186
  }
187
-
187
+
188
188
  this.$nextTick(() => {
189
189
  this.card_number = options.card_number;
190
190
  this.init();
191
-
191
+
192
192
  // if (card_number) {
193
193
  // this.card_number = card_number;
194
194
  // if (this.brandInfo['is_enable_pay_password'] === 'N') {
@@ -245,7 +245,7 @@ export default {
245
245
  // }
246
246
  // }
247
247
  },
248
-
248
+
249
249
  onJfbUnload() {
250
250
  this.timeStr = ""
251
251
  if (this.timeer) {
@@ -265,7 +265,7 @@ export default {
265
265
  clearTimeout(this.refrushTimeer);
266
266
  }
267
267
  },
268
-
268
+
269
269
  onJfbBack(options) {
270
270
  if (this.timeer) {
271
271
  clearTimeout(this.timeer);
@@ -275,7 +275,7 @@ export default {
275
275
  }
276
276
  this.$xdUniHelper.navigateBack();
277
277
  },
278
-
278
+
279
279
  setInval(time) {
280
280
  console.log("pppppp", time);
281
281
  this.timeer = setInterval(() => {
@@ -293,10 +293,10 @@ export default {
293
293
  }
294
294
  }, 1000);
295
295
  },
296
-
296
+
297
297
  handleUnBindCard() {
298
298
  this.$xdConfirm({
299
- $vm: this,
299
+ styles: this.styles,
300
300
  content: "您确定要解除绑定卡券吗",
301
301
  title: "系统提示",
302
302
  width: "80%",
@@ -333,7 +333,7 @@ export default {
333
333
  },
334
334
  });
335
335
  },
336
-
336
+
337
337
  refrush() {
338
338
  if (this.stopTimer) return;
339
339
  if (this.time >= this.maxTime) {
@@ -377,7 +377,7 @@ export default {
377
377
  .catch();
378
378
  }, time);
379
379
  },
380
-
380
+
381
381
  init() {
382
382
  this.detail();
383
383
  this.refrush();
@@ -386,7 +386,7 @@ export default {
386
386
  }
387
387
  this.backUrl = getContainerPropsValue( this.container, "content.back_url", { value: "" }).value;
388
388
  },
389
-
389
+
390
390
  /**
391
391
  * @description 获取卡详情
392
392
  */
@@ -412,7 +412,7 @@ export default {
412
412
  if (res["is_show_qrcode_logo"] === "Y") {
413
413
  this.isBrandLogo = true;
414
414
  }
415
-
415
+
416
416
  this.isShowUnbind = (res["is_can_unbind"] === 'Y' || res["is_can_unbind"] === undefined);
417
417
  })
418
418
  .catch((err) => {
@@ -423,7 +423,7 @@ export default {
423
423
  handleOnClose() {
424
424
  this.editShow = false;
425
425
  },
426
-
426
+
427
427
  handlePwdOnSubmit(val) {
428
428
  this.password = val;
429
429
  this.init();
@@ -439,7 +439,7 @@ export default {
439
439
  },
440
440
  handleUnBindCard() {
441
441
  this.$xdConfirm({
442
- $vm: this,
442
+ styles: this.styles,
443
443
  content: "您确定要解除绑定票券吗",
444
444
  title: "系统提示",
445
445
  width: "80%",
@@ -160,7 +160,7 @@ export default {
160
160
  },
161
161
  handleUnBindCard(item) {
162
162
  this.$xdConfirm({
163
- $vm: this,
163
+ styles: this.styles,
164
164
  content: "您确定要解除绑定票券吗",
165
165
  title: "系统提示",
166
166
  width: "80%",
@@ -11,7 +11,7 @@
11
11
  v-if="isEditx && active"
12
12
  >
13
13
  <view class="jfb-base-card-disabled-entry__edit-icon" @click="delEdit"
14
- >删除</view
14
+ >删除</view
15
15
  >
16
16
  </view>
17
17
  <!-- #endif -->
@@ -88,6 +88,7 @@
88
88
  </view>
89
89
  </view>
90
90
  </view>
91
+ {{cardList }} --- {{cardList.length}}
91
92
  </view>
92
93
  <view class="computed-height">
93
94
  <view
@@ -178,7 +179,7 @@ export default {
178
179
  return this.fixedStyle({height: 0, zIndex: 111});
179
180
  },
180
181
  emptyBg() {
181
- return this.getNoData();
182
+ return this.getNoData();
182
183
  },
183
184
  },
184
185
  watch: {
@@ -226,7 +227,7 @@ export default {
226
227
 
227
228
  handleAllUnBindCard(){
228
229
  this.$xdConfirm({
229
- $vm: this,
230
+ styles: this.styles,
230
231
  content: "您确定要解除绑定所有票券吗?",
231
232
  title: "系统提示",
232
233
  width: "80%",
@@ -259,7 +260,7 @@ export default {
259
260
 
260
261
  handleUnBindCard(item) {
261
262
  this.$xdConfirm({
262
- $vm: this,
263
+ styles: this.styles,
263
264
  content: "您确定要解除绑定票券吗?",
264
265
  title: "系统提示",
265
266
  width: "80%",
@@ -37,15 +37,13 @@
37
37
  :placeholder="card_pwd_placeholder"
38
38
  />
39
39
  <xd-font-icon
40
- @click="isPassword = !isPassword"
40
+ @click="handleIcon()"
41
41
  :icon="isPassword ? 'iconbiyan' : 'iconchakan'"
42
42
  ></xd-font-icon>
43
43
  </view>
44
44
  </view>
45
45
  <view class="jfb-base-card-info__body-footer" :style="prod_bottom">
46
- <xd-button type="primary" width="360rpx" @click="handleGetInfo"
47
- >确认</xd-button
48
- >
46
+ <xd-button type="primary" width="360rpx" @click="handleGetInfo">确认</xd-button>
49
47
  </view>
50
48
  </view>
51
49
 
@@ -78,15 +76,12 @@
78
76
  <view
79
77
  v-if="info.other_card_point && info.card_point_type !== 1"
80
78
  class="jfb-base-card-info__body-residue-reach"
81
- >购买其他物品可抵:{{ info.other_card_point }}</view
82
- >
79
+ >购买其他物品可抵:{{ info.other_card_point }}</view>
83
80
  </view>
84
81
  <view
85
82
  class="jfb-base-card-info__body-residue-business"
86
83
  v-if="info.card_point_type !== 1"
87
- >
88
- 所属业务线:{{ info.main_business_code_name }}
89
- </view>
84
+ >所属业务线:{{ info.main_business_code_name }}</view>
90
85
  </view>
91
86
  <view :style="{ height: '100rpx' }"></view>
92
87
  </view>
@@ -129,18 +124,10 @@ export default {
129
124
  label: "票券号码",
130
125
  key: "card_number",
131
126
  },
132
- // {
133
- // label: "票券类型",
134
- // key: "unit",
135
- // },
136
127
  {
137
128
  label: "票券状态",
138
129
  key: "card_status_name",
139
130
  },
140
- // {
141
- // label: "票券转换",
142
- // key: "is_exchange_name",
143
- // },
144
131
  {
145
132
  label: "有效期",
146
133
  key: "end_time",
@@ -177,7 +164,7 @@ export default {
177
164
  return true;
178
165
  },
179
166
  showValueKey(){
180
- if(this.info.is_expired === "Y"){
167
+ if(this.info && this.info.is_expired === "Y"){
181
168
  return this.valueKey.filter(item => item.key !== "end_time");
182
169
  }
183
170
  return this.valueKey;
@@ -185,6 +172,9 @@ export default {
185
172
  },
186
173
  created() {},
187
174
  methods: {
175
+ handleIcon(){
176
+ this.isPassword = !this.isPassword
177
+ },
188
178
  toShowCouponDialog(){
189
179
  if(this.info){
190
180
  jfbRootFnExec(this, 'onCustomEvent')("@showBaseConDialog", {user_card_number: this.info.card_number})
@@ -256,7 +246,7 @@ export default {
256
246
  //卡券已被自己绑定时的弹框
257
247
  handleBindConfirm(){
258
248
  this.$xdConfirm({
259
- $vm: this,
249
+ styles: this.styles,
260
250
  width: '90%',
261
251
  content: '您已绑定该票券,无需再次绑定',
262
252
  confirmText: '我的票券',
@@ -194,7 +194,7 @@ export default {
194
194
  handleToLink() {
195
195
  if(this.info.card_point===0) {
196
196
  this.$xdConfirm({
197
- $vm: this,
197
+ styles: this.styles,
198
198
  content: "票券余额为0,是否确认绑定?",
199
199
  width: "80%",
200
200
  success: (res) => {
@@ -269,7 +269,7 @@ export default {
269
269
  //卡券已被自己绑定时的弹框
270
270
  handleBindConfirm(){
271
271
  this.$xdConfirm({
272
- $vm: this,
272
+ styles: this.styles,
273
273
  width: '90%',
274
274
  content: '您已绑定该票券,无需再次绑定',
275
275
  confirmText: '我的票券',
@@ -203,7 +203,7 @@ export default {
203
203
  this.$xdConfirm({
204
204
  title: "是否确认合并卡",
205
205
  isHtml: true,
206
- $vm: this,
206
+ styles: this.styles,
207
207
  content: `转出卡号:${
208
208
  this.mergeForm.from_card_number
209
209
  }(剩余点数:${this.$xdUniHelper.divisionFloatNumber(
@@ -40,8 +40,8 @@
40
40
  </view>
41
41
  </view>
42
42
  <view class="merge-item" :style="{background: themeInStyle['color']}">
43
- <view class="merge-item-box" :style="{backgroundImage: `url(${themeInStyle})`}">
44
- <view class="merge-item-title">
43
+ <view class="merge-item-box" :style="{backgroundImage: `url(//img.jufubao.cn/component/card/mergbg.jpg)`}">
44
+ <view class="merge-item-title" :style="{background: themeOutStyle['color']}">
45
45
  <xd-font-icon icon="iconzhuanru"></xd-font-icon>
46
46
  <view>转入的票券</view>
47
47
  </view>
@@ -137,9 +137,10 @@ export default {
137
137
  toList: [],
138
138
  fromSelect: null,
139
139
  toSelect: null,
140
- randomKey: Date.now(),
140
+ randomKey:'randomKey',
141
141
  valid_code:'',
142
142
  valid_token: 'valid_token',
143
+ toListLoading: true,
143
144
 
144
145
 
145
146
  content: "",
@@ -251,14 +252,6 @@ export default {
251
252
  },
252
253
 
253
254
  handleToSubmit() {
254
- // if (!this.valid_code) {
255
- // uni.showToast({
256
- // title: "验证码不能为空!",
257
- // icon: "none",
258
- // });
259
- // return;
260
- // }
261
-
262
255
  let outPrice = this.$xdUniHelper.divisionFloatNumber(this.fromSelect.card_point, 100);
263
256
  let outHtml = `${this.fromSelect.value}(剩余:${outPrice})`;
264
257
  let inPrice = this.$xdUniHelper.divisionFloatNumber(this.toSelect.card_point, 100);
@@ -266,7 +259,7 @@ export default {
266
259
  this.$xdConfirm({
267
260
  title: "是否确认合并票券",
268
261
  isHtml: true,
269
- $vm: this,
262
+ styles: this.styles,
270
263
  content: `<div class="label-value"><div><span>转出票券:</span><span>${outHtml}</span></div><div><span>转入票券:</span><span>${inHtml}</span></div></div>`,
271
264
  success: (action) => {
272
265
  let params = {
@@ -295,6 +288,8 @@ export default {
295
288
  });
296
289
  },
297
290
  handleChangeFrom(select) {
291
+ this.toListLoading = false;
292
+ this.randomKey = null;
298
293
  this.fromSelect = select.item;
299
294
  jfbRootExec("toCardListEntry", {vm: this, data: {card_number: select.item.value,},})
300
295
  .then((res) => {
@@ -308,7 +303,11 @@ export default {
308
303
  name: item.card_type_name
309
304
  };
310
305
  });
311
- this.randomKey = Date.now();
306
+ this.randomKey = this.$xdUniHelper.randomChar(20);
307
+ setTimeout(()=>{
308
+ this.toListLoading = true;
309
+ },50)
310
+
312
311
  })
313
312
  .catch((err) => {
314
313
  this.$xdLog.catch(err)
@@ -159,7 +159,7 @@ export default {
159
159
  this.$xdConfirm({
160
160
  title: "是否确认转换",
161
161
  isHtml: true,
162
- $vm: this,
162
+ styles: this.styles,
163
163
  content:content,
164
164
  success:(action)=>{
165
165
  if(action.confirm) {
@@ -219,7 +219,7 @@ export default {
219
219
  this.$xdConfirm({
220
220
  title: "是否确认转换",
221
221
  isHtml: true,
222
- $vm: this,
222
+ styles: this.styles,
223
223
  content:content,
224
224
  success:(action)=>{
225
225
  if(action.confirm) {
@@ -90,7 +90,7 @@
90
90
  </view>
91
91
  <view style="margin-top: 40rpx">
92
92
  <xd-form
93
- label-width="130"
93
+ label-width="150"
94
94
  label-align="right"
95
95
  content-align="left"
96
96
  :border="true"
@@ -695,7 +695,7 @@ export default {
695
695
  content: "请阅读并勾选读用户协议与隐私协议",
696
696
  cancel: false,
697
697
  confirmText: "我知道了",
698
- $vm: this,
698
+ styles: this.styles,
699
699
  });
700
700
  return;
701
701
  }
@@ -27,7 +27,7 @@
27
27
  >
28
28
  </view>
29
29
  <xd-form
30
- label-width="130"
30
+ label-width="170"
31
31
  label-align="right"
32
32
  content-align="left"
33
33
  :border="true"
@@ -25,7 +25,7 @@
25
25
  <view style="font-size:26rpx;color:#999;margin-top:20rpx;">请输入{{pwd_type_text}}并牢记</view>
26
26
  </view>
27
27
  <xd-form
28
- label-width="130"
28
+ label-width="170"
29
29
  label-align="right"
30
30
  content-align="left"
31
31
  :border="true"
@@ -77,8 +77,8 @@
77
77
  import XdForm from "@/components/XdForm/XdForm";
78
78
  import XdFormInput from "@/components/XdFormInput/XdFormInput";
79
79
  import XdButton from "@/components/XdButton/XdButton";
80
-
81
-
80
+
81
+
82
82
  export default {
83
83
  name: "JfbBaseLoginSetPwd",
84
84
  components: {
@@ -333,7 +333,7 @@
333
333
  console.log('this.time', this.time * 60 + '分钟');
334
334
  storage.set(this.containerId, 1, this.time);
335
335
  this.$xdConfirm({
336
- $vm: this,
336
+ styles: this.styles,
337
337
  title: this.title || this.ajaxTitle,
338
338
  content: this.content,
339
339
  isHtml: true,
@@ -1252,7 +1252,7 @@ export default {
1252
1252
  });
1253
1253
  } else {
1254
1254
  this.$xdConfirm({
1255
- $vm: this,
1255
+ styles: this.styles,
1256
1256
  content: "是否取消订单",
1257
1257
  success: (action) => {
1258
1258
  if (action.confirm) {
@@ -389,7 +389,7 @@ export default {
389
389
 
390
390
  cancelUnPayOrder(main_order_id) {
391
391
  this.$xdConfirm({
392
- $vm: this,
392
+ styles: this.styles,
393
393
  content: "是否取消订单?",
394
394
  success: (res) => {
395
395
  if (res.confirm) {
@@ -487,10 +487,11 @@
487
487
  //外部链接
488
488
  if (item.redirect_type === 'URL') {
489
489
  let reg = /^(http:\/\/|https:\/\/|\/\/)+.+$/;
490
+ let spReg = /(-apiuri\/v)/;
490
491
  //#ifdef MP-WEIXIN
491
492
  try {
492
493
  let url = JSON.parse(item.redirect_data);
493
- if (reg.test(url.url)) {
494
+ if (reg.test(url.url) || spReg.test(url.url)) {
494
495
  console.warn(`广告跳转外站: ${url.url}`)
495
496
  this.$xdUniHelper.navigateTo(url);
496
497
  } else {
@@ -283,10 +283,11 @@
283
283
  //外部链接
284
284
  if (item.redirect_type === 'URL') {
285
285
  let reg = /^(http:\/\/|https:\/\/|\/\/)+.+$/;
286
+ let spReg = /(-apiuri\/v)/;
286
287
  //#ifdef MP-WEIXIN
287
288
  try {
288
289
  let url = JSON.parse(item.redirect_data);
289
- if (reg.test(url.url)) {
290
+ if (reg.test(url.url) || spReg.test(url.url)) {
290
291
  console.warn(`广告跳转外站: ${url.url}`)
291
292
  this.$xdUniHelper.navigateTo(url);
292
293
  } else {
@@ -732,10 +732,11 @@ export default {
732
732
  //外部链接
733
733
  if (item.redirect_type === 'URL') {
734
734
  let reg = /^(http:\/\/|https:\/\/|\/\/)+.+$/;
735
+ let spReg = /(-apiuri\/v)/;
735
736
  //#ifdef MP-WEIXIN
736
737
  try {
737
738
  let url = JSON.parse(item.redirect_data);
738
- if (reg.test(url.url)) {
739
+ if (reg.test(url.url) || spReg.test(url.url)) {
739
740
  console.warn(`广告跳转外站: ${url.url}`)
740
741
  this.$xdUniHelper.navigateTo(url);
741
742
  } else {
@@ -207,10 +207,11 @@
207
207
  //外部链接
208
208
  if (item.redirect_type === 'URL') {
209
209
  let reg = /^(http:\/\/|https:\/\/|\/\/)+.+$/;
210
+ let spReg = /(-apiuri\/v)/;
210
211
  //#ifdef MP-WEIXIN
211
212
  try {
212
213
  let url = JSON.parse(item.redirect_data);
213
- if (reg.test(url.url)) {
214
+ if (reg.test(url.url) || spReg.test(url.url)) {
214
215
  console.warn(`广告跳转外站: ${url.url}`)
215
216
  this.$xdUniHelper.navigateTo(url);
216
217
  } else {
@@ -321,10 +321,11 @@
321
321
  //外部链接
322
322
  if (item.redirect_type === 'URL') {
323
323
  let reg = /^(http:\/\/|https:\/\/|\/\/)+.+$/;
324
+ let spReg = /(-apiuri\/v)/;
324
325
  //#ifdef MP-WEIXIN
325
326
  try {
326
327
  let url = JSON.parse(item.redirect_data);
327
- if (reg.test(url.url)) {
328
+ if (reg.test(url.url) || spReg.test(url.url)) {
328
329
  console.warn(`广告跳转外站: ${url.url}`)
329
330
  this.$xdUniHelper.navigateTo(url);
330
331
  } else {
@@ -170,7 +170,8 @@
170
170
  this.$xdShowLoading({});
171
171
  store.dispatch('logout').then(res=>{
172
172
  this.$xdHideLoading();
173
- this.jfbAuthorize.removeToken('card');
173
+ this.jfbAuthorize.removeAllCardToken();
174
+ this.jfbAuthorize.removeAllToken()
174
175
  this.jfbAuthorize.jumpToUserLogin(this, false);
175
176
  }).catch(err=>{
176
177
  console.error(err);
@@ -112,20 +112,11 @@
112
112
  @click="handleToBillDetail(item)"
113
113
  >
114
114
  <view>
115
- <XdFontIcon
116
- :icon="
117
- item.operate_type === 'A' ? 'iconshouru' : 'iconzhichu'
118
- "
119
- ></XdFontIcon>
120
- <text style="margin-left: 10rpx">{{
121
- item.trade_type_name
122
- }}</text>
115
+ <XdFontIcon :icon="item.operate_type === 'A' ? 'iconshouru' : 'iconzhichu'"></XdFontIcon>
116
+ <text style="margin-left: 10rpx">{{item.trade_type_name}}</text>
123
117
  </view>
124
118
  <view>
125
- <view
126
- >{{ item.operate_type === "A" ? "+" : "-" }}
127
- {{ dividePrice(item.amount) }}</view
128
- >
119
+ <view>{{ item.operate_type === "A" ? "+" : "-" }} {{ dividePrice(item.amount) }}</view>
129
120
  <view>{{ item.created_time }}</view>
130
121
  </view>
131
122
  </view>
@@ -140,7 +131,7 @@
140
131
  :cancel="false"
141
132
  :confirm="false"
142
133
  @close="handleClose"
143
- title=""
134
+ title="使用"
144
135
  >
145
136
  <view class="jfb-base-wallet-index__body-qrcode">
146
137
  <view>
@@ -189,7 +189,7 @@
189
189
  }
190
190
  else{
191
191
  this.$xdConfirm({
192
- $vm: this,
192
+ styles: this.styles,
193
193
  isTitle: false,
194
194
  showClose: false,
195
195
  content: '用户登录失败',
@@ -200,7 +200,7 @@
200
200
  }
201
201
  }).catch(error=>{
202
202
  this.$xdConfirm({
203
- $vm: this,
203
+ styles: this.styles,
204
204
  isTitle: false,
205
205
  showClose: false,
206
206
  content: '用户登录失败',
@@ -11,7 +11,7 @@ export default {
11
11
  },
12
12
 
13
13
  created(){
14
- debugger
14
+
15
15
  },
16
16
 
17
17
  methods: {