jufubao-base 1.0.180 → 1.0.181-beta2

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 (35) 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 +205 -29
  10. package/src/components/JfbBaseCardGive/Api.js +18 -34
  11. package/src/components/JfbBaseCardGive/Attr.js +29 -36
  12. package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +482 -78
  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 +57 -32
  20. package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +150 -82
  21. package/src/components/JfbBaseCardReceiveCover/Mock.js +1 -9
  22. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +1 -1
  23. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +81 -2
  24. package/src/components/JfbBaseOrderDetail/Mock.js +5 -0
  25. package/src/components/JfbBasePay/Attr.js +12 -0
  26. package/src/components/JfbBasePay/JfbBasePay.vue +14 -8
  27. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +0 -1
  28. package/src/components/JfbBaseRechargeOrder/Api.js +11 -0
  29. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +46 -27
  30. package/src/components/JfbBaseRechargeOrderDetail/Api.js +11 -0
  31. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +142 -13
  32. package/src/components/JfbBaseRechargeSuccess/Api.js +11 -0
  33. package/src/components/JfbBaseRechargeSuccess/Attr.js +1 -1
  34. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +6 -3
  35. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +2 -2
@@ -2,110 +2,514 @@
2
2
  <view
3
3
  class="jfb-base-card-give"
4
4
  @click="handleEditxSelect"
5
- :class="{ editx : isEditx && active }"
5
+ :class="{ editx: isEditx && active }"
6
6
  >
7
7
  <!--#ifdef H5-->
8
8
  <view
9
9
  class="jfb-base-card-give__edit"
10
- :class="{ editx : isEditx && active }"
10
+ :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
13
  <view class="jfb-base-card-give__edit-icon" @click="delEdit">删除</view>
14
14
  </view>
15
15
  <!-- #endif -->
