jufubao-base 1.0.183 → 1.0.184-beta1

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 (39) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseCardDelay/Api.js +19 -30
  3. package/src/components/JfbBaseCardDelay/Attr.js +237 -35
  4. package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +279 -78
  5. package/src/components/JfbBaseCardDetailEntry/Attr.js +12 -0
  6. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +14 -0
  7. package/src/components/JfbBaseCardDetailEntry/Mock.js +1 -1
  8. package/src/components/JfbBaseCardEntry/Attr.js +121 -0
  9. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +206 -29
  10. package/src/components/JfbBaseCardGive/Api.js +18 -34
  11. package/src/components/JfbBaseCardGive/Attr.js +40 -32
  12. package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +502 -79
  13. package/src/components/JfbBaseCardGive/Mock.js +2 -9
  14. package/src/components/JfbBaseCardReceive/Api.js +10 -36
  15. package/src/components/JfbBaseCardReceive/Attr.js +9 -39
  16. package/src/components/JfbBaseCardReceive/JfbBaseCardReceive.vue +403 -80
  17. package/src/components/JfbBaseCardReceive/Mock.js +1 -7
  18. package/src/components/JfbBaseCardReceiveCover/Api.js +5 -43
  19. package/src/components/JfbBaseCardReceiveCover/Attr.js +119 -30
  20. package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +189 -82
  21. package/src/components/JfbBaseCardReceiveCover/Mock.js +1 -9
  22. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +1 -1
  23. package/src/components/JfbBaseOrderDetail/Attr.js +42 -0
  24. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +40 -7
  25. package/src/components/JfbBasePay/Attr.js +12 -0
  26. package/src/components/JfbBasePay/JfbBasePay.vue +14 -8
  27. package/src/components/JfbBasePhoneCollect/Attr.js +945 -411
  28. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +307 -27
  29. package/src/components/JfbBasePhoneLogin/Attr.js +893 -405
  30. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +609 -253
  31. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +0 -1
  32. package/src/components/JfbBaseRechargeOrder/Api.js +11 -0
  33. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +46 -27
  34. package/src/components/JfbBaseRechargeOrderDetail/Api.js +11 -0
  35. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +142 -13
  36. package/src/components/JfbBaseRechargeSuccess/Api.js +11 -0
  37. package/src/components/JfbBaseRechargeSuccess/Attr.js +1 -1
  38. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +6 -3
  39. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +0 -1
@@ -56,7 +56,6 @@
56
56
  mixins: [componentsMixins,extsMixins,JfbBasePosterTypeMixin],
57
57
  data() {
58
58
  return {
59
- hideMask: true,
60
59
  params: {},
61
60
  //Swiper 配置
62
61
  posterPosition: null,
@@ -22,5 +22,16 @@ module.exports = [
22
22
  },
23
23
  isConsole: true,
24
24
  disabled: true,
25
+ }, {
26
+ mapFnName: 'getDelayOrderList',
27
+ title: '获取卡延期订单列表',
28
+ path: '/card/v1/card-delay/list-order',
29
+ isRule: false,
30
+ params: {
31
+ page_size: ['page_size', 'Number', true],
32
+ page_token: ['page_token', 'Number', true]
33
+ },
34
+ isConsole: true,
35
+ disabled: true,
25
36
  },
26
37
  ];
@@ -16,8 +16,15 @@
16
16
  </view>
17
17
  <!-- #endif -->
18
18
  <view class="jfb-base-recharge-order__body">
19
- <view v-if="loadingList" :style="{ padding: outMargin }" class="skeleton-wrap">
20
- <view v-for="i in 3" :key="i" class="jfb-base-recharge-order__body-order"
19
+ <view
20
+ v-if="loadingList"
21
+ :style="{ padding: outMargin }"
22
+ class="skeleton-wrap"
23
+ >
24
+ <view
25
+ v-for="i in 3"
26
+ :key="i"
27
+ class="jfb-base-recharge-order__body-order"
21
28
  :style="{
22
29
  background: backgroundColor,
23
30
  border: borderBox,
@@ -42,7 +49,10 @@
42
49
  </view>
