jufubao-base 1.0.181-beta9 → 1.0.182-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 (41) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseAddress/Attr.js +50 -1
  3. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +120 -68
  4. package/src/components/JfbBaseAddress/XdTfkItem.vue +117 -0
  5. package/src/components/JfbBaseCardDelay/Api.js +30 -19
  6. package/src/components/JfbBaseCardDelay/Attr.js +35 -237
  7. package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +78 -279
  8. package/src/components/JfbBaseCardDetailEntry/Attr.js +0 -12
  9. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +0 -14
  10. package/src/components/JfbBaseCardDetailEntry/Mock.js +1 -1
  11. package/src/components/JfbBaseCardEntry/Attr.js +0 -121
  12. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +29 -206
  13. package/src/components/JfbBaseCardGive/Api.js +34 -18
  14. package/src/components/JfbBaseCardGive/Attr.js +32 -40
  15. package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +79 -502
  16. package/src/components/JfbBaseCardGive/Mock.js +9 -2
  17. package/src/components/JfbBaseCardReceive/Api.js +36 -10
  18. package/src/components/JfbBaseCardReceive/Attr.js +39 -9
  19. package/src/components/JfbBaseCardReceive/JfbBaseCardReceive.vue +80 -403
  20. package/src/components/JfbBaseCardReceive/Mock.js +7 -1
  21. package/src/components/JfbBaseCardReceiveCover/Api.js +43 -5
  22. package/src/components/JfbBaseCardReceiveCover/Attr.js +30 -119
  23. package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +82 -189
  24. package/src/components/JfbBaseCardReceiveCover/Mock.js +9 -1
  25. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +1 -1
  26. package/src/components/JfbBaseOrderDetail/Attr.js +10 -0
  27. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +16 -97
  28. package/src/components/JfbBaseOrderDetail/Mock.js +0 -5
  29. package/src/components/JfbBaseOrderList/Attr.js +23 -0
  30. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +117 -86
  31. package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +246 -0
  32. package/src/components/JfbBasePay/Attr.js +0 -12
  33. package/src/components/JfbBasePay/JfbBasePay.vue +12 -18
  34. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +1 -0
  35. package/src/components/JfbBaseRechargeOrder/Api.js +0 -11
  36. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +27 -46
  37. package/src/components/JfbBaseRechargeOrderDetail/Api.js +0 -11
  38. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +13 -142
  39. package/src/components/JfbBaseRechargeSuccess/Api.js +0 -11
  40. package/src/components/JfbBaseRechargeSuccess/Attr.js +1 -1
  41. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +3 -6
@@ -8,21 +8,51 @@ export default {
8
8
  content: (data) => {
9
9
  return [
10
10
  {
11
- label: '使用地址:',
11
+ label: '背景颜色:',
12
+ ele: 'xd-color',
13
+ valueKey: 'bgcolor',
14
+ value: data.bgcolor || '',
15
+ placeholder: '请输入占位框背景颜色',
16
+ classNmae: 'input80',
17
+ rules: [
18
+ {
19
+ required: true,
20
+ message: '请输入占位框背景颜色',
21
+ trigger: 'blur'
22
+ },
23
+ ]
24
+ },
25
+ {
26
+ label: '选中路径:',
12
27
  ele: 'xd-select-pages-path',
13
- valueKey: 'use_url',
14
- groupKey: 'advanced',
15
- placeholder: '请选择使用地址',
16
- value: data['use_url'] || null,
28
+ valueKey: 'select-pages-path',
29
+ value: data['select-pages-path'] || null,
17
30
  setting: {
18
- router: XdBus.getParentApi('getPagesTree'),
31
+ router: XdBus.getParentApi('getPagesTree')
19
32
  },
20
- inline: false,
33
+ },
34
+ data.bgcolor && {
35
+ label: '高度:',
36
+ ele: 'el-input',
37
+ type: 'number',
38
+ valueKey: 'height',
39
+ value: data.height || 100,
40
+ placeholder: '请输入占位框高度,单位像素,默认:10px',
41
+ className: 'input80',
21
42
  rules: [
22
- { required: true, message: '请选择领取地址', trigger: ['blur', 'change'] },
43
+ {
44
+ required: true,
45
+ message: '请输入占位框高度',
46
+ trigger: 'blur'
47
+ },
23
48
  ]
24
49
  },
25
- ].filter(i => i)
50
+ {
51
+ label: '', //label
52
+ ele: 'slot', //package 名称
53
+ slot: 'is_reference',
54
+ },
55
+ ].filter(i=>i)
26
56
  },
