jufubao-base 1.0.56-beta19 → 1.0.56-beta20

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-beta19",
3
+ "version": "1.0.56-beta20",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -17,55 +17,69 @@
17
17
  <!-- #endif -->
18
18
  <view class="jfb-base-card-disabled-entry__body">
19
19
  <view
20
- class="jfb-base-card-disabled-entry__body-card"
21
20
  v-if="disableList && disableList.length > 0"
21
+ class="jfb-base-card-entry__body-card"
22
22
  >
23
23
  <view
24
- v-for="(item, index) in disableList"
25
- :key="index"
26
- class="jfb-base-card-disabled-entry__body-card-item"
24
+ v-for="(item) in disableList"
25
+ class="card-list"
26
+ :key="item.card_number"
27
+ :style="{
28
+ background: item['theme']['color'],
29
+ backgroundSize: '100%'
30
+ }"
27
31
  >
28
- <view class="jfb-base-card-disabled-entry__body-card-item-left">
29
- <xd-font-icon
30
- color="#B8B7BE"
31
- size="100"
32
- icon="iconyouhuiquan1-011"
33
- ></xd-font-icon>
34
- <view style="color: #b8b7be">票券失效</view>
35
- </view>
36
- <view class="jfb-base-card-disabled-entry__body-card-item-right">
37
- <view class="jfb-base-card-disabled-entry__body-card-item-right-top">
32
+ <view class="card-list-warp" :style="{backgroundImage: 'url('+ item['theme']['image'] +')'}">
33
+ <view class="card-list__title">
34
+ <view>{{item['card_type_name']}}</view>
35
+ </view>
36
+ <div class="card-list__content">
38
37
  <view>
39
- <xd-font-icon
40
- icon="iconkaquan"
41
- size="38"
42
- :style="{marginRight: '18rpx'}"
43
- color="#B8B7BE"
44
- ></xd-font-icon>
45
- <view style="color: #b8b7be">{{ item.card_type_name }}</view>
38
+ <text>券号:</text>
39
+ <text>{{item.card_number}}</text>
40
+ </view>
41
+ <view @click.stop="toDetail(item)" v-if="0">
42
+ <view>
43
+ <xd-font-icon icon="iconerweima" width="56" height="56" size="50" color="#fff"></xd-font-icon>
44
+ </view>
45
+ <view>点击查看</view>
46
46
  </view>
47
+ </div>
48
+ <view class="card-list__date">
49
+ <text>有效期:</text>
50
+ <text>--</text>
51
+ </view>
52
+ <view class="card-list__yue">
53
+ <text>余额:</text>
54
+ <text>--</text>
55
+ </view>
56
+ <view class="card-list__other" v-if="item.other_card_point && item.card_point_type === 2 ">
47
57
  <view>
48
- <view>{{ item.card_number }}</view>
49
- <view>有效期至:--</view>
58
+ <text>购买其他物品可抵:</text>
59
+ <text>--</text>
50
60
  </view>
51
61
  </view>
52
- <view class="jfb-base-card-disabled-entry__body-card-item-right-bottom">
53
- <view class="jfb-base-card-disabled-entry__body-card-item-right-bottom-info">
62
+ <template>
63
+ <view class="card-list__entry" v-if="item.entries.length > 0">
54
64
  <view
55
- style="color: #b8b7be"
56
- class="jfb-base-card-disabled-entry__body-card-item-right-bottom-info-residue"
57
- >剩余{{ item.unit }}数:--{{ item.unit }}</view>
58
- </view>
59
- <view
60
- @click.stop="handleUnBindCard(item)"
61
- v-if="isShowUnbind"
62
- :style="{ background: '#fff',color:'#999',border: '1px solid #999' }"
65
+ @click.stop="handleUnBindCard(item)"
66
+ :style="{color: item['theme']['color']}"
63
67
  >解绑</view>
64
- </view>
68
+ </view>
69
+ <view class="card-list__nodata" v-else>暂无支持服务列表</view>
70
+ </template>
65
71
  </view>
66
72
  </view>
67
73
  </view>
68
- <xd-no-data height="80vh" v-else></xd-no-data>
74
+ <view class="bottom_btn-mask"></view>
75
+ <view class="bottom_btn" :style="prod_bottom">
76
+ <xd-button
77
+ width="680rpx"
78
+ radius="50rpx"
79
+ color="#bbb"
80
+ @click="doThirdPay"
81
+ >一键解绑</xd-button>
82
+ </view>
69
83
  </view>
70
84
  </view>
71
85
  </template>
@@ -74,23 +88,30 @@
74
88
  import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
75
89
  import { jfbRootExec } from "@/utils/xd.event";
76
90
  import JfbBaseCardDisabledEntryMixin from "./JfbBaseCardDisabledEntryMixin";