43
50
  </view>
44
51
  <template v-else>
45
- <view v-if="orderList&&orderList.length>0" :style="{ padding: outMargin }">
52
+ <view
53
+ v-if="orderList && orderList.length > 0"
54
+ :style="{ padding: outMargin }"
55
+ >
46
56
  <view
47
57
  v-for="(item, index) in orderList"
48
58
  :key="index"
@@ -57,7 +67,7 @@
57
67
  }"
58
68
  >
59
69
  <view class="jfb-base-recharge-order__body-order-header">
60
- 充值订单
70
+ {{ type === "recharge" ? "充值订单" : "延期订单" }}
61
71
  </view>
62
72
  <view class="jfb-base-recharge-order__body-order-middle">
63
73
  <view
@@ -72,13 +82,21 @@
72
82
  <view>交易日期:{{ item.created_time }} </view>
73
83
  </view>
74
84
  <view
75
- style="margin-top: 32rpx; display: flex; justify-content: space-between"
85
+ style="
86
+ margin-top: 32rpx;
87
+ display: flex;
88
+ justify-content: space-between;
89
+ "
76
90
  >
77
- <view style="display: flex; align-items: center;font-size: 24rpx;"
78
- >合计:<xd-unit :fontSize="24" iconSize="0.24" :price="item.total_amount"></xd-unit
91
+ <view style="display: flex; align-items: center; font-size: 24rpx"
92
+ >合计:<xd-unit
93
+ :fontSize="24"
94
+ iconSize="0.24"
95
+ :price="item.total_amount"
96
+ ></xd-unit
79
97
  ></view>
80
98
  <xd-button
81
- v-if="item.pay_status !== '3000'"
99
+ v-if="item.pay_status !== '3000'"
82
100
  width="200rpx"
83
101
  style="margin: 0"
84
102
  size="mini"
@@ -92,7 +110,6 @@
92
110
  </view>
93
111
  </view>
94
112
  </template>
95
-
96
113
  </view>
97
114
  </view>
98
115
  </template>
@@ -147,12 +164,13 @@ export default {
147
164
  right: 0,
148
165
  bottom: 0,
149
166
  },
167
+ type: "recharge",
150
168
  };
151
169
  },