27
57
  advanced: [],
28
58
  };
@@ -2,433 +2,110 @@
2
2
  <view
3
3
  class="jfb-base-card-receive"
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-receive__edit"
10
- :class="{ editx: isEditx && active }"
10
+ :class="{ editx : isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-base-card-receive__edit-icon" @click="delEdit"
14
- >删除</view
15
- >
13
+ <view class="jfb-base-card-receive__edit-icon" @click="delEdit">删除</view>
16
14
  </view>
17
15
  <!-- #endif -->
18
- <view class="jfb-base-card-receive__body" v-if="info !== null">
19
- <view
20
- class="qrcode_card"
21
- :style="{ background: info['theme']['color'], backgroundSize: '100%' }"
22
- >
23
- <view
24
- :style="{ backgroundImage: 'url(' + info['theme']['image'] + ')' }"
25
- >
26
- <view class="card-title"
27
- ><view>{{ info["card_type_name"] }}</view></view
28
- >
29
- <view class="card_info">
30
- <view class="card_type">券号:{{ info.card_number }}</view>
31
- <view class="card_sec">有效期:{{ info.end_time }}</view>
32
- <view class="card_sec"
33
- >余额:{{ info.card_point }}{{ info.unit }}</view
34
- >
35
- <view
36
- class="card_other"
37
- v-if="info.other_card_point && info.card_point_type === 2"
38
- >
39
- <text>购买其他物品可抵:</text
40
- ><text>{{ info.other_card_point }} {{ info.unit }}</text>
41
- </view>
42
- </view>
43
- </view>
44
- </view>
45
-
46
- <view class="jfb-base-card-receive__body-status">
47
- <view
48
- style="margin-bottom: 32rpx"
49
- class="jfb-base-card-receive__body-status-item"
50
- >
51
- <view>领取状态:</view>
52
- <view
53
- :style="{
54
- color:
55
- info.transfer_record.status === 'Y' ? '#29CB97' : mainColor,
56
- }"
57
- >{{ info.transfer_record.status_name }}</view
58
- >
59
- </view>
60
- <view class="jfb-base-card-receive__body-status-item">
61
- <view>赠送时间:</view>
62
- <view>{{ info.transfer_record.transfer_time }}</view>
63
- </view>
64
- </view>
65
-
66
- <view
67
- v-if="info.site_entry_settings && info.site_entry_settings.length > 0"
68
- class="jfb-base-card-receive__body-business"
69
- >
70
- <view class="jfb-base-card-receive__body-business-title"
71
- >支持业务板块</view
72
- >
73
- <view
74
- style="
75
- display: flex;
76
- align-content: center;
77
- justify-content: flex-start;
78
- "
79
- >
80
- <view class="jfb-base-card-receive__body-business-content">
81
- <view
82
- class="jfb-base-card-receive__body-business-content-item"
83
- v-for="(item, index) in info.site_entry_settings"
84
- :key="index"
85
- >
86
- <view><image :src="item.image_url"></image></view>
87
- <view>{{ item.entry_name }}</view>
88
- </view>
89
- </view>
90
- </view>
91
- </view>
92
- <view
93
- v-if="info.transfer_record.status === 'N'"
94
- style="height: 110rpx"
95
- ></view>
96
- <view
97
- v-if="info.transfer_record.status === 'N'"
98
- class="jfb-base-card-receive__body-footer"
99
- :style="prod_bottom"
100
- >
101
- <xd-button width="670rpx" type="primary" @click="handleReceive"
102
- >立即领取</xd-button
103
- >
104
- </view>
105
- <xd-dailog
106
- title="领取失败"
107
- :cancel="false"
108
- :confirm="false"
109
- :show.sync="dialogShow"
110
- >
111
- <view class="dialog">
112
- <view class="dialog-content">{{ errMsg }}</view>
113
- <xd-button @click="handleClose" width="360rpx" type="primary"
114
- >确定</xd-button
115
- >
116
- </view>
117
- </xd-dailog>
118
- <xd-dailog
119
- title="领取成功"
120
- :cancel="false"
121
- :confirm="false"
122
- :show.sync="resultDialog"
123
- >
124
- <view class="dialog">
125
- <view class="dialog-content">恭喜您领取成功</view>
126
- <view class="dialog-notice">票券已放入您的票券列表中</view>
127
- <!-- <button open-type="share">通知微信好友</button> -->
128
- <xd-button @click="toUse" width="360rpx" type="primary"
129
- >去使用</xd-button
130
- >
131
- </view>
132
- </xd-dailog>
16
+ <view class="jfb-base-card-receive__body">
17
+ <view>测试插件( {{containerId}} )</view>
133
18
  </view>
