jufubao-base 1.0.61-beta5 → 1.0.61
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 +1 -1
- package/src/components/JfbBaseCard/JfbBaseCard.vue +45 -30
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +280 -165
- package/src/components/JfbBaseCardDetailEntry/Mock.js +1 -101
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +148 -64
- package/src/components/JfbBaseCardDisabledEntry/cardListMixins.js +136 -0
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +266 -150
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +229 -122
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +3 -3
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +236 -119
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +4 -21
|
@@ -2,105 +2,5 @@
|
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
4
|
getCardYueEntry: {},
|
|
5
|
-
getBaseByIdCardDetailEntry: {
|
|
6
|
-
"site_entry_settings": [{
|
|
7
|
-
"id": 57,
|
|
8
|
-
"business_code": "movie",
|
|
9
|
-
"entry_name": "在线选座",
|
|
10
|
-
"image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/74fcb8bf1bf617249eee5f1416533766.png",
|
|
11
|
-
"redirect_data": "{\"path\":\"https:\\\/\\\/website-01.jufubao.cn\\\/base\\\/system\\\/zhrk\\\/zkrk\"}",
|
|
12
|
-
"redirect_type": "URL"
|
|
13
|
-
}, {
|
|
14
|
-
"id": 10,
|
|
15
|
-
"business_code": "gift",
|
|
16
|
-
"entry_name": "礼包",
|
|
17
|
-
"image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/f1c8a447209eb04d77c2095a13cdadf4.png",
|
|
18
|
-
"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\":\"\"}",
|
|
19
|
-
"redirect_type": "INN"
|
|
20
|
-
}, {
|
|
21
|
-
"id": 7,
|
|
22
|
-
"business_code": "movie",
|
|
23
|
-
"entry_name": "在线选座",
|
|
24
|
-
"image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/61b3302ec80009964e0a4b7b2336e5cf.png",
|
|
25
|
-
"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\":\"\"}",
|
|
26
|
-
"redirect_type": "INN"
|
|
27
|
-
}, {
|
|
28
|
-
"id": 9,
|
|
29
|
-
"business_code": "cake",
|
|
30
|
-
"entry_name": "蛋糕",
|
|
31
|
-
"image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/e582dc796bdb703a10860bcbbbb378f3.png",
|
|
32
|
-
"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\":\"\"}",
|
|
33
|
-
"redirect_type": "INN"
|
|
34
|
-
}, {
|
|
35
|
-
"id": 18,
|
|
36
|
-
"business_code": "book",
|
|
37
|
-
"entry_name": "图书",
|
|
38
|
-
"image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/9edcdc737c48cdbf9364e321e8199a93.png",
|
|
39
|
-
"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\":\"\"}",
|
|
40
|
-
"redirect_type": "INN"
|
|
41
|
-
}, {
|
|
42
|
-
"id": 8,
|
|
43
|
-
"business_code": "market",
|
|
44
|
-
"entry_name": "百货",
|
|
45
|
-
"image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/920c4bd80f0a995e245aedbfaf1181d5.png",
|
|
46
|
-
"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\":\"\"}",
|
|
47
|
-
"redirect_type": "INN"
|
|
48
|
-
}, {
|
|
49
|
-
"id": 17,
|
|
50
|
-
"business_code": "video",
|
|
51
|
-
"entry_name": "网络视听",
|
|
52
|
-
"image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/1ca9647b7ddd9937054792412d3c2367.png",
|
|
53
|
-
"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\":\"\"}",
|
|
54
|
-
"redirect_type": "INN"
|
|
55
|
-
}, {
|
|
56
|
-
"id": 35,
|
|
57
|
-
"business_code": "v-RcA8Mv-Gpd96_Y_mjIf",
|
|
58
|
-
"entry_name": "全福券",
|
|
59
|
-
"image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/53191864826b864b8b6fd4f1eb397a93.png",
|
|
60
|
-
"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\":\"\"}",
|
|
61
|
-
"redirect_type": "INN"
|
|
62
|
-
}, {
|
|
63
|
-
"id": 40,
|
|
64
|
-
"business_code": "93028be3",
|
|
65
|
-
"entry_name": "专区",
|
|
66
|
-
"image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/84d23a8c7af7a63842eb696c00068b3d.png",
|
|
67
|
-
"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\"}",
|
|
68
|
-
"redirect_type": "INN"
|
|
69
|
-
}, {
|
|
70
|
-
"id": 34,
|
|
71
|
-
"business_code": "food",
|
|
72
|
-
"entry_name": "餐饮",
|
|
73
|
-
"image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/97728bf3ef2a6361c0a1771549d2d435.png",
|
|
74
|
-
"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\":\"\"}",
|
|
75
|
-
"redirect_type": "INN"
|
|
76
|
-
}, {
|
|
77
|
-
"id": 55,
|
|
78
|
-
"business_code": "cake",
|
|
79
|
-
"entry_name": "蛋糕内部",
|
|
80
|
-
"image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/2e549739768758dde7968ff7cb98c6d8.png",
|
|
81
|
-
"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\"}",
|
|
82
|
-
"redirect_type": "INN"
|
|
83
|
-
}, {
|
|
84
|
-
"id": 54,
|
|
85
|
-
"business_code": "health",
|
|
86
|
-
"entry_name": "体检",
|
|
87
|
-
"image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/e06b058a2104025ffecee960b3b9321d.png",
|
|
88
|
-
"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\":\"\"}",
|
|
89
|
-
"redirect_type": "INN"
|
|
90
|
-
}, {
|
|
91
|
-
"id": 30,
|
|
92
|
-
"business_code": "travel",
|
|
93
|
-
"entry_name": "旅游",
|
|
94
|
-
"image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/09ceefe2d1776a399b567c7acdf2c9db.png",
|
|
95
|
-
"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\":\"\"}",
|
|
96
|
-
"redirect_type": "INN"
|
|
97
|
-
}, {
|
|
98
|
-
"id": 16,
|
|
99
|
-
"business_code": "play",
|
|
100
|
-
"entry_name": "演出",
|
|
101
|
-
"image_url": "https:\/\/sandbox-img.jufubao.cn\/uploads\/20230927\/07e1d76f1850fbadc9a12d7ff2d7689c.png",
|
|
102
|
-
"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\":\"\"}",
|
|
103
|
-
"redirect_type": "INN"
|
|
104
|
-
}], "is_show_qrcode_logo": 'Y', "card_number": "101001000008076", "card_point": 20367, "card_type_name": "多余额福卡", "end_time": "2025-04-30 23:59:59", "card_status": "Y", "card_status_name": "开启", "card_qrcode": "\/\/sandbox-apis.jufubao.cn\/common\/v1\/image\/qrcode?code_content=h.161.ktrd9ie2jnbkdb8", "barcode": "\/\/sandbox-apis.jufubao.cn\/common\/v1\/image\/barcode?code_content=h.161.ktrd9ie2jnbkdb8", "card_qrcode_expire": 600, "unit": "点", "main_business_code_name": "蛋糕(勿改)", "other_card_point": 4073, "is_exchange": "N", "exchange_card_type_name": "福券", "exchange_card_point": 18330, "card_point_type": 2, "request_id": "ce26274fa52c8412"
|
|
105
|
-
}
|
|
5
|
+
getBaseByIdCardDetailEntry: {"card_number":"101001000008091","card_point":99875,"card_type_name":"多余额福卡","end_time":"2025-04-30","card_status":"Y","card_status_name":"开启","card_qrcode":"\/\/sandbox-apis.jufubao.cn\/common\/v1\/image\/qrcode?code_content=h.161.y7uomss6bqulqla","barcode":"\/\/sandbox-apis.jufubao.cn\/common\/v1\/image\/barcode?code_content=h.161.y7uomss6bqulqla","card_qrcode_expire":600,"unit":"点","main_business_code_name":"电影(勿改)、网络视听(勿改)、体检(勿改)","other_card_point":79900,"is_exchange":"N","exchange_card_type_name":"福券","exchange_card_point":98876,"card_point_type":2,"is_show_qrcode_logo":"Y","is_can_unbind":"Y","site_entry_settings":[{"id":57,"business_code":"movie","entry_name":"在线选座","image_url":"\/uploads\/20230927\/74fcb8bf1bf617249eee5f1416533766.png","redirect_data":"{\"path\":\"https:\\\/\\\/website-01.jufubao.cn\\\/base\\\/system\\\/zhrk\\\/zkrk\"}","redirect_type":"URL"},{"id":10,"business_code":"gift","entry_name":"礼包","image_url":"\/uploads\/20230927\/f1c8a447209eb04d77c2095a13cdadf4.png","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\":\"\"}","redirect_type":"INN"},{"id":7,"business_code":"movie","entry_name":"在线选座","image_url":"\/uploads\/20230927\/61b3302ec80009964e0a4b7b2336e5cf.png","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\":\"\"}","redirect_type":"INN"},{"id":9,"business_code":"cake","entry_name":"蛋糕","image_url":"\/uploads\/20230927\/e582dc796bdb703a10860bcbbbb378f3.png","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\":\"\"}","redirect_type":"INN"},{"id":18,"business_code":"book","entry_name":"图书","image_url":"\/uploads\/20230927\/9edcdc737c48cdbf9364e321e8199a93.png","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\":\"\"}","redirect_type":"INN"},{"id":8,"business_code":"market","entry_name":"百货","image_url":"\/uploads\/20230927\/920c4bd80f0a995e245aedbfaf1181d5.png","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\":\"\"}","redirect_type":"INN"},{"id":17,"business_code":"video","entry_name":"网络视听","image_url":"\/uploads\/20230927\/1ca9647b7ddd9937054792412d3c2367.png","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\":\"\"}","redirect_type":"INN"},{"id":35,"business_code":"v-RcA8Mv-Gpd96_Y_mjIf","entry_name":"全福券","image_url":"\/uploads\/20230927\/53191864826b864b8b6fd4f1eb397a93.png","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\":\"\"}","redirect_type":"INN"},{"id":40,"business_code":"93028be3","entry_name":"专区","image_url":"\/uploads\/20230927\/84d23a8c7af7a63842eb696c00068b3d.png","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\"}","redirect_type":"INN"},{"id":34,"business_code":"food","entry_name":"餐饮","image_url":"\/uploads\/20230927\/97728bf3ef2a6361c0a1771549d2d435.png","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\":\"\"}","redirect_type":"INN"},{"id":54,"business_code":"health","entry_name":"体检","image_url":"\/uploads\/20230927\/e06b058a2104025ffecee960b3b9321d.png","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\":\"\"}","redirect_type":"INN"},{"id":30,"business_code":"travel","entry_name":"旅游","image_url":"\/uploads\/20230927\/09ceefe2d1776a399b567c7acdf2c9db.png","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\":\"\"}","redirect_type":"INN"},{"id":16,"business_code":"play","entry_name":"演出","image_url":"\/uploads\/20230927\/07e1d76f1850fbadc9a12d7ff2d7689c.png","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\":\"\"}","redirect_type":"INN"}],"business_codes":["movie","market","cake","book"],"request_id":"58eec3f9f6e96cf0"}
|
|
106
6
|
}
|
|
@@ -16,14 +16,85 @@
|
|
|
16
16
|
</view>
|
|
17
17
|
<!-- #endif -->
|
|
18
18
|
<view class="jfb-base-card-disabled-entry__body">
|
|
19
|
-
<view
|
|
20
|
-
v-if="disableList && disableList.length > 0"
|
|
21
|
-
class="jfb-base-card-entry__body-card"
|
|
22
|
-
>
|
|
19
|
+
<view class="card-content">
|
|
23
20
|
<view
|
|
24
|
-
v-
|
|
25
|
-
class="card-
|
|
21
|
+
v-if="cardList && cardList.length > 0"
|
|
22
|
+
class="jfb-base-card-entry__body-card"
|
|
23
|
+
>
|
|
24
|
+
<template v-for="(item,index) in cardList">
|
|
25
|
+
<view
|
|
26
|
+
class="card-list"
|
|
27
|
+
:data-card="item.card_number"
|
|
28
|
+
:data-index="index"
|
|
29
|
+
:data-top="item.top"
|
|
30
|
+
:key="item.card_number"
|
|
31
|
+
v-if="setCardItemShow(item,index)"
|
|
32
|
+
:style="{
|
|
33
|
+
background: item['theme']['color'],
|
|
34
|
+
backgroundSize: '100%'
|
|
35
|
+
}"
|
|
36
|
+
>
|
|
37
|
+
<view class="card-list-warp" :style="{backgroundImage: 'url('+ item['theme']['image'] +')'}">
|
|
38
|
+
<view class="card-list__title">
|
|
39
|
+
<view>{{item['card_type_name']}}</view>
|
|
40
|
+
</view>
|
|
41
|
+
<div class="card-list__content">
|
|
42
|
+
<view>
|
|
43
|
+
<text>券号:</text>
|
|
44
|
+
<text>{{item.card_number}}</text>
|
|
45
|
+
</view>
|
|
46
|
+
</div>
|
|
47
|
+
<view class="card-list__date">
|
|
48
|
+
<text>有效期:</text>
|
|
49
|
+
<text>--</text>
|
|
50
|
+
</view>
|
|
51
|
+
<view class="card-list__yue">
|
|
52
|
+
<text>余额:</text>
|
|
53
|
+
<text>--</text>
|
|
54
|
+
</view>
|
|
55
|
+
<view class="card-list__other" v-if="item.other_card_point && item.card_point_type === 2 ">
|
|
56
|
+
<view>
|
|
57
|
+
<text>购买其他物品可抵:</text>
|
|
58
|
+
<text>--</text>
|
|
59
|
+
</view>
|
|
60
|
+
</view>
|
|
61
|
+
<template>
|
|
62
|
+
<view class="card-list__entry" v-if="item.entries.length > 0">
|
|
63
|
+
<view
|
|
64
|
+
@click.stop="handleUnBindCard(item)"
|
|
65
|
+
:style="{color: item['theme']['color']}"
|
|
66
|
+
>解绑</view>
|
|
67
|
+
</view>
|
|
68
|
+
<view class="card-list__nodata" v-else>暂无支持服务列表</view>
|
|
69
|
+
</template>
|
|
70
|
+
</view>
|
|
71
|
+
</view>
|
|
72
|
+
<view
|
|
73
|
+
class="card-content-empty card-list"
|
|
74
|
+
v-else
|
|
75
|
+
:data-card="item.card_number"
|
|
76
|
+
:style="{
|
|
77
|
+
height: item.height + 'px',
|
|
78
|
+
backgroundImage: 'url('+ cardItem +')'
|
|
79
|
+
}"
|
|
80
|
+
></view>
|
|
81
|
+
</template>
|
|
82
|
+
</view>
|
|
83
|
+
<view v-if="cardList !== null && cardList.length === 0">
|
|
84
|
+
<view class="jfb-base-card-disabled-entry__body-empty">
|
|
85
|
+
<view class="jfb-base-card-disabled-entry__body-empty-wrap">
|
|
86
|
+
<image :src="emptyBg"></image>
|
|
87
|
+
暂无票券
|
|
88
|
+
</view>
|
|
89
|
+
</view>
|
|
90
|
+
</view>
|
|
91
|
+
</view>
|
|
92
|
+
<view class="computed-height">
|
|
93
|
+
<view
|
|
94
|
+
v-for="(item) in cardComputedList"
|
|
95
|
+
class="card-list computed-box"
|
|
26
96
|
:key="item.card_number"
|
|
97
|
+
:data-card="item.card_number"
|
|
27
98
|
:style="{
|
|
28
99
|
background: item['theme']['color'],
|
|
29
100
|
backgroundSize: '100%'
|
|
@@ -65,16 +136,8 @@
|
|
|
65
136
|
</view>
|
|
66
137
|
</view>
|
|
67
138
|
</view>
|
|
68
|
-
<view v-else>
|
|
69
|
-
<view class="jfb-base-card-disabled-entry__body-empty">
|
|
70
|
-
<view class="jfb-base-card-disabled-entry__body-empty-wrap">
|
|
71
|
-
<image :src="emptyBg"></image>
|
|
72
|
-
暂无票券
|
|
73
|
-
</view>
|
|
74
|
-
</view>
|
|
75
|
-
</view>
|
|
76
139
|
<view class="bottom_btn-mask"></view>
|
|
77
|
-
<view v-if="
|
|
140
|
+
<view v-if="cardList && cardList.length>0" class="bottom_btn" :style="prod_bottom">
|
|
78
141
|
<xd-button
|
|
79
142
|
width="680rpx"
|
|
80
143
|
radius="50rpx"
|
|
@@ -92,6 +155,7 @@ import { jfbRootExec } from "@/utils/xd.event";
|
|
|
92
155
|
import JfbBaseCardDisabledEntryMixin from "./JfbBaseCardDisabledEntryMixin";
|
|
93
156
|
import componentsMixins from "@/mixins/componentsMixins";
|
|
94
157
|
import colorCardMixins from "@/mixins/colorCardMixins";
|
|
158
|
+
import cardListMixins from "./cardListMixins";
|
|
95
159
|
import XdButton from "@/components/XdButton/XdButton";
|
|
96
160
|
import XdNoData from '@/components/XdNoData/XdNoData'
|
|
97
161
|
import extsMixins from "@/mixins/extsMixins";
|
|
@@ -102,7 +166,7 @@ export default {
|
|
|
102
166
|
XdNoData,
|
|
103
167
|
XdButton
|
|
104
168
|
},
|
|
105
|
-
mixins: [componentsMixins, extsMixins, JfbBaseCardDisabledEntryMixin, colorCardMixins],
|
|
169
|
+
mixins: [componentsMixins, extsMixins, JfbBaseCardDisabledEntryMixin, colorCardMixins, cardListMixins],
|
|
106
170
|
data() {
|
|
107
171
|
return {
|
|
108
172
|
disableList: [],
|
|
@@ -123,14 +187,13 @@ export default {
|
|
|
123
187
|
},
|
|
124
188
|
},
|
|
125
189
|
created() {
|
|
126
|
-
console.log(this.getNoData(),'this.getNoData()this.getNoData()');
|
|
127
190
|
this.init(this.container);
|
|
128
191
|
},
|
|
129
192
|
methods: {
|
|
130
193
|
onJfbLoad(options) {
|
|
131
194
|
this.getCardList();
|
|
132
195
|
},
|
|
133
|
-
|
|
196
|
+
|
|
134
197
|
getCardList() {
|
|
135
198
|
this.$xdShowLoading({});
|
|
136
199
|
jfbRootExec("getDisableCardListEntry", {vm: this, data: {is_all: "Y", is_show_entry_settings: 'Y'},})
|
|
@@ -149,14 +212,16 @@ export default {
|
|
|
149
212
|
),
|
|
150
213
|
};
|
|
151
214
|
});
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
215
|
+
|
|
216
|
+
//设置列表
|
|
217
|
+
this.ajaxCardList = res;
|
|
218
|
+
this.handleCardInit(this.ajaxCardList);
|
|
219
|
+
|
|
155
220
|
this.$xdHideLoading();
|
|
156
221
|
})
|
|
157
222
|
.catch(() => this.$xdHideLoading());
|
|
158
223
|
},
|
|
159
|
-
|
|
224
|
+
|
|
160
225
|
handleAllUnBindCard(){
|
|
161
226
|
this.$xdConfirm({
|
|
162
227
|
$vm: this,
|
|
@@ -186,9 +251,9 @@ export default {
|
|
|
186
251
|
}
|
|
187
252
|
},
|
|
188
253
|
});
|
|
189
|
-
|
|
254
|
+
|
|
190
255
|
},
|
|
191
|
-
|
|
256
|
+
|
|
192
257
|
handleUnBindCard(item) {
|
|
193
258
|
this.$xdConfirm({
|
|
194
259
|
$vm: this,
|
|
@@ -222,16 +287,17 @@ export default {
|
|
|
222
287
|
},
|
|
223
288
|
});
|
|
224
289
|
},
|
|
225
|
-
|
|
290
|
+
|
|
226
291
|
/**
|
|
227
292
|
* @description 监听事件变化
|
|
228
293
|
* @param container {object} 业务组件对象自己
|
|
229
294
|
*/
|
|
230
295
|
init(container) {},
|
|
231
|
-
|
|
296
|
+
|
|
232
297
|
onJfbBack(options) {
|
|
233
298
|
console.log("event.onJfbBack", options);
|
|
234
299
|
},
|
|
300
|
+
|
|
235
301
|
},
|
|
236
302
|
};
|
|
237
303
|
</script>
|
|
@@ -357,18 +423,18 @@ export default {
|
|
|
357
423
|
overflow: hidden;
|
|
358
424
|
border-radius: unit(16, rpx);
|
|
359
425
|
margin-bottom: unit(30, rpx);
|
|
360
|
-
|
|
426
|
+
|
|
361
427
|
&:last-child {
|
|
362
428
|
margin-bottom: 0;
|
|
363
429
|
}
|
|
364
|
-
|
|
365
|
-
|
|
430
|
+
|
|
431
|
+
|
|
366
432
|
&__title {
|
|
367
433
|
height: unit(56, rpx);
|
|
368
434
|
display: flex;
|
|
369
435
|
justify-content: flex-start;
|
|
370
436
|
align-items: center;
|
|
371
|
-
|
|
437
|
+
|
|
372
438
|
& > view {
|
|
373
439
|
padding: 0 unit(80, rpx);
|
|
374
440
|
font-size: unit(24, rpx);
|
|
@@ -377,23 +443,23 @@ export default {
|
|
|
377
443
|
color: #fff;
|
|
378
444
|
border-radius: 0 0 unit(16, rpx) 0;
|
|
379
445
|
}
|
|
380
|
-
|
|
446
|
+
|
|
381
447
|
}
|
|
382
|
-
|
|
448
|
+
|
|
383
449
|
&__content {
|
|
384
450
|
padding: unit(10, rpx) unit(40, rpx) 0;
|
|
385
451
|
height: unit(86, rpx);
|
|
386
452
|
display: flex;
|
|
387
453
|
justify-content: space-between;
|
|
388
454
|
align-items: center;
|
|
389
|
-
|
|
455
|
+
|
|
390
456
|
& > view:first-child {
|
|
391
457
|
font-size: unit(36, rpx);
|
|
392
458
|
line-height: unit(86, rpx);
|
|
393
459
|
color: #fff;
|
|
394
460
|
font-weight: 700;
|
|
395
461
|
}
|
|
396
|
-
|
|
462
|
+
|
|
397
463
|
& > view:nth-child(2) {
|
|
398
464
|
font-size: unit(24, rpx);
|
|
399
465
|
display: flex;
|
|
@@ -404,32 +470,32 @@ export default {
|
|
|
404
470
|
color: #fff;
|
|
405
471
|
}
|
|
406
472
|
}
|
|
407
|
-
|
|
473
|
+
|
|
408
474
|
&__date {
|
|
409
475
|
padding: 0 unit(40, rpx);
|
|
410
476
|
font-size: unit(28, rpx);
|
|
411
477
|
line-height: unit(32, rpx);
|
|
412
478
|
color: #fff;
|
|
413
479
|
}
|
|
414
|
-
|
|
480
|
+
|
|
415
481
|
&__yue {
|
|
416
482
|
padding: unit(10, rpx) unit(40, rpx) 0;
|
|
417
483
|
font-size: unit(28, rpx);
|
|
418
484
|
line-height: unit(32, rpx);
|
|
419
485
|
color: #fff;
|
|
420
|
-
|
|
486
|
+
|
|
421
487
|
& > text:nth-child(2) {
|
|
422
488
|
font-weight: 700;
|
|
423
489
|
}
|
|
424
490
|
}
|
|
425
|
-
|
|
491
|
+
|
|
426
492
|
&__other {
|
|
427
493
|
display: flex;
|
|
428
494
|
justify-content: flex-start;
|
|
429
495
|
align-items: center;
|
|
430
496
|
padding: unit(20, rpx) unit(40, rpx) 0;
|
|
431
497
|
margin-top: unit(0, rpx);
|
|
432
|
-
|
|
498
|
+
|
|
433
499
|
& > view {
|
|
434
500
|
border-radius: unit(8, rpx);
|
|
435
501
|
background: rgba(255, 255, 255, 0.2);
|
|
@@ -443,20 +509,20 @@ export default {
|
|
|
443
509
|
padding: 0 unit(20, rpx);
|
|
444
510
|
color: #fff;
|
|
445
511
|
}
|
|
446
|
-
|
|
447
|
-
|
|
512
|
+
|
|
513
|
+
|
|
448
514
|
}
|
|
449
|
-
|
|
515
|
+
|
|
450
516
|
&__nodata {
|
|
451
517
|
padding: unit(20, rpx) unit(40, rpx) 0;
|
|
452
518
|
margin-top: unit(0, rpx);
|
|
453
519
|
color: #fff;
|
|
454
520
|
font-size: unit(28, rpx);
|
|
455
521
|
}
|
|
456
|
-
|
|
522
|
+
|
|
457
523
|
&__entry {
|
|
458
524
|
padding: unit(20, rpx) unit(40, rpx) 0;
|
|
459
|
-
|
|
525
|
+
|
|
460
526
|
& > view {
|
|
461
527
|
line-height: unit(64, rpx);
|
|
462
528
|
text-align: center;
|
|
@@ -467,26 +533,26 @@ export default {
|
|
|
467
533
|
font-weight: 500;
|
|
468
534
|
}
|
|
469
535
|
}
|
|
470
|
-
|
|
536
|
+
|
|
471
537
|
&__entrys {
|
|
472
538
|
margin: unit(20, rpx) unit(20, rpx) 0;
|
|
473
539
|
padding: unit(30, rpx);
|
|
474
540
|
border-radius: unit(16, rpx);
|
|
475
541
|
background: rgba(255, 255, 255, 1);
|
|
476
542
|
box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
|
|
477
|
-
|
|
543
|
+
|
|
478
544
|
&-title {
|
|
479
545
|
display: flex;
|
|
480
546
|
justify-content: space-between;
|
|
481
547
|
align-items: center;
|
|
482
|
-
|
|
483
|
-
|
|
548
|
+
|
|
549
|
+
|
|
484
550
|
& > view:first-child {
|
|
485
551
|
font-size: unit(28, rpx);
|
|
486
552
|
font-weight: 500;
|
|
487
553
|
flex: 1;
|
|
488
554
|
}
|
|
489
|
-
|
|
555
|
+
|
|
490
556
|
& > view:nth-child(2) {
|
|
491
557
|
display: flex;
|
|
492
558
|
justify-content: flex-start;
|
|
@@ -496,11 +562,11 @@ export default {
|
|
|
496
562
|
color: #999;
|
|
497
563
|
}
|
|
498
564
|
}
|
|
499
|
-
|
|
565
|
+
|
|
500
566
|
&-scroll {
|
|
501
|
-
|
|
567
|
+
|
|
502
568
|
}
|
|
503
|
-
|
|
569
|
+
|
|
504
570
|
&-item {
|
|
505
571
|
display: flex;
|
|
506
572
|
justify-content: flex-start;
|
|
@@ -508,7 +574,7 @@ export default {
|
|
|
508
574
|
flex-flow: nowrap;
|
|
509
575
|
margin-left: unit(-14, rpx);
|
|
510
576
|
padding-top: unit(20, rpx);
|
|
511
|
-
|
|
577
|
+
|
|
512
578
|
& > view {
|
|
513
579
|
width: unit(120, rpx);
|
|
514
580
|
margin-right: unit(10, rpx);
|
|
@@ -517,25 +583,25 @@ export default {
|
|
|
517
583
|
justify-content: center;
|
|
518
584
|
flex-direction: column;
|
|
519
585
|
align-items: center;
|
|
520
|
-
|
|
586
|
+
|
|
521
587
|
& > view:first-child {
|
|
522
588
|
width: unit(76, rpx);
|
|
523
589
|
height: unit(76, rpx);
|
|
524
590
|
overflow: hidden;
|
|
525
|
-
|
|
591
|
+
|
|
526
592
|
& > image {
|
|
527
593
|
height: 100%;
|
|
528
594
|
width: 100%;
|
|
529
595
|
}
|
|
530
596
|
}
|
|
531
|
-
|
|
597
|
+
|
|
532
598
|
& > view:nth-child(2) {
|
|
533
599
|
margin-top: unit(10, rpx);
|
|
534
600
|
font-size: unit(24, rpx);
|
|
535
601
|
line-height: unit(36, rpx);
|
|
536
602
|
margin-bottom: unit(10, rpx);
|
|
537
603
|
}
|
|
538
|
-
|
|
604
|
+
|
|
539
605
|
& > view:nth-child(3) {
|
|
540
606
|
display: flex;
|
|
541
607
|
justify-content: flex-start;
|
|
@@ -544,18 +610,18 @@ export default {
|
|
|
544
610
|
font-size: unit(20, rpx);
|
|
545
611
|
color: #999;
|
|
546
612
|
}
|
|
547
|
-
|
|
613
|
+
|
|
548
614
|
&:last-child {
|
|
549
615
|
margin-right: 0;
|
|
550
616
|
}
|
|
551
|
-
|
|
617
|
+
|
|
552
618
|
}
|
|
553
|
-
|
|
554
|
-
|
|
619
|
+
|
|
620
|
+
|
|
555
621
|
}
|
|
556
622
|
}
|
|
557
|
-
|
|
558
|
-
|
|
623
|
+
|
|
624
|
+
|
|
559
625
|
&-warp {
|
|
560
626
|
width: unit(700, rpx);
|
|
561
627
|
min-height: unit(310, rpx);
|
|
@@ -574,9 +640,27 @@ export default {
|
|
|
574
640
|
align-items: center;
|
|
575
641
|
height: unit(120, rpx);
|
|
576
642
|
background: #ffffff;
|
|
577
|
-
|
|
643
|
+
|
|
578
644
|
&-mask {
|
|
579
645
|
height: unit(120, rpx);
|
|
580
646
|
}
|
|
581
647
|
}
|
|
648
|
+
|
|
649
|
+
.computed-height {
|
|
650
|
+
position: fixed;
|
|
651
|
+
top:-999999px;
|
|
652
|
+
width: 100%;
|
|
653
|
+
z-index: 99999;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
.card-content-empty {
|
|
657
|
+
background-size: 100%;
|
|
658
|
+
background-repeat: no-repeat;
|
|
659
|
+
background-position: top center;
|
|
660
|
+
|
|
661
|
+
& > image {
|
|
662
|
+
width: 100%;
|
|
663
|
+
height: 100%;
|
|
664
|
+
}
|
|
665
|
+
}
|
|
582
666
|
</style>
|