16
- <view class="jfb-base-card-give__body">
17
- <view>测试插件( {{containerId}} )</view>
16
+ <view class="jfb-base-card-give__body" v-if="info !== null">
17
+ <view
18
+ class="qrcode_card"
19
+ :style="{ background: info['theme']['color'], backgroundSize: '100%' }"
20
+ >
21
+ <view
22
+ :style="{ backgroundImage: 'url(' + info['theme']['image'] + ')' }"
23
+ >
24
+ <view class="card-title"
25
+ ><view>{{ info["card_type_name"] }}</view></view
26
+ >
27
+ <view class="card_info">
28
+ <view class="card_type">券号:{{ info.card_number }}</view>
29
+ <view class="card_sec">有效期:{{ info.end_time }}</view>
30
+ <view class="card_sec"
31
+ >余额:{{ info.card_point }}{{ info.unit }}</view
32
+ >
33
+ <view
34
+ class="card_other"
35
+ v-if="info.other_card_point && info.card_point_type === 2"
36
+ >
37
+ <text>购买其他物品可抵:</text
38
+ ><text>{{ info.other_card_point }} {{ info.unit }}</text>
39
+ </view>
40
+ </view>
41
+ </view>
42
+ </view>
43
+
44
+ <view
45
+ v-if="
46
+ info.transfer_record.status &&
47
+ info.site_entry_settings &&
48
+ info.site_entry_settings.length > 0
49
+ "
50
+ class="jfb-base-card-give__body-business"
51
+ >
52
+ <view class="jfb-base-card-give__body-business-title"
53
+ >支持业务板块</view
54
+ >
55
+ <view
56
+ style="
57
+ display: flex;
58
+ align-content: center;
59
+ justify-content: flex-start;
60
+ "
61
+ >
62
+ <view class="jfb-base-card-give__body-business-content">
63
+ <view
64
+ class="jfb-base-card-give__body-business-content-item"
65
+ v-for="(item, index) in info.site_entry_settings"
66
+ :key="index"
67
+ >
68
+ <view><image :src="item.image_url"></image></view>
69
+ <view>{{ item.entry_name }}</view>
70
+ </view>
71
+ </view>
72
+ </view>
73
+ </view>
74
+
75
+ <view v-if="!info.transfer_record.status" class="greeting">
76
+ <view class="greeting-title">礼品赠言</view>
77
+ <textarea
78
+ v-model="greeting"
79
+ name=""
80
+ id=""
81
+ maxlength="20"
82
+ cols="30"
83
+ rows="10"
84
+ ></textarea>
85
+ <xd-button @click="handleGive" type="primary">确认赠送</xd-button>
86
+ </view>
87
+ <view
88
+ class="jfb-base-card-give__body-footer"
89
+ :style="prod_bottom"
90
+ v-if="
91
+ info.transfer_record.status && info.transfer_record.status === 'N'
92
+ "
93
+ >
94
+ <xd-button type="primary" @click="handleCancel">取消赠送</xd-button>
95
+ <!-- #ifdef H5 -->
96
+ <xd-button type="primary" @click="handleShare">再次分享</xd-button>
97
+ <!-- #endif -->
98
+ <!-- #ifdef MP-WEIXIN -->
99
+ <button :style="{background:mainColor}" class="share-btn" @click="handleShare" open-type="share">
100
+ 再次分享
101
+ </button>
102
+ <!-- #endif -->
103
+ </view>
104
+ <xd-dailog
105
+ title="已赠送"
106
+ :cancel="false"
107
+ :confirm="false"
108
+ :show.sync="dialogShow"
109
+ >
110
+ <view class="dialog">
111
+ <view class="dialog-content"
112
+ >您的票券已赠送,快去告诉朋友及时领取吧!</view
113
+ >
114
+ <view class="dialog-notice"
115
+ >超过24H未领取,票券会自动退回您的账户中。</view
116
+ >
117
+ <!-- #ifdef MP-WEIXIN -->
118
+ <button :style="{background:mainColor}" class="share-btn" @click="handleShare" open-type="share">
119
+ 通知微信好友
120
+ </button>
121
+ <!-- #endif -->
122
+ <!-- #ifdef H5 -->
123
+ <xd-button @click="handleShare" width="360rpx" type="primary"
124
+ >通知微信好友</xd-button
125
+ >
126
+ <!-- #endif -->
127
+ </view>
128
+ </xd-dailog>
129
+ <xd-dailog
130
+ title="取消失败"
131
+ :cancel="false"
132
+ :confirm="false"
133
+ :show.sync="resultDialog"
134
+ >
135
+ <view class="dialog">
136
+ <view class="dialog-content">{{ errMsg }}</view>
137
+ <xd-button @click="handleCancel" width="360rpx" type="primary"
138
+ >确定</xd-button
139
+ >
140
+ </view>
141
+ </xd-dailog>
18
142
  </view>
19
143
  </view>
20
144
  </template>
21
145
 
22
146
  <script>