152
170
  watch: {
153
- container(value,oldValue) {
154
- if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
155
- if (this.$configProject['isPreview']) this.init(value)
171
+ container(value, oldValue) {
172
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
173
+ if (this.$configProject["isPreview"]) this.init(value);
156
174
  },
157
175
  },
158
176
  computed: {
@@ -161,7 +179,7 @@ export default {
161
179
  str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
162
180
  str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
163
181
  str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
164
- return str
182
+ return str;
165
183
  },
166
184
  shadowBox() {
167
185
  if (this.is_shadow === "Y")
@@ -179,6 +197,7 @@ export default {
179
197
  },
180
198
  methods: {
181
199
  onJfbLoad(options) {
200
+ this.type = options.type || "recharge";
182
201
  this.getList();
183
202
  },
184
203
  /**
@@ -241,7 +260,8 @@ export default {
241
260
  }).value;
242
261
  },
243
262
  getList() {
244
- jfbRootExec("getRechargeOrderList", {
263
+ let fnName = this.type === "recharge" ? "getRechargeOrderList" : "getDelayOrderList";
264
+ jfbRootExec(fnName, {
245
265
  vm: this,
246
266
  data: {
247
267
  page_size: this.page_size,
@@ -264,7 +284,7 @@ export default {
264
284
  }
265
285
  return item;
266
286
  });
267
- this.hasNext = res.next_page_token !== '';
287
+ this.hasNext = res.next_page_token !== "";
268
288
  this.next_page_token = res.next_page_token;
269
289
  })
270
290
  .catch((err) => {
@@ -273,12 +293,12 @@ export default {
273
293
  },
274
294
  handleToPay(item) {
275
295
  this.$xdUniHelper.navigateTo({
276
- url: `${this.payPath}?order_id=${item.pay_order_id}&main_order_id=${item.order_id}&type=recharge`,
296
+ url: `${this.payPath}?order_id=${item.pay_order_id}&main_order_id=${item.order_id}`,
277
297
  });
278
298
  },
279
299
  handleToDetail(item) {
280
300
  this.$xdUniHelper.navigateTo({
281
- url: `${this.detailPath}?id=${item.order_id}`,
301
+ url: `${this.detailPath}?id=${item.order_id}&type=${this.type}`,
282
302
  });
283
303
  },
284
304
 
@@ -290,9 +310,8 @@ export default {
290
310
  },
291
311
 
292
312
  onJfbBack(options) {
293
- this.$xdUniHelper.navigateBack()
313
+ this.$xdUniHelper.navigateBack();
294
314
  },
295
-
296
315
  },
297
316
  };
298
317
  </script>
@@ -306,7 +325,7 @@ export default {
306
325
  &-order {
307
326
  padding: unit(32, rpx);
308
327
  &:last-child {
309
- margin-bottom: 0!important;
328
+ margin-bottom: 0 !important;
310
329
  }
311
330
 
312
331
  &-header {
@@ -316,7 +335,7 @@ export default {
316
335
  padding-bottom: unit(24, rpx);
317
336
 
318
337
  & > view {
319
- .skeleton-wrap &{
338
+ .skeleton-wrap & {
320
339
  .skeleton-item(200rpx, 32rpx);
321
340
  }
322
341
  }
@@ -324,12 +343,12 @@ export default {
324
343
 
325
344
  &-middle {
326
345
  & > view:first-child {
327
- .skeleton-wrap &{
346
+ .skeleton-wrap & {
328
347
  .skeleton-item(400rpx, 32rpx);
329
348
  }
330
349
  }
331
350
  & > view:last-child {
332
- .skeleton-wrap &{
351
+ .skeleton-wrap & {
333
352
  .skeleton-item(100rpx, 32rpx);
334
353
  }
335
354
  }
@@ -337,19 +356,19 @@ export default {
337
356
 
338
357
  &-bottom {
339
358
  border-bottom: unit(2, rpx) solid #f2f2f2;
340
- padding-bottom: unit(32,rpx);
359
+ padding-bottom: unit(32, rpx);
341
360
 
342
361
  & > view:first-child {
343
- .skeleton-wrap &{
362
+ .skeleton-wrap & {
344
363
  .skeleton-item(400rpx, 32rpx);
345
364
  }
346
365
  }
347
366
  }
348
367
  &-bbb {
349
- padding: unit(32,rpx) 0 0;
368
+ padding: unit(32, rpx) 0 0;
350
369
 
351
370
  & > view:first-child {
352
- .skeleton-wrap &{
371
+ .skeleton-wrap & {
353
372
  .skeleton-item(100%, 32rpx);
354
373
  }
355
374
  }
@@ -22,4 +22,15 @@ module.exports = [
22
22
  isConsole: true,
23
23
  disabled: true,
24
24
  },
25
+ {
26
+ mapFnName: 'getDelayOrderDetail',
27
+ title: '获取卡延期订单详情',
28
+ path: '/card/v1/card-recharge/get-order',
29
+ isRule: false,
30
+ params: {
31
+ order_id: ['订单id', 'Number', true],
32
+ },
33
+ isConsole: true,
34
+ disabled: true,
35
+ },
25
36
  ];
@@ -10,25 +10,52 @@
10
10
  :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-base-recharge-order-detail__edit-icon" @click="delEdit">删除</view>
13
+ <view class="jfb-base-recharge-order-detail__edit-icon" @click="delEdit"
14
+ >删除</view
15
+ >
14
16
  </view>
15
17
  <!-- #endif -->
16
- <view v-if="info!==null" class="jfb-base-recharge-order-detail__body">
18
+ <view v-if="info !== null" class="jfb-base-recharge-order-detail__body">
19
+ <view
20
+ v-if="type === 'delay'"
21
+ class="jfb-base-recharge-order-detail__body-delay jfb-base-recharge-order-detail__body-card"
22
+ >
23
+ <image
24
+ src="https://img3.jufubao.cn/uploads/20240911/f013c774b2ae205e13d1e9cad062b5db.jpg?ver=1726047927908"
25
+ ></image>
26
+ <view class="jfb-base-recharge-order-detail__body-delay-info">
27
+ <view>{{ info.package_name }}</view>
28
+ <!-- <view>
29
+ <xd-unit
30
+ :price="info.total_amount"
31
+ :fontSize="32"
32
+ :iocnSize="0.32"
33
+ ></xd-unit>
34
+ </view> -->
35
+ </view>
36
+ </view>
17
37
  <view
18
38
  class="jfb-base-recharge-order-detail__body-point jfb-base-recharge-order-detail__body-card"
39
+ v-if="type === 'recharge'"
19
40
  >
20
41
  <view>充值点数</view>
21
42
  <xd-unit
22
43
  :price="info.card_point"
23
44
  :fontSize="80"
24
- :iocnSize="0.50"
45
+ :iocnSize="0.5"
25
46
  ></xd-unit>
26
47
  </view>
27
48
  <view
49
+ v-if="type === 'recharge'"
28
50
  class="jfb-base-recharge-order-detail__body-order jfb-base-recharge-order-detail__body-card"
29
51
  >
30
52
  <view class="jfb-base-recharge-order-detail__body-order-header">
31
- <view> 充值订单编号:{{ info.order_id }} </view>
53
+ <view> 订单编号:{{ info.order_id }} </view>
54
+ <view
55
+ class="jfb-base-recharge-order-detail__body-order-header-copy"
56
+ @click="copy(info.order_id)"
57
+ >复制单号</view
58
+ >
32
59
  </view>
33
60
  <view class="jfb-base-recharge-order-detail__body-order-item">
34
61
  <view>充值券号:{{ info.card_number }} </view>
@@ -38,13 +65,39 @@
38
65
  </view>
39
66
  </view>
40
67
  <view
68
+ v-if="type === 'delay'"
69
+ class="jfb-base-recharge-order-detail__body-order jfb-base-recharge-order-detail__body-card"
70
+ >
71
+ <view class="jfb-base-recharge-order-detail__body-order-header">
72
+ <view> 订单编号:{{ info.order_id }} </view>
73
+ <view
74
+ class="jfb-base-recharge-order-detail__body-order-header-copy"
75
+ @click="copy(info.order_id)"
76
+ >复制单号</view
77
+ >
78
+ </view>
79
+ <view class="jfb-base-recharge-order-detail__body-order-item">
80
+ <view>延期券号:{{ info.card_number }} </view>
81
+ </view>
82
+ <view class="jfb-base-recharge-order-detail__body-order-item">
83
+ <view>延期时间:{{ info.delay_days }}天</view>
84
+ </view>
85
+ <view class="jfb-base-recharge-order-detail__body-order-item">
86
+ <view>到期时间:{{ info.card_end_time }}</view>
87
+ </view>
88
+ </view>
89
+ <view
90
+ v-if="type === 'recharge'"
41
91
  class="jfb-base-recharge-order-detail__body-order jfb-base-recharge-order-detail__body-card"
42
92
  >
43
- <view style="padding-top: 0;" class="jfb-base-recharge-order-detail__body-order-item">
93
+ <view
94
+ style="padding-top: 0"
95
+ class="jfb-base-recharge-order-detail__body-order-item"
96
+ >
44
97
  <view>支付方式:微信</view>
45
98
  </view>
46
99
  <view class="jfb-base-recharge-order-detail__body-order-item">
47
- <view>充值金额:{{ info.pay_amount/100 }} </view>
100
+ <view>充值金额:{{ info.pay_amount / 100 }} </view>
48
101
  </view>
49
102
  <view class="jfb-base-recharge-order-detail__body-order-item">
50
103
  <view>充值点数:{{ info.card_point }} </view>
@@ -53,6 +106,23 @@
53
106
  <view>充值状态:{{ info.pay_status_name }}</view>
54
107
  </view>
55
108
  </view>
109
+ <view
110
+ v-if="type === 'delay'"
111
+ class="jfb-base-recharge-order-detail__body-order jfb-base-recharge-order-detail__body-card"
112
+ >
113
+ <view
114
+ style="padding-top: 0"
115
+ class="jfb-base-recharge-order-detail__body-order-item"
116
+ >
117
+ <view>延期方式:微信</view>
118
+ </view>
119
+ <view class="jfb-base-recharge-order-detail__body-order-item">
120
+ <view>下单时间:{{ info.created_time }} </view>
121
+ </view>
122
+ <view class="jfb-base-recharge-order-detail__body-order-item">
123
+ <view>订单状态:{{ info.pay_status_name }}</view>
124
+ </view>
125
+ </view>
56
126
  </view>
57
127
  </view>
58
128
  </template>
@@ -76,12 +146,13 @@ export default {
76
146
  return {
77
147
  order_id: "",
78
148
  info: null,
149
+ type: "recharge", //延期:delay,充值:recharge
79
150
  };
80
151
  },
81
152
  watch: {
82
- container(value,oldValue) {
83
- if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
84
- if (this.$configProject['isPreview']) this.init(value)
153
+ container(value, oldValue) {
154
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
155
+ if (this.$configProject["isPreview"]) this.init(value);
85
156
  },
86
157
  },
87
158
  created() {
@@ -90,6 +161,7 @@ export default {
90
161
  methods: {
91
162
  onJfbLoad(options) {
92
163
  this.order_id = options.id || options.order_id;
164
+ this.type = options.type || "recharge";
93
165
  this.getDetial();
94
166
  },
95
167
  /**
@@ -101,25 +173,56 @@ export default {
101
173
  //this.height = getContainerPropsValue(container, 'content.height', 10);
102
174
  },
103
175
  getDetial() {
104
- jfbRootExec("getRechargeOrderDetail", {
176
+ let fnName =
177
+ this.type === "recharge"
178
+ ? "getRechargeOrderDetail"
179
+ : "getDelayOrderDetail";
180
+ jfbRootExec(fnName, {
105
181
  vm: this,
106
182
  data: {
107
183
  order_id: this.order_id,
108
184
  },
109
185
  })
110
186
  .then((res) => {
111
-
112
- res.total_amount = this.$xdUniHelper.divisionFloatNumber(res.total_amount,100);
113
- res.card_point = this.$xdUniHelper.divisionFloatNumber(res.card_point,100);
187
+ res.total_amount = this.$xdUniHelper.divisionFloatNumber(
188
+ res.total_amount,
189
+ 100
190
+ );
191
+ res.card_point = this.$xdUniHelper.divisionFloatNumber(
192
+ res.card_point,
193
+ 100
194
+ );
114
195
  res["created_time"] = this.$xdUniHelper.getDate(
115
196
  res["created_time"] * 1000
116
197
  ).fullTime;
198
+ res["card_end_time"] = this.$xdUniHelper.getDate(
199
+ res["card_end_time"] * 1000
200
+ ).fullTime;
117
201
  this.info = res;
118
202
  })
119
203
  .catch((err) => {
120
204
  console.log(err, "err");
121
205
  });
122
206
  },
207
+ /**
208
+ *@description 复制功能
209
+ * @param text
210
+ */
211
+ copy(text) {
212
+ // #ifdef H5
213
+ this.$copyText(text).then((res) => {
214
+ this.$xdAlert({ content: "复制成功" });
215
+ });
216
+ // #endif
217
+ // #ifndef H5
218
+ uni.setClipboardData({
219
+ data: text,
220
+ success: () => {
221
+ //this.$xdAlert({ content: "复制成功" });
222
+ },
223
+ });
224
+ // #endif
225
+ },
123
226
  onJfbScroll(options) {
124
227
  console.log("event.onJfbScroll", options);
125
228
  },
@@ -167,6 +270,23 @@ export default {
167
270
  font-size: unit(36, rpx);
168
271
  }
169
272
 
273
+ &-delay {
274
+ display: flex;
275
+ align-items: center;
276
+ font-size: unit(32, rpx);
277
+ image {
278
+ width: 140rpx;
279
+ height: 140rpx;
280
+ margin-right: 56rpx;
281
+ }
282
+ &-info {
283
+ height: 140rpx;
284
+ display: flex;
285
+ flex-direction: column;
286
+ justify-content: center;
287
+ }
288
+ }
289
+
170
290
  &-order {
171
291
  &-header {
172
292
  display: flex;
@@ -177,6 +297,15 @@ export default {
177
297
  font-weight: bold;
178
298
  padding-bottom: unit(32, rpx);
179
299
  border-bottom: unit(2, rpx) solid #f2f2f2;
300
+ &-copy {
301
+ border-radius: unit(16, rpx);
302
+ border: unit(2, rpx) solid #999999;
303
+ color: #999999;
304
+ font-size: unit(20, rpx) !important;
305
+ padding: unit(8, rpx) unit(20, rpx);
306
+ flex-shrink: 0;
307
+ margin-left: unit(15, rpx);
308
+ }
180
309
  }
181
310
 
182
311
  &-item {
@@ -22,4 +22,15 @@ module.exports = [
22
22
  isConsole: true,
23
23
  disabled: true,
24
24
  },
25
+ {
26
+ mapFnName: 'getDelayOrderDetail',
27
+ title: '获取卡延期订单详情',
28
+ path: '/card/v1/card-delay/get-order',
29
+ isRule: false,
30
+ params: {
31
+ order_id: ['订单id', 'Number', true],
32
+ },
33
+ isConsole: true,
34
+ disabled: true,
35
+ },
25
36
  ];
@@ -8,7 +8,7 @@ export default {
8
8
  content: (data) => {
9
9
  return [
10
10
  {
11
- label: '充值成功去订单详情地址:',
11
+ label: '卡券操作成功去订单详情地址:',
12
12
  ele: 'xd-select-pages-path',
13
13
  valueKey: 'detailPath',
14
14
  groupKey:'advanced',
@@ -66,6 +66,7 @@ export default {
66
66
  maxTime: 5, //最长轮询2的N次方(秒)
67
67
  date: 2, //时间底数
68
68
  time: 1, //时间幂指数
69
+ type: 'recharge', //延期:delay,充值:recharge
69
70
  };
70
71
  },
71
72
  watch: {
@@ -80,6 +81,7 @@ export default {
80
81
  methods: {
81
82
  onJfbLoad(options) {
82
83
  this.order_id = options.id || options.order_id;
84
+ this.type = options.type || 'recharge';
83
85
  this.getStatus();
84
86
  },
85
87
  /**
@@ -97,7 +99,8 @@ export default {
97
99
  }).value;
98
100
  },
99
101
  getStatus() {
100
- jfbRootExec("getRechargeOrderDetail", {
102
+ let fnName = this.type === 'recharge' ? 'getRechargeOrderDetail' : 'getDelayOrderDetail';
103
+ jfbRootExec(fnName, {
101
104
  vm: this,
102
105
  data: {
103
106
  order_id: this.order_id,
@@ -112,13 +115,13 @@ export default {
112
115
  },
113
116
  handleToPay() {
114
117
  this.$xdUniHelper.navigateTo({
115
- url: `${this.payPath}?order_id=${this.info.pay_order_id}&main_order_id=${this.order_id}&type=recharge`,
118
+ url: `${this.payPath}?order_id=${this.info.pay_order_id}&main_order_id=${this.order_id}`,
116
119
  });
117
120
  },
118
121
  handleToBtn(item) {
119
122
  if (item.type === "detail") {
120
123
  this.$xdUniHelper.navigateTo({
121
- url: `${this.detailPath}?id=${this.order_id}`,
124
+ url: `${this.detailPath}?id=${this.order_id}&type=${this.type}`,
122
125
  });
123
126
  } else if (item.type === "pay") {
124
127
  this.handleToPay()
@@ -167,7 +167,6 @@
167
167
  ],
168
168
  data() {
169
169
  return {
170
- // hideMask: true,
171
170
  menuType: "card", // card, coupon
172
171
  loadingList: true,
173
172
  cardList: [],