77
- import { getContainerPropsValue } from "@/utils/xd.base";
78
91
  import componentsMixins from "@/mixins/componentsMixins";
92
+ import colorCardMixins from "@/mixins/colorCardMixins";
93
+ import XdButton from "@/components/XdButton/XdButton";
79
94
  import XdNoData from '@/components/XdNoData/XdNoData'
80
95
  import extsMixins from "@/mixins/extsMixins";
81
96
  export default {
82
97
  name: "JfbBaseCardDisabledEntry",
83
98
  components: {
84
99
  XdFontIcon,
85
- XdNoData
100
+ XdNoData,
101
+ XdButton
86
102
  },
87
- mixins: [componentsMixins, extsMixins, JfbBaseCardDisabledEntryMixin],
103
+ mixins: [componentsMixins, extsMixins, JfbBaseCardDisabledEntryMixin, colorCardMixins],
88
104
  data() {
89
105
  return {
90
106
  disableList: [],
91
107
  isShowUnbind: false
92
108
  };
93
109
  },
110
+ computed:{
111
+ prod_bottom() {
112
+ return this.fixedStyle({height: 0, zIndex: 111});
113
+ },
114
+ },
94
115
  watch: {
95
116
  container(value) {
96
117
  this.init(value);
@@ -106,12 +127,7 @@ export default {
106
127
  },
107
128
  getCardList() {
108
129
  this.$xdShowLoading({});
109
- jfbRootExec("getDisableCardListEntry", {
110
- vm: this,
111
- data: {
112
- is_all: "Y",
113
- },
114
- })
130
+ jfbRootExec("getDisableCardListEntry", {vm: this, data: {is_all: "Y", is_show_entry_settings: 'Y'},})
115
131
  .then((res) => {
116
132
  this.isShowUnbind = (res["is_can_unbind"] === 'Y' || res["is_can_unbind"] === undefined);
117
133
  res.list = res.list.map((item) => {
@@ -127,13 +143,14 @@ export default {
127
143
  ),
128
144
  };
129
145
  });
130
- this.disableList = res.list.filter((item) => {
146
+ this.disableList = this.getCardGroupItem(res.list.filter((item) => {
131
147
  return item["is_valid"] === "N";
132
- });
148
+ }), res['site_entry_settings'], 'Y');
133
149
  this.$xdHideLoading();
134
150
  })
135
151
  .catch(() => this.$xdHideLoading());
136
152
  },
153
+
137
154
  handleUnBindCard(item) {
138
155
  this.$xdConfirm({
139
156
  $vm: this,
@@ -166,6 +183,7 @@ export default {
166
183
  },
167
184
  });
168
185
  },
186
+
169
187
  /**
170
188
  * @description 监听事件变化
171
189
  * @param container {object} 业务组件对象自己
@@ -184,7 +202,7 @@ export default {
184
202
 
185
203
  .jfb-base-card-disabled-entry {
186
204
  &__body {
187
- padding: unit(55, rpx) unit(35, rpx);
205
+ padding: unit(30, rpx) unit(30, rpx);
188
206
  color: #333;
189
207
 
190
208
  &-card {
@@ -272,4 +290,231 @@ export default {
272
290
  }
273
291
  }
274
292
  }
293
+
294
+ .card-list {
295
+ overflow: hidden;
296
+ border-radius: unit(16, rpx);
297
+ margin-bottom: unit(30, rpx);
298
+
299
+ &:last-child {
300
+ margin-bottom: 0;
301
+ }
302
+
303
+
304
+ &__title {
305
+ height: unit(56, rpx);
306
+ display: flex;
307
+ justify-content: flex-start;
308
+ align-items: center;
309
+
310
+ & > view {
311
+ padding: 0 unit(80, rpx);
312
+ font-size: unit(24, rpx);
313
+ line-height: unit(56, rpx);
314
+ background: rgba(102, 102, 102, 0.4);
315
+ color: #fff;
316
+ border-radius: 0 0 unit(16, rpx) 0;
317
+ }
318
+
319
+ }
320
+
321
+ &__content {
322
+ padding: unit(10, rpx) unit(40, rpx) 0;
323
+ height: unit(86, rpx);
324
+ display: flex;
325
+ justify-content: space-between;
326
+ align-items: center;
327
+
328
+ & > view:first-child {
329
+ font-size: unit(36, rpx);
330
+ line-height: unit(86, rpx);
331
+ color: #fff;
332
+ font-weight: 700;
333
+ }
334
+
335
+ & > view:nth-child(2) {
336
+ font-size: unit(24, rpx);
337
+ display: flex;
338
+ justify-content: space-between;
339
+ align-items: center;
340
+ flex-flow: wrap;
341
+ flex-direction: column;
342
+ color: #fff;
343
+ }
344
+ }
345
+
346
+ &__date {
347
+ padding: 0 unit(40, rpx);
348
+ font-size: unit(28, rpx);
349
+ line-height: unit(32, rpx);
350
+ color: #fff;
351
+ }
352
+
353
+ &__yue {
354
+ padding: unit(10, rpx) unit(40, rpx) 0;
355
+ font-size: unit(28, rpx);
356
+ line-height: unit(32, rpx);
357
+ color: #fff;
358
+
359
+ & > text:nth-child(2) {
360
+ font-weight: 700;
361
+ }
362
+ }
363
+
364
+ &__other {
365
+ display: flex;
366
+ justify-content: flex-start;
367
+ align-items: center;
368
+ padding: unit(20, rpx) unit(40, rpx) 0;
369
+ margin-top: unit(0, rpx);
370
+
371
+ & > view {
372
+ border-radius: unit(8, rpx);
373
+ background: rgba(255, 255, 255, 0.2);
374
+ height: unit(48, rpx);
375
+ line-height: unit(48, rpx);
376
+ display: flex;
377
+ justify-content: flex-start;
378
+ align-items: center;
379
+ font-weight: 400;
380
+ font-size: unit(24, rpx);
381
+ padding: 0 unit(20, rpx);
382
+ color: #fff;
383
+ }
384
+
385
+
386
+ }
387
+
388
+ &__nodata {
389
+ padding: unit(20, rpx) unit(40, rpx) 0;
390
+ margin-top: unit(0, rpx);
391
+ color: #fff;
392
+ font-size: unit(28, rpx);
393
+ }
394
+
395
+ &__entry {
396
+ padding: unit(20, rpx) unit(40, rpx) 0;
397
+
398
+ & > view {
399
+ line-height: unit(64, rpx);
400
+ text-align: center;
401
+ font-size: unit(26, rpx);
402
+ border-radius: unit(32, rpx);
403
+ background: rgba(255, 255, 255, 1);
404
+ box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
405
+ font-weight: 500;
406
+ }
407
+ }
408
+
409
+ &__entrys {
410
+ margin: unit(20, rpx) unit(20, rpx) 0;
411
+ padding: unit(30, rpx);
412
+ border-radius: unit(16, rpx);
413
+ background: rgba(255, 255, 255, 1);
414
+ box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
415
+
416
+ &-title {
417
+ display: flex;
418
+ justify-content: space-between;
419
+ align-items: center;
420
+
421
+
422
+ & > view:first-child {
423
+ font-size: unit(28, rpx);
424
+ font-weight: 500;
425
+ flex: 1;
426
+ }
427
+
428
+ & > view:nth-child(2) {
429
+ display: flex;
430
+ justify-content: flex-start;
431
+ align-items: center;
432
+ flex-shrink: 0;
433
+ font-size: unit(20, rpx);
434
+ color: #999;
435
+ }
436
+ }
437
+
438
+ &-scroll {
439
+
440
+ }
441
+
442
+ &-item {
443
+ display: flex;
444
+ justify-content: flex-start;
445
+ align-items: center;
446
+ flex-flow: nowrap;
447
+ margin-left: unit(-14, rpx);
448
+ padding-top: unit(20, rpx);
449
+
450
+ & > view {
451
+ width: unit(120, rpx);
452
+ margin-right: unit(10, rpx);
453
+ flex-shrink: 0;
454
+ display: flex;
455
+ justify-content: center;
456
+ flex-direction: column;
457
+ align-items: center;
458
+
459
+ & > view:first-child {
460
+ width: unit(76, rpx);
461
+ height: unit(76, rpx);
462
+ overflow: hidden;
463
+
464
+ & > image {
465
+ height: 100%;
466
+ width: 100%;
467
+ }
468
+ }
469
+
470
+ & > view:nth-child(2) {
471
+ margin-top: unit(10, rpx);
472
+ font-size: unit(24, rpx);
473
+ line-height: unit(36, rpx);
474
+ margin-bottom: unit(10, rpx);
475
+ }
476
+
477
+ & > view:nth-child(3) {
478
+ display: flex;
479
+ justify-content: flex-start;
480
+ align-items: center;
481
+ flex-shrink: 0;
482
+ font-size: unit(20, rpx);
483
+ color: #999;
484
+ }
485
+
486
+ &:last-child {
487
+ margin-right: 0;
488
+ }
489
+
490
+ }
491
+
492
+
493
+ }
494
+ }
495
+
496
+
497
+ &-warp {
498
+ width: unit(700, rpx);
499
+ min-height: unit(310, rpx);
500
+ position: relative;
501
+ border-radius: unit(16, rpx);
502
+ background-size: 100%;
503
+ padding-bottom: unit(20, rpx);
504
+ }
505
+ }
506
+
507
+ .bottom_btn {
508
+ position: fixed;
509
+ width: 100%;
510
+ display: flex;
511
+ justify-content: center;
512
+ align-items: center;
513
+ height: unit(120, rpx);
514
+ background: #ffffff;
515
+
516
+ &-mask {
517
+ height: unit(120, rpx);
518
+ }
519
+ }
275
520
  </style>
@@ -3,368 +3,224 @@
3
3
  module.exports = {
4
4
  getDisableCardListEntry: {
5
5
  "list": [{
6
- "card_number": "261001000002642",
7
- "card_point": 10000,
8
- "card_type_name": "大礼包测试",
9
- "unit": "",
10
- "end_time": "2025-04-31",
11
- "is_valid": "Y",
12
- "main_business_code_name": "",
13
- "other_card_point": 0,
14
- "is_exchange": "N",
15
- "card_point_type": 1
16
- }, {
17
- "card_number": "261001000002792",
18
- "card_point": 10000,
19
- "card_type_name": "A加盟商大礼包",
20
- "unit": "次",
21
- "end_time": "2024-05-31",
22
- "is_valid": "Y",
23
- "main_business_code_name": "",
24
- "other_card_point": 0,
25
- "is_exchange": "N",
26
- "card_point_type": 1
27
- }, {
28
- "card_number": "261001000002644",
29
- "card_point": 10000,
30
- "card_type_name": "大礼包测试",
31
- "unit": "点",
32
- "end_time": "2025-03-31",
33
- "is_valid": "Y",
34
- "main_business_code_name": "",
35
- "other_card_point": 0,
36
- "is_exchange": "N",
37
- "card_point_type": 1
38
- }, {
39
- "card_number": "261001000002637",
40
- "card_point": 10000,
41
- "card_type_name": "大礼包测试",
42
- "unit": "点",
43
- "end_time": "2025-03-31",
44
- "is_valid": "Y",
45
- "main_business_code_name": "",
46
- "other_card_point": 0,
47
- "is_exchange": "N",
48
- "card_point_type": 1
49
- }, {
50
- "card_number": "261001000002511",
51
- "card_point": 500928,
52
- "card_type_name": "加盟商福卡",
53
- "unit": "点",
54
- "end_time": "2024-07-31",
55
- "is_valid": "Y",
56
- "main_business_code_name": "",
57
- "other_card_point": 0,
58
- "is_exchange": "N",
59
- "card_point_type": 1
60
- }, {
61
- "card_number": "261001000002611",
62
- "card_point": 100,
63
- "card_type_name": "大礼包测试",
64
- "unit": "点",
65
- "end_time": "2023-07-31",
66
- "is_valid": "Y",
67
- "main_business_code_name": "",
68
- "other_card_point": 0,
69
- "is_exchange": "N",
70
- "card_point_type": 1
71
- }, {
72
- "card_number": "261001000002600",
73
- "card_point": 10000,
74
- "card_type_name": "大礼包测试",
6
+ "card_number": "101001000008422",
7
+ "card_point": 100000,
8
+ "card_type": "27",
9
+ "card_type_name": "聚福宝福",
75
10
  "unit": "点",
76
- "end_time": "2023-09-23",
11
+ "end_time": "2025-04-30",
77
12
  "is_valid": "Y",
78
13
  "main_business_code_name": "",
79
14
  "other_card_point": 0,
80
15
  "is_exchange": "N",
81
- "card_point_type": 1
16
+ "card_point_type": 1,
17
+ "business_codes": ["health"]
82
18
  }, {
83
- "card_number": "261001000002598",
19
+ "card_number": "121000100000028",
84
20
  "card_point": 10000,
85
- "card_type_name": "大礼包测试",
86
- "unit": "",
87
- "end_time": "2023-12-31",
88
- "is_valid": "Y",
89
- "main_business_code_name": "",
90
- "other_card_point": 0,
91
- "is_exchange": "N",
92
- "card_point_type": 1
93
- }, {
94
- "card_number": "261001000002646",
95
- "card_point": 0,
96
- "card_type_name": "大礼包测试",
97
- "unit": "次",
98
- "end_time": "2025-03-31",
99
- "is_valid": "N",
100
- "main_business_code_name": "",
101
- "other_card_point": 0,
102
- "is_exchange": "N",
103
- "card_point_type": 1
104
- }, {
105
- "card_number": "261001000002643",
106
- "card_point": 0,
107
- "card_type_name": "大礼包测试",
108
- "unit": "点",
109
- "end_time": "2025-03-31",
110
- "is_valid": "N",
111
- "main_business_code_name": "",
112
- "other_card_point": 0,
113
- "is_exchange": "N",
114
- "card_point_type": 1
115
- }, {
116
- "card_number": "261001000002641",
117
- "card_point": 0,
118
- "card_type_name": "大礼包测试",
119
- "unit": "",
120
- "end_time": "2025-03-31",
121
- "is_valid": "N",
122
- "main_business_code_name": "",
123
- "other_card_point": 0,
124
- "is_exchange": "N",
125
- "card_point_type": 1
126
- }, {
127
- "card_number": "261001000002640",
128
- "card_point": 0,
129
- "card_type_name": "大礼包测试",
130
- "unit": "点",
131
- "end_time": "2025-03-31",
132
- "is_valid": "N",
133
- "main_business_code_name": "",
134
- "other_card_point": 0,
135
- "is_exchange": "N",
136
- "card_point_type": 1
137
- }, {
138
- "card_number": "261001000002639",
139
- "card_point": 0,
140
- "card_type_name": "大礼包测试",
141
- "unit": "点",
142
- "end_time": "2025-03-31",
143
- "is_valid": "N",
144
- "main_business_code_name": "",
145
- "other_card_point": 0,
146
- "is_exchange": "N",
147
- "card_point_type": 1
148
- }, {
149
- "card_number": "261001000002636",
150
- "card_point": 0,
151
- "card_type_name": "大礼包测试",
152
- "unit": "点",
153
- "end_time": "2025-03-31",
154
- "is_valid": "N",
155
- "main_business_code_name": "",
156
- "other_card_point": 0,
157
- "is_exchange": "N",
158
- "card_point_type": 1
159
- }, {
160
- "card_number": "261001000002634",
161
- "card_point": 0,
162
- "card_type_name": "大礼包测试",
163
- "unit": "点",
164
- "end_time": "2025-03-31",
165
- "is_valid": "N",
166
- "main_business_code_name": "",
167
- "other_card_point": 0,
168
- "is_exchange": "N",
169
- "card_point_type": 1
170
- }, {
171
- "card_number": "261001000002632",
172
- "card_point": 0,
173
- "card_type_name": "大礼包测试",
21
+ "card_type": "44",
22
+ "card_type_name": "抵扣券测试",
174
23
  "unit": "点",
175
24
  "end_time": "2024-10-31",
176
25
  "is_valid": "N",
177
26
  "main_business_code_name": "",
178
27
  "other_card_point": 0,
179
28
  "is_exchange": "N",
180
- "card_point_type": 1
29
+ "card_point_type": 1,
30
+ "business_codes": ["health"]
181
31
  }, {
182
- "card_number": "261001000002631",
183
- "card_point": 0,
184
- "card_type_name": "大礼包测试",
185
- "unit": "",
186
- "end_time": "2024-10-31",
187
- "is_valid": "N",
188
- "main_business_code_name": "",
189
- "other_card_point": 0,
190
- "is_exchange": "N",
191
- "card_point_type": 1
192
- }, {
193
- "card_number": "261001000002630",
194
- "card_point": 0,
195
- "card_type_name": "大礼包测试",
196
- "unit": "点",
197
- "end_time": "2024-10-31",
198
- "is_valid": "N",
199
- "main_business_code_name": "",
200
- "other_card_point": 0,
201
- "is_exchange": "N",
202
- "card_point_type": 1
203
- }, {
204
- "card_number": "261001000002629",
205
- "card_point": 0,
206
- "card_type_name": "大礼包测试",
32
+ "card_number": "101001000005192",
33
+ "card_point": 100000000,
34
+ "card_type": "27",
35
+ "card_type_name": "聚福宝福",
207
36
  "unit": "点",
208
37
  "end_time": "2024-10-31",
209
38
  "is_valid": "N",
210
39
  "main_business_code_name": "",
211
40
  "other_card_point": 0,
212
41
  "is_exchange": "N",
213
- "card_point_type": 1
214
- }, {
215
- "card_number": "261001000002628",
216
- "card_point": 0,
217
- "card_type_name": "大礼包测试",
218
- "unit": "点",
219
- "end_time": "2024-10-31",
220
- "is_valid": "N",
221
- "main_business_code_name": "",
222
- "other_card_point": 0,
223
- "is_exchange": "N",
224
- "card_point_type": 1
225
- }, {
226
- "card_number": "261001000002627",
227
- "card_point": 0,
228
- "card_type_name": "大礼包测试",
229
- "unit": "点",
230
- "end_time": "2024-10-31",
231
- "is_valid": "N",
232
- "main_business_code_name": "",
233
- "other_card_point": 0,
234
- "is_exchange": "N",
235
- "card_point_type": 1
236
- }, {
237
- "card_number": "261001000002626",
238
- "card_point": 0,
239
- "card_type_name": "大礼包测试",
240
- "unit": "点",
241
- "end_time": "2024-10-31",
242
- "is_valid": "N",
243
- "main_business_code_name": "",
244
- "other_card_point": 0,
245
- "is_exchange": "N",
246
- "card_point_type": 1
247
- }, {
248
- "card_number": "261001000002613",
249
- "card_point": 0,
250
- "card_type_name": "大礼包测试",
251
- "unit": "点",
252
- "end_time": "2023-07-29",
253
- "is_valid": "N",
254
- "main_business_code_name": "",
255
- "other_card_point": 0,
256
- "is_exchange": "N",
257
- "card_point_type": 1
42
+ "card_point_type": 1,
43
+ "business_codes": ["movie", "market", "cake", "book", "video", "play", "health", "small", "travel", "supermarket", "food"]
258
44
  }, {
259
- "card_number": "261001000002612",
260
- "card_point": 0,
261
- "card_type_name": "大礼包测试",
262
- "unit": "",
263
- "end_time": "2023-07-31",
264
- "is_valid": "N",
265
- "main_business_code_name": "",
266
- "other_card_point": 0,
267
- "is_exchange": "N",
268
- "card_point_type": 1
269
- }, {
270
- "card_number": "261001000002610",
271
- "card_point": 0,
272
- "card_type_name": "大礼包测试",
273
- "unit": "点",
274
- "end_time": "2023-06-30",
275
- "is_valid": "N",
276
- "main_business_code_name": "",
277
- "other_card_point": 0,
278
- "is_exchange": "N",
279
- "card_point_type": 1
280
- }, {
281
- "card_number": "261001000002606",
282
- "card_point": 0,
283
- "card_type_name": "大礼包测试",
284
- "unit": "点",
285
- "end_time": "2023-06-30",
286
- "is_valid": "N",
287
- "main_business_code_name": "",
288
- "other_card_point": 0,
289
- "is_exchange": "N",
290
- "card_point_type": 1
291
- }, {
292
- "card_number": "261001000002605",
293
- "card_point": 0,
294
- "card_type_name": "大礼包测试",
45
+ "card_number": "101001000008421",
46
+ "card_point": 100000,
47
+ "card_type": "27",
48
+ "card_type_name": "聚福宝福",
295
49
  "unit": "点",
296
- "end_time": "2023-06-30",
50
+ "end_time": "2024-12-31",
297
51
  "is_valid": "N",
298
52
  "main_business_code_name": "",
299
53
  "other_card_point": 0,
300
54
  "is_exchange": "N",
301
- "card_point_type": 1
55
+ "card_point_type": 1,
56
+ "business_codes": ["cake"]
302
57
  }, {
303
- "card_number": "261001000002604",
58
+ "card_number": "171003500000385",
304
59
  "card_point": 10000,
305
- "card_type_name": "大礼包测试",
306
- "unit": "",
307
- "end_time": "2023-06-30",
308
- "is_valid": "N",
309
- "main_business_code_name": "",
310
- "other_card_point": 0,
311
- "is_exchange": "N",
312
- "card_point_type": 1
313
- }, {
314
- "card_number": "261001000002603",
315
- "card_point": 0,
316
- "card_type_name": "大礼包测试",
317
- "unit": "点",
318
- "end_time": "2023-06-30",
319
- "is_valid": "N",
320
- "main_business_code_name": "",
321
- "other_card_point": 0,
322
- "is_exchange": "N",
323
- "card_point_type": 1
324
- }, {
325
- "card_number": "261001000002779",
326
- "card_point": 0,
327
- "card_type_name": "A加盟商大礼包",
328
- "unit": "点",
329
- "end_time": "2023-06-30",
60
+ "card_type": "39",
61
+ "card_type_name": "一对一次卡(无限制)",
62
+ "unit": "",
63
+ "end_time": "2024-08-31",
330
64
  "is_valid": "N",
331
65
  "main_business_code_name": "",
332
66
  "other_card_point": 0,
333
- "is_exchange": "N",
334
- "card_point_type": 1
67
+ "is_exchange": "Y",
68
+ "card_point_type": 1,
69
+ "business_codes": ["movie", "market", "cake"]
335
70
  }, {
336
- "card_number": "261001000002595",
337
- "card_point": 0,
338
- "card_type_name": "大礼包测试",
71
+ "card_number": "101001000007175",
72
+ "card_point": 9998700,
73
+ "card_type": "27",
74
+ "card_type_name": "聚福宝福",
339
75
  "unit": "点",
340
- "end_time": "2024-04-30",
76
+ "end_time": "2023-10-31",
341
77
  "is_valid": "N",
342
78
  "main_business_code_name": "",
343
79
  "other_card_point": 0,
344
80
  "is_exchange": "N",
345
- "card_point_type": 1
81
+ "card_point_type": 1,
82
+ "business_codes": ["movie", "market", "cake", "video", "play", "health"]
346
83
  }, {
347
- "card_number": "261001000002593",
84
+ "card_number": "261001000002666",
348
85
  "card_point": 0,
86
+ "card_type": "35",
349
87
  "card_type_name": "大礼包测试",
350
- "unit": "",
351
- "end_time": "2023-07-31",
88
+ "unit": "",
89
+ "end_time": "2025-02-28",
352
90
  "is_valid": "N",
353
91
  "main_business_code_name": "",
354
92
  "other_card_point": 0,
355
93
  "is_exchange": "N",
356
- "card_point_type": 1
94
+ "card_point_type": 1,
95
+ "business_codes": ["gift"]
357
96
  }, {
358
- "card_number": "261001000002495",
359
- "card_point": 0,
97
+ "card_number": "261001000002518",
98
+ "card_point": 100000,
99
+ "card_type": "31",
360
100
  "card_type_name": "加盟商福卡",
361
101
  "unit": "点",
362
- "end_time": "2025-02-28",
102
+ "end_time": "2023-08-29",
363
103
  "is_valid": "N",
364
104
  "main_business_code_name": "",
365
105
  "other_card_point": 0,
366
106
  "is_exchange": "N",
367
- "card_point_type": 1
368
- }], "request_id": "789d6f655c63f12f"
107
+ "card_point_type": 1,
108
+ "business_codes": ["movie", "market", "cake", "book", "video", "play", "health", "small", "travel", "supermarket", "food"]
109
+ }, {
110
+ "card_number": "261001000000344",
111
+ "card_point": 100,
112
+ "card_type": "35",
113
+ "card_type_name": "大礼包测试",
114
+ "unit": "次",
115
+ "end_time": "2023-07-21",
116
+ "is_valid": "N",
117
+ "main_business_code_name": "",
118
+ "other_card_point": 0,
119
+ "is_exchange": "N",
120
+ "card_point_type": 1,
121
+ "business_codes": ["movie", "market", "cake", "book", "gift", "video", "play", "health", "small", "travel"]
122
+ }],
123
+ "is_show_invalid_card_entrance": "Y",
124
+ "is_can_unbind": "Y",
125
+ "site_entry_settings": [{
126
+ "id": 572,
127
+ "business_code": "movie",
128
+ "entry_name": "在线选座",
129
+ "image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/74fcb8bf1bf617249eee5f1416533766.png",
130
+ "redirect_data": "{\"path\":\"https:\\\/\\\/website-01.jufubao.cn\\\/base\\\/system\\\/zhrk\\\/zkrk\"}",
131
+ "redirect_type": "URL"
132
+ }, {
133
+ "id": 10,
134
+ "business_code": "gift",
135
+ "entry_name": "礼包",
136
+ "image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/f1c8a447209eb04d77c2095a13cdadf4.png",
137
+ "redirect_data": "{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/gift\\\/type\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/gift\\\/type\",\"frontPath\":\"\\\/apply\\\/main\\\/gift\\\/type\",\"fixed_business_code\":\"\"}",
138
+ "redirect_type": "INN"
139
+ }, {
140
+ "id": 7,
141
+ "business_code": "movie",
142
+ "entry_name": "在线选座",
143
+ "image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/61b3302ec80009964e0a4b7b2336e5cf.png",
144
+ "redirect_data": "{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/movie\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/movie\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/movie\\\/index\",\"fixed_business_code\":\"\"}",
145
+ "redirect_type": "INN"
146
+ }, {
147
+ "id": 9,
148
+ "business_code": "cake",
149
+ "entry_name": "蛋糕",
150
+ "image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/e582dc796bdb703a10860bcbbbb378f3.png",
151
+ "redirect_data": "{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/cake\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/cake\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/cake\\\/index\",\"fixed_business_code\":\"\"}",
152
+ "redirect_type": "INN"
153
+ }, {
154
+ "id": 18,
155
+ "business_code": "book",
156
+ "entry_name": "图书",
157
+ "image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/9edcdc737c48cdbf9364e321e8199a93.png",
158
+ "redirect_data": "{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/book\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/book\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/book\\\/index\",\"fixed_business_code\":\"\"}",
159
+ "redirect_type": "INN"
160
+ }, {
161
+ "id": 8,
162
+ "business_code": "market",
163
+ "entry_name": "百货",
164
+ "image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/920c4bd80f0a995e245aedbfaf1181d5.png",
165
+ "redirect_data": "{\"dir\":\"apply02\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/mall\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply02\\\/main\\\/mall\\\/index\",\"frontPath\":\"\\\/apply02\\\/main\\\/mall\\\/index\",\"fixed_business_code\":\"\"}",
166
+ "redirect_type": "INN"
167
+ }, {
168
+ "id": 17,
169
+ "business_code": "video",
170
+ "entry_name": "网络视听",
171
+ "image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/1ca9647b7ddd9937054792412d3c2367.png",
172
+ "redirect_data": "{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/video\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/video\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/video\\\/index\",\"fixed_business_code\":\"\"}",
173
+ "redirect_type": "INN"
174
+ }, {
175
+ "id": 35,
176
+ "business_code": "v-RcA8Mv-Gpd96_Y_mjIf",
177
+ "entry_name": "全福券",
178
+ "image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/53191864826b864b8b6fd4f1eb397a93.png",
179
+ "redirect_data": "{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/system\\\/card\\\/card\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/system\\\/card\\\/card\",\"frontPath\":\"\\\/apply\\\/system\\\/card\\\/card\",\"fixed_business_code\":\"\"}",
180
+ "redirect_type": "INN"
181
+ }, {
182
+ "id": 40,
183
+ "business_code": "93028be3",
184
+ "entry_name": "专区",
185
+ "image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/84d23a8c7af7a63842eb696c00068b3d.png",
186
+ "redirect_data": "{\"dir\":\"apply05\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/mall\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply05\\\/main\\\/mall\\\/index\",\"frontPath\":\"\\\/apply05\\\/main\\\/mall\\\/index\",\"fixed_business_code\":\"-y8t4cmogeFvi8fmuxFSK\"}",
187
+ "redirect_type": "INN"
188
+ }, {
189
+ "id": 34,
190
+ "business_code": "food",
191
+ "entry_name": "餐饮",
192
+ "image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/97728bf3ef2a6361c0a1771549d2d435.png",
193
+ "redirect_data": "{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/food\\\/rkym\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/food\\\/rkym\",\"frontPath\":\"\\\/apply\\\/main\\\/food\\\/rkym\",\"fixed_business_code\":\"\"}",
194
+ "redirect_type": "INN"
195
+ }, {
196
+ "id": 55,
197
+ "business_code": "cake",
198
+ "entry_name": "蛋糕内部",
199
+ "image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/2e549739768758dde7968ff7cb98c6d8.png",
200
+ "redirect_data": "{\"dir\":\"apply03\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/cake\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply03\\\/main\\\/cake\\\/index\",\"frontPath\":\"\\\/apply03\\\/main\\\/cake\\\/index\",\"fixed_business_code\":\"cake\"}",
201
+ "redirect_type": "INN"
202
+ }, {
203
+ "id": 54,
204
+ "business_code": "health",
205
+ "entry_name": "体检",
206
+ "image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/e06b058a2104025ffecee960b3b9321d.png",
207
+ "redirect_data": "{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/health\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/health\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/health\\\/index\",\"fixed_business_code\":\"\"}",
208
+ "redirect_type": "INN"
209
+ }, {
210
+ "id": 30,
211
+ "business_code": "travel",
212
+ "entry_name": "旅游",
213
+ "image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/09ceefe2d1776a399b567c7acdf2c9db.png",
214
+ "redirect_data": "{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/travel\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/travel\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/travel\\\/index\",\"fixed_business_code\":\"\"}",
215
+ "redirect_type": "INN"
216
+ }, {
217
+ "id": 16,
218
+ "business_code": "play",
219
+ "entry_name": "演出",
220
+ "image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/07e1d76f1850fbadc9a12d7ff2d7689c.png",
221
+ "redirect_data": "{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/play\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/play\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/play\\\/index\",\"fixed_business_code\":\"\"}",
222
+ "redirect_type": "INN"
223
+ }],
224
+ "request_id": "b5231dd2d0f71d95"
369
225
  }
370
226
  }
@@ -4,17 +4,17 @@ export default {
4
4
  style: [],
5
5
  advanced: [],
6
6
  content: [
7
- {
8
- label: '票券登陆文案:',
9
- ele: 'el-input',
10
- type: 'text',
11
- valueKey: 'login_name',
12
- value: '',
13
- placeholder: '请输入票券登陆文案',
14
- className: 'input80',
15
- inline: false,
16
- notice: '当未设置文案时候,前台页面显示为"<span style="color:red">登录</span>"'
17
- },
7
+ // {
8
+ // label: '票券登陆文案:',
9
+ // ele: 'el-input',
10
+ // type: 'text',
11
+ // valueKey: 'login_name',
12
+ // value: '',
13
+ // placeholder: '请输入票券登陆文案',
14
+ // className: 'input80',
15
+ // inline: false,
16
+ // notice: '当未设置文案时候,前台页面显示为"<span style="color:red">登录</span>"'
17
+ // },
18
18
  {
19
19
  label: '失效卡列表地址:', //label
20
20
  ele: 'xd-select-pages-path', //package 名称