23
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
24
- import { jfbRootExec } from "@/utils/xd.event";
25
- import JfbBaseCardGiveMixin from "./JfbBaseCardGiveMixin";
26
- import { getContainerPropsValue } from "@/utils/xd.base";
27
- import componentsMixins from "@/mixins/componentsMixins";
28
- import extsMixins from "@/mixins/extsMixins";
29
- export default {
30
- name: "JfbBaseCardGive",
31
- components: {
32
- XdFontIcon
147
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
148
+ import XdButton from "@/components/XdButton/XdButton";
149
+ import XdDailog from "@/components/XdDailog/XdDailog";
150
+ import { jfbRootExec } from "@/utils/xd.event";
151
+ import JfbBaseCardGiveMixin from "./JfbBaseCardGiveMixin";
152
+ import colorCardMixins from "@/mixins/colorCardMixins";
153
+ import { getContainerPropsValue } from "@/utils/xd.base";
154
+ import componentsMixins from "@/mixins/componentsMixins";
155
+ import { mapState, mapMutations } from "vuex";
156
+ import extsMixins from "@/mixins/extsMixins";
157
+ import getServiceUrl from "@/common/getServiceUrl";
158
+
159
+ export default {
160
+ name: "JfbBaseCardGive",
161
+ components: {
162
+ XdFontIcon,
163
+ XdButton,
164
+ XdDailog,
165
+ },
166
+ mixins: [componentsMixins, extsMixins, JfbBaseCardGiveMixin, colorCardMixins],
167
+ data() {
168
+ return {
169
+ info: null,
170
+ card_number: null,
171
+ greeting: "",
172
+ dialogShow: false,
173
+ get_url: null,
174
+ shareImage: "",
175
+ isPreview: false,
176
+ errMsg: "",
177
+ resultDialog: false,
178
+ };
179
+ },
180
+ computed: {
181
+ ...mapState(["shareInfo"]),
182
+ prod_bottom() {
183
+ return this.fixedStyle({ height: 0, zIndex: 111 });
184
+ },
185
+ },
186
+ watch: {
187
+ container(value, oldValue) {
188
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
189
+ if (this.$configProject["isPreview"]) this.init(value);
190
+ },
191
+ },
192
+ async created() {
193
+ this.isPreview = this.$configProject["isPreview"];
194
+ this.init(this.container);
195
+ console.log(this.projectAttr, "this.projectAttr");
196
+ },
197
+ methods: {
198
+ ...mapMutations(["setShareInfo"]),
199
+ async onJfbLoad(options) {
200
+ this.card_number = options.card_number;
201
+ await this.getDetail();
33
202
  },
34
- mixins: [
35
- componentsMixins, extsMixins, JfbBaseCardGiveMixin
36
- ],
37
- data() {
38
- return {
203
+ getDetail() {
204
+ this.$xdShowLoading({});
205
+ jfbRootExec("getBaseByIdCardDetailGive", {
206
+ vm: this,
207
+ data: {
208
+ card_number: this.card_number,
209
+ is_show_entry_settings: "Y",
210
+ },
211
+ })
212
+ .then((res) => {
213
+ this.$xdHideLoading({});
214
+ this.info = res;
215
+ this.info.card_point = this.$xdUniHelper.divisionFloatNumber(
216
+ this.info.card_point,
217
+ 100
218
+ );
219
+ this.greeting = res.transfer_record.greeting;
220
+ this.info["theme"] = this.getCardThemes(this.info["card_type_name"]);
221
+ if (
222
+ this.info &&
223
+ this.info.site_entry_settings &&
224
+ this.info.site_entry_settings.length > 0
225
+ ) {
226
+ this.info.site_entry_settings =
227
+ this.info.site_entry_settings.filter((item) => {
228
+ item["image_url"] = getServiceUrl(item["image_url"]);
229
+ return this.info.business_codes.includes(item.business_code);
230
+ });
231
+ }
232
+ })
233
+ .catch((err) => {
234
+ this.$xdHideLoading({});
235
+ console.log(err, "err");
236
+ });
237
+ },
238
+ /**
239
+ * @description 监听事件变化
240
+ * @param container {object} 业务组件对象自己
241
+ */
242
+ init(container) {
243
+ this.get_url = getContainerPropsValue(container, "content.get_url", {
244
+ value: "",
245
+ }).value;
246
+ this.shareImage = getContainerPropsValue(
247
+ container,
248
+ "content.shareImage",
249
+ { url: "" }
250
+ ).url;
251
+ },
252
+ handleCancel() {
253
+ this.resultDialog = false;
254
+ this.getDetail();
255
+ },
256
+ handleCancel() {
257
+ this.$xdShowLoading({});
39
258
 
40
- //todo
41
- }
259
+ jfbRootExec("cancelGiveCard", {
260
+ vm: this,
261
+ data: {
262
+ transfer_auth_code: this.info.transfer_record.transfer_auth_code,
263
+ },
264
+ })
265
+ .then((res) => {
266
+ if (res.error_code) {
267
+ this.resultDialog = true;
268
+ this.errMsg = res.error_msg;
269
+ } else {
270
+ this.getDetail();
271
+ }
272
+ this.$xdHideLoading({});
273
+ })
274
+ .catch((err) => {
275
+ this.$xdHideLoading({});
276
+
277
+ console.log(err, "err");
278
+ });
42
279
  },
43
- watch: {
44
- container(value, oldValue) {
45
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
46
- if (this.$configProject['isPreview']) this.init(value)
47
- },
280
+ handleGive() {
281
+ this.$xdShowLoading({});
282
+ jfbRootExec("confirmGiveCard", {
283
+ vm: this,
284
+ data: {
285
+ card_number: this.card_number,
286
+ greeting: this.greeting,
287
+ },
288
+ })
289
+ .then((res) => {
290
+ this.getDetail();
291
+ this.dialogShow = true;
292
+ this.$xdHideLoading({});
293
+ })
294
+ .catch((err) => {
295
+ this.$xdHideLoading({});
296
+ console.log(err, "err");
297
+ });
48
298
  },
49
- created() {
50
- this.init(this.container);
299
+ copy(text) {
300
+ // #ifdef H5
301
+ this.$copyText(text).then((res) => {
302
+ this.$xdAlert({ content: "复制成功" });
303
+ });
304
+ // #endif
305
+ // #ifndef H5
306
+ uni.setClipboardData({
307
+ data: text,
308
+ success: () => {
309
+ this.$xdAlert({ content: "复制成功" });
310
+ },
311
+ });
312
+ // #endif
313
+ },
314
+ handleShare() {
315
+ //#ifdef H5
316
+ let share = `${document.location.origin}/${this.projectAttr.deploy_dir}${this.get_url}?transfer_auth_code=${this.info.transfer_record.transfer_auth_code}`;
317
+ this.copy(share);
318
+ // #endif
319
+ // #ifdef MP-WEIXIN
320
+ this.setShareInfo({
321
+ title: "您的好友送你一张票券,快来领取吧",
322
+ imageUrl: getServiceUrl(this.shareImage),
323
+ path: `${this.get_url}?transfer_auth_code=${this.info.transfer_record.transfer_auth_code}`,
324
+ });
325
+ console.log(this.shareInfo, "shareInfoshareInfo");
51
326
 
52
- //todo
327
+ // #endif
53
328
  },
54
- methods: {
55
- onJfbLoad(options) {
56
-
57
- // jfbRootExec('baiduUserLogin', {
58
-
59
- // vm: this,// data: {
60
-
61
- // account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
62
-
63
- // }
64
-
65
- // }).then().catch()
66
- },
67
- /**
68
- * @description 监听事件变化
69
- * @param container {object} 业务组件对象自己
70
- */
71
- init(container) {
72
-
73
- //this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
74
-
75
- //this.height = getContainerPropsValue(container, 'content.height', 10);
76
- },
77
- onJfbScroll(options) {
78
- console.log('event.onJfbScroll', options)
79
- },
80
- onJfbReachBottom(options) {
81
- console.log('event.onJfbReachBottom', options)
82
- },
83
- onJfbShow(options) {
84
- console.log('event.onJfbShow', options)
85
- },
86
- onJfbHide(options) {
87
- console.log('event.onJfbHide', options)
88
- },
89
- onJfbBack(options) {
90
- console.log('event.onJfbBack', options)
91
- },
92
- onJfbUpdate(...data) {
93
- console.log('event.onJfbUpdate', data)
94
- },
95
- onJfbCustomEvent(options) {
96
- console.log('event.onJfbReachBottom', options)
97
- },
98
- }
99
- }
329
+ onJfbShow(options) {
330
+ console.log("onJfbShow8888");
100
331
 
332
+ // this.dialogShow = false;
333
+ },
334
+ },
335
+ };
101
336
  </script>
102
337
 
103
338
  <style scoped lang="less">
104
- @import "./JfbBaseCardGiveLess.less";
339
+ @import "./JfbBaseCardGiveLess.less";
340
+
341
+ .jfb-base-card-give {
342
+ &__body {
343
+ padding: 28rpx;
344
+ color: #333;
345
+ .qrcode_card {
346
+ position: relative;
347
+ border-radius: unit(16, rpx);
348
+ &-title {
349
+ display: flex;
350
+ font-size: 32rpx;
351
+ }
352
+ .card-title {
353
+ height: unit(56, rpx);
354
+ display: flex;
355
+ justify-content: flex-start;
356
+ align-items: center;
357
+
358
+ & > view {
359
+ padding: 0 unit(50, rpx);
360
+ font-size: unit(24, rpx);
361
+ line-height: unit(56, rpx);
362
+ background: rgba(102, 102, 102, 0.4);
363
+ color: #fff;
364
+ border-radius: unit(16, rpx) 0 unit(16, rpx) 0;
365
+ display: flex;
366
+ align-items: center;
367
+ }
368
+ }
369
+ .card_info {
370
+ color: #ffffff;
371
+ font-size: 28rpx;
372
+ padding-left: 40rpx;
373
+ background-size: 100%;
374
+ min-height: unit(200, rpx);
375
+
376
+   .card_type {
377
+ font-size: 40rpx;
378
+ font-weight: 600;
379
+ margin-top: 20rpx;
380
+ }
381
+ .card_sec {
382
+ margin: 12rpx 0;
383
+ }
384
+ .card_other {
385
+ background-color: rgba(255, 255, 255, 0.2);
386
+ border-radius: 8rpx;
387
+ padding: 8rpx 20rpx;
388
+ display: inline-block;
389
+ margin-bottom: 30rpx;
390
+ }
391
+ }
392
+ }
393
+ .greeting {
394
+ border-radius: 16rpx;
395
+ background: rgba(255, 255, 255, 1);
396
+ padding: 40rpx;
397
+ margin-top: 26rpx;
398
+ &-title {
399
+ font-size: 26rpx;
400
+ margin-bottom: 40rpx;
401
+ }
402
+ textarea {
403
+ border-radius: 16rpx;
404
+ border: 2rpx solid #eeeeee;
405
+ padding: 18rpx 26rpx;
406
+ margin: 0 auto 40rpx auto;
407
+ width: 90%;
408
+ }
409
+ }
410
+ .dialog {
411
+ .dialog-title {
412
+ font-size: 40rpx;
413
+ font-weight: 500;
414
+ text-align: center;
415
+ }
416
+ .dialog-content {
417
+ font-size: 36rpx;
418
+ margin: 40rpx 0;
419
+ text-align: left;
420
+ }
421
+ .dialog-notice {
422
+ font-size: 24rpx;
423
+ color: rgba(255, 87, 51, 1);
424
+ text-align: left;
425
+ margin-bottom: 40rpx;
426
+ }
427
+ }
428
+ &-footer {
429
+ position: fixed;
430
+ left: 0;
431
+ right: 0;
432
+ height: unit(100, rpx);
433
+ display: flex;
434
+ justify-content: space-around;
435
+ align-items: center;
436
+ background: #fff;
437
+ }
438
+ &-business {
439
+ background: #fff;
440
+ border-radius: unit(16, rpx);
441
+ margin-top: unit(24, rpx);
105
442
 
106
- .jfb-base-card-give {
107
- &__body{
443
+ &-title {
444
+ font-size: unit(28, rpx);
445
+ font-weight: 500;
446
+ text-align: center;
447
+ padding: unit(28, rpx);
448
+ }
449
+
450
+ &-content {
451
+ display: flex;
452
+ justify-content: flex-start;
453
+ align-items: center;
454
+ flex-flow: wrap;
455
+ padding-left: unit(30, rpx);
456
+
457
+ & > view {
458
+ width: unit(120, rpx);
459
+ margin-right: unit(10, rpx);
460
+ flex-shrink: 0;
461
+ display: flex;
462
+ justify-content: center;
463
+ flex-direction: column;
464
+ align-items: center;
465
+
466
+ & > view:first-child {
467
+ width: unit(76, rpx);
468
+ height: unit(76, rpx);
469
+ overflow: hidden;
470
+
471
+ & > image {
472
+ height: 100%;
473
+ width: 100%;
474
+ }
475
+ }
108
476
 
477
+ & > view:nth-child(2) {
478
+ margin-top: unit(10, rpx);
479
+ font-size: unit(24, rpx);
480
+ line-height: unit(36, rpx);
481
+ margin-bottom: unit(10, rpx);
482
+ .uni-cut(1,36);
483
+ }
484
+
485
+ & > view:nth-child(3) {
486
+ display: flex;
487
+ justify-content: flex-start;
488
+ align-items: center;
489
+ flex-shrink: 0;
490
+ font-size: unit(20, rpx);
491
+ color: #999;
492
+ }
493
+
494
+ &:last-child {
495
+ margin-right: 0;
496
+ }
497
+ }
498
+ }
499
+ }
500
+ .share-btn {
501
+ opacity: 1;
502
+ font-size: 36rpx;
503
+ height: 80rpx;
504
+ line-height: 80rpx;
505
+ border-radius: 44rpx;
506
+ color: #fff;
507
+ width: auto;
508
+ box-shadow: 0 0 0 rgba(0, 0, 0, 0);
509
+ border: 0;
510
+ padding: 0 60rpx;
511
+ margin: 0;
109
512
  }
110
513
  }
514
+ }
111
515
  </style>
@@ -1,13 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  module.exports = {
4
-
5
- getCardByIdFilmSquate:{},
6
-
7
- updateCardFilmPaiqiDate:{},
8
-
9
- removeCardFilmAddress:{},
10
-
11
- addCardFilmcart:{},
12
-
4
+ getBaseByIdCardDetailGive:{"card_number":"101001000008485","card_point":88705,"card_type_name":"聚福宝福","end_time":"2025-05-30","card_status":"Y","card_status_name":"开启","unit":"点","main_business_code_name":"","other_card_point":0,"is_exchange":"N","exchange_card_type_name":"","exchange_card_point":0,"card_point_type":1,"is_can_unbind":"","business_codes":["movie","market","cake","book","video"],"site_entry_settings":[],"transfer_record":[],"request_id":"970de3fe6285d556"},
5
+ confirmGive:{"transfer_auth_code":"FM9DFOlHKt5x4tX7s1e_b","record_id":6,"expired_time":1723100884,"request_id":"259819d9ed24f218"},
13
6
  }
@@ -7,52 +7,26 @@
7
7
  module.exports = [
8
8
  {
9
9
  //设置方法名字当别忘记加上【模块名字】:Card
10
- mapFnName: 'getCardByIdFilmSquate',
11
- title: '获取电影广场列表',
12
- path: '/api/account/film/list-film-square',
10
+ mapFnName: 'getReceiveDetailCard',
11
+ title: '获取领取详情',
12
+ path: '/card/v1/card-transfer/get-record',
13
13
  isRule: false,
14
14
  params: {
15
- last_key: ['当前页', 'Number', '必选'],
16
- page_size: ['每页数量', 'Number', '必选'],
15
+ transfer_auth_code: ['转增授权码', 'Number', '必选'],
17
16
  },
18
17
  isConsole: true,
19
18
  disabled: true,
20
19
  },
21
20
  {
22
21
  //设置方法名字当别忘记加上【模块名字】:Card
23
- mapFnName: 'updateCardFilmPaiqiDate',
24
- title: '更新排期',
25
- path: '/api/account/film/paiqi-date',
22
+ mapFnName: 'receiveCard',
23
+ title: '领取',
24
+ path: '/card/v1/card-transfer/receive',
26
25
  isRule: false,
27
- params: {
28
- film_id: ['电影id', 'Number', '必选'],
29
- cinema_id: ['影院id', 'Number', '必选'],
30
- },
31
- isConsole: true,
32
- disabled: true,
33
- },
34
- {
35
- //设置方法名字当别忘记加上【模块名字】:Card
36
- mapFnName: 'removeCardFilmAddress',
37
- title: '删除我的配送地址',
38
- path: '/api/account/film/paiqi-date',
39
- isRule: false,
40
- params: {
41
- film_id: ['电影id', 'Number', '必选'],
26
+ data: {
27
+ transfer_auth_code: ['转增授权码', 'Number', '必选'],
42
28
  },
43
29
  isConsole: true,
44
30
  disabled: true,
45
- },
46
- {
47
- //设置方法名字当别忘记加上【模块名字】:Card
48
- mapFnName: 'addCardFilmcart',
49
- title: '添加购物车',
50
- path: '/api/account/film/paiqi-date',
51
- isRule: false,
52
- params: {
53
- film_id: ['电影id', 'Number', '必选'],
54
- },
55
- isConsole: true,
56
- disabled: true,
57
- },
31
+ }
58
32
  ];