134
19
  </view>
135
20
  </template>
136
21
 
137
22
  <script>
138
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
139
- import XdButton from "@/components/XdButton/XdButton";
140
- import XdDailog from "@/components/XdDailog/XdDailog";
141
- import { jfbRootExec } from "@/utils/xd.event";
142
- import JfbBaseCardReceiveMixin from "./JfbBaseCardReceiveMixin";
143
- import { getContainerPropsValue } from "@/utils/xd.base";
144
- import componentsMixins from "@/mixins/componentsMixins";
145
- import extsMixins from "@/mixins/extsMixins";
146
- import getServiceUrl from "@/common/getServiceUrl";
147
- import colorCardMixins from "@/mixins/colorCardMixins";
148
-
149
- export default {
150
- name: "JfbBaseCardReceive",
151
- components: {
152
- XdFontIcon,
153
- XdButton,
154
- XdDailog,
155
- },
156
- mixins: [
157
- componentsMixins,
158
- extsMixins,
159
- JfbBaseCardReceiveMixin,
160
- colorCardMixins,
161
- ],
162
- data() {
163
- return {
164
- info: null,
165
- transfer_auth_code: null,
166
- dialogShow: false,
167
- resultDialog: false,
168
- isPreview: false,
169
- errMsg: "",
170
- };
171
- },
172
- computed: {
173
- prod_bottom() {
174
- return this.fixedStyle({ height: 0, zIndex: 111 });
23
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
24
+ import { jfbRootExec } from "@/utils/xd.event";
25
+ import JfbBaseCardReceiveMixin from "./JfbBaseCardReceiveMixin";
26
+ import { getContainerPropsValue } from "@/utils/xd.base";
27
+ import componentsMixins from "@/mixins/componentsMixins";
28
+ import extsMixins from "@/mixins/extsMixins";
29
+ export default {
30
+ name: "JfbBaseCardReceive",
31
+ components: {
32
+ XdFontIcon
175
33
  },
176
- },
177
- watch: {
178
- container(value, oldValue) {
179
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
180
- if (this.$configProject["isPreview"]) this.init(value);
181
- },
182
- },
183
- created() {
184
- this.init(this.container);
185
- console.log(this.layoutInfo, "apapap");
34
+ mixins: [
35
+ componentsMixins, extsMixins, JfbBaseCardReceiveMixin
36
+ ],
37
+ data() {
38
+ return {
186
39
 
187
- //todo
188
- },
189
- methods: {
190
- onJfbLoad(options) {
191
- this.transfer_auth_code = options.transfer_auth_code;
192
- this.getDetail();
193
- },
194
- getDetail() {
195
- jfbRootExec("getReceiveDetailCard", {
196
- vm: this,
197
- data: {
198
- transfer_auth_code: this.transfer_auth_code,
199
- is_show_entry_settings: "Y",
200
- },
201
- })
202
- .then((res) => {
203
- this.info = res;
204
- this.info.card_point = this.$xdUniHelper.divisionFloatNumber(
205
- this.info.card_point,
206
- 100
207
- );
208
- this.info.other_card_point = this.$xdUniHelper.divisionFloatNumber(
209
- this.info.other_card_point,
210
- 100
211
- );
212
- this.info["theme"] = this.getCardThemes(this.info["card_type_name"]);
213
- if (
214
- this.info &&
215
- this.info.site_entry_settings &&
216
- this.info.site_entry_settings.length > 0
217
- ) {
218
- this.info.site_entry_settings =
219
- this.info.site_entry_settings.filter((item) => {
220
- item["image_url"] = getServiceUrl(item["image_url"]);
221
- return this.info.business_codes.includes(item.business_code);
222
- });
223
- }
224
- })
225
- .catch((err) => {
226
- console.log(err, "err");
227
- });
228
- },
229
- handleReceive() {
230
- this.$xdShowLoading({});
231
- jfbRootExec("receiveCard", {
232
- vm: this,
233
- data: {
234
- transfer_auth_code: this.transfer_auth_code,
235
- },
236
- })
237
- .then((res) => {
238
- if (res.error_code) {
239
- this.dialogShow = true;
240
- this.errMsg = res.error_msg;
241
- } else {
242
- this.resultDialog = true;
243
- this.getDetail();
244
- }
245
- this.$xdHideLoading({});
246
- })
247
- .catch((err) => {
248
- this.$xdHideLoading({});
249
- console.log(err, "err");
250
- });
40
+ //todo
41
+ }
251
42
  },
252
- handleClose() {
253
- this.dialogShow = false;
254
- this.getDetail();
43
+ watch: {
44
+ container(value, oldValue) {
45
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
46
+ if (this.$configProject['isPreview']) this.init(value)
47
+ },
255
48
  },
49
+ created() {
50
+ this.init(this.container);
256
51
 
257
- toUse() {
258
- console.log(this.use_url,'this.use_url');
259
-
260
- this.$xdUniHelper.navigateTo({
261
- url: `${this.use_url}`,
262
- });
52
+ //todo
263
53
  },
264
- /**
265
- * @description 监听事件变化
266
- * @param container {object} 业务组件对象自己
267
- */
268
- init(container) {
269
- this.use_url = getContainerPropsValue(container, "content.use_url", {
270
- value: "",
271
- }).value;
272
- },
273
- },
274
- };
275
- </script>
276
-
277
- <style scoped lang="less">
278
- @import "./JfbBaseCardReceiveLess.less";
279
-
280
- .jfb-base-card-receive {
281
- &__body {
282
- padding: 28rpx;
283
- color: #333;
284
- .qrcode_card {
285
- position: relative;
286
- border-radius: unit(16, rpx);
287
- &-title {
288
- display: flex;
289
- font-size: 32rpx;
290
- }
291
- .card-title {
292
- height: unit(56, rpx);
293
- display: flex;
294
- justify-content: flex-start;
295
- align-items: center;
296
-
297
- & > view {
298
- padding: 0 unit(50, rpx);
299
- font-size: unit(24, rpx);
300
- line-height: unit(56, rpx);
301
- background: rgba(102, 102, 102, 0.4);
302
- color: #fff;
303
- border-radius: unit(16, rpx) 0 unit(16, rpx) 0;
304
- display: flex;
305
- align-items: center;
306
- }
307
- }
308
- .card_info {
309
- color: #ffffff;
310
- font-size: 28rpx;
311
- padding-left: 40rpx;
312
- background-size: 100%;
313
- min-height: unit(200, rpx);
314
-
315
-   .card_type {
316
- font-size: 40rpx;
317
- font-weight: 600;
318
- margin-top: 20rpx;
319
- }
320
- .card_sec {
321
- margin: 12rpx 0;
322
- }
323
- .card_other {
324
- background-color: rgba(255, 255, 255, 0.2);
325
- border-radius: 8rpx;
326
- padding: 8rpx 20rpx;
327
- display: inline-block;
328
- margin-bottom: 30rpx;
329
- }
330
- }
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
+ },
331
98
  }
332
- .dialog {
333
- .dialog-title {
334
- font-size: 40rpx;
335
- font-weight: 500;
336
- text-align: center;
337
- }
338
- .dialog-content {
339
- font-size: 36rpx;
340
- margin: 40rpx 0;
341
- text-align: center;
342
- }
343
- .dialog-notice {
344
- font-size: 24rpx;
345
- color: rgba(255, 87, 51, 1);
346
- text-align: center;
347
- margin-bottom: 40rpx;
348
- }
349
- }
350
- &-footer {
351
- position: fixed;
352
- left: 0;
353
- right: 0;
354
- height: unit(100, rpx);
355
- display: flex;
356
- justify-content: center;
357
- align-items: center;
358
- background: #fff;
359
- }
360
- &-status {
361
- background: #fff;
362
- border-radius: unit(16, rpx);
363
- margin-top: unit(24, rpx);
364
- padding: 40rpx;
365
- font-size: 26rpx;
366
- &-item {
367
- display: flex;
368
- }
369
- }
370
- &-business {
371
- background: #fff;
372
- border-radius: unit(16, rpx);
373
- margin-top: unit(24, rpx);
374
-
375
- &-title {
376
- font-size: unit(28, rpx);
377
- font-weight: 500;
378
- text-align: center;
379
- padding: unit(28, rpx);
380
- }
381
-
382
- &-content {
383
- display: flex;
384
- justify-content: flex-start;
385
- align-items: center;
386
- flex-flow: wrap;
387
- padding-left: unit(30, rpx);
388
-
389
- & > view {
390
- width: unit(120, rpx);
391
- margin-right: unit(10, rpx);
392
- flex-shrink: 0;
393
- display: flex;
394
- justify-content: center;
395
- flex-direction: column;
396
- align-items: center;
397
-
398
- & > view:first-child {
399
- width: unit(76, rpx);
400
- height: unit(76, rpx);
401
- overflow: hidden;
99
+ }
402
100
 
403
- & > image {
404
- height: 100%;
405
- width: 100%;
406
- }
407
- }
101
+ </script>
408
102
 
409
- & > view:nth-child(2) {
410
- margin-top: unit(10, rpx);
411
- font-size: unit(24, rpx);
412
- line-height: unit(36, rpx);
413
- margin-bottom: unit(10, rpx);
414
- .uni-cut(1,36);
415
- }
103
+ <style scoped lang="less">
104
+ @import "./JfbBaseCardReceiveLess.less";
416
105
 
417
- & > view:nth-child(3) {
418
- display: flex;
419
- justify-content: flex-start;
420
- align-items: center;
421
- flex-shrink: 0;
422
- font-size: unit(20, rpx);
423
- color: #999;
424
- }
106
+ .jfb-base-card-receive {
107
+ &__body{
425
108
 
426
- &:last-child {
427
- margin-right: 0;
428
- }
429
- }
430
- }
431
109
  }
432
110
  }
433
- }
434
111
  </style>
@@ -2,6 +2,12 @@
2
2
 
3
3
  module.exports = {
4
4
 
5
- getReceiveDetailCard:{"card_number":"101001000008098","card_point":99028,"card_type_name":"多余额福卡","end_time":"2025-07-31","card_status":"Y","card_status_name":"开启","unit":"点","main_business_code_name":"蛋糕(勿改)、网络视听(勿改)、体检(勿改)","other_card_point":79222,"is_exchange":"N","exchange_card_type_name":"","exchange_card_point":0,"card_point_type":2,"is_can_unbind":"","business_codes":["movie","market","cake"],"site_entry_settings":[{"id":94,"business_code":"market","entry_name":"商城","image_url":"\/uploads\/20240903\/a36f36087bfd8f8c389a279cd08c066b.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-02.jufubao.cn\",\"path\":\"\\\/main\\\/mall\\\/index\",\"appType\":\"h5\",\"site_id\":\"1efce09784b33c4a\",\"site_url\":\"https:\\\/\\\/sandbox-website-02.jufubao.cn\\\/apply\\\/main\\\/mall\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/mall\\\/index\",\"fixed_business_code\":\"\"}","custom_redirect_data":"\"\"","redirect_type":"INN","group_id":"default"},{"id":92,"business_code":"cake","entry_name":"蛋糕","image_url":"\/uploads\/20240820\/85a60857ccd5176d4e40d8fe95ebd0dc.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-02.jufubao.cn\",\"path\":\"\\\/main\\\/cake\\\/index\",\"appType\":\"h5\",\"site_id\":\"1efce09784b33c4a\",\"site_url\":\"https:\\\/\\\/sandbox-website-02.jufubao.cn\\\/apply\\\/main\\\/cake\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/cake\\\/index\",\"fixed_business_code\":\"\"}","custom_redirect_data":"\"\"","redirect_type":"INN","group_id":"default"},{"id":93,"business_code":"movie","entry_name":"电影","image_url":"\/uploads\/20240820\/e1600b21059da005f446ce32388ee712.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-02.jufubao.cn\",\"path\":\"\\\/main\\\/movie\\\/index\",\"appType\":\"h5\",\"site_id\":\"1efce09784b33c4a\",\"site_url\":\"https:\\\/\\\/sandbox-website-02.jufubao.cn\\\/apply\\\/main\\\/movie\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/movie\\\/index\",\"fixed_business_code\":\"\"}","custom_redirect_data":"\"\"","redirect_type":"INN","group_id":"default"}],"transfer_record":{"transfer_auth_code":"aa6ljeQETINBUAJ-9l486","status":"N","status_name":"待领取","transfer_time":"2024-09-09 11:32:11","user_id":5000223,"user_nickname":"金L爽","user_phone_number":"188****4566","greeting":"送给你了"},"request_id":"1a93ea5b639d9f60"},
5
+ getCardByIdFilmSquate:{},
6
+
7
+ updateCardFilmPaiqiDate:{},
8
+
9
+ removeCardFilmAddress:{},
10
+
11
+ addCardFilmcart:{},
6
12
 
7
13
  }
@@ -7,14 +7,52 @@
7
7
  module.exports = [
8
8
  {
9
9
  //设置方法名字当别忘记加上【模块名字】:Card
10
- mapFnName: 'getReceiveGreetingCard',
11
- title: '获取祝福语',
12
- path: '/card/v1/card-transfer/get-record',
10
+ mapFnName: 'getCardByIdFilmSquate',
11
+ title: '获取电影广场列表',
12
+ path: '/api/account/film/list-film-square',
13
13
  isRule: false,
14
14
  params: {
15
- transfer_auth_code: ['转增授权码', 'Number', '必选'],
15
+ last_key: ['当前页', 'Number', '必选'],
16
+ page_size: ['每页数量', 'Number', '必选'],
16
17
  },
17
18
  isConsole: true,
18
19
  disabled: true,
19
- }
20
+ },
21
+ {
22
+ //设置方法名字当别忘记加上【模块名字】:Card
23
+ mapFnName: 'updateCardFilmPaiqiDate',
24
+ title: '更新排期',
25
+ path: '/api/account/film/paiqi-date',
26
+ 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', '必选'],
42
+ },
43
+ isConsole: true,
44
+ 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
+ },
20
58
  ];