jufubao-base 1.0.56-beta8 → 1.0.56

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.
@@ -0,0 +1,80 @@
1
+ /**
2
+ * @desc 获取绝对路径完整地址
3
+ * @param @path
4
+ **/
5
+ //例如:https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
6
+ @basePath: 'business/';
7
+ @doMain: '//sandbox-img.jufubao.cn/';
8
+
9
+ .getBusinessImageUrl(@path, @size: 'size8') {
10
+ @url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
11
+ background-image: url(@url);
12
+ }
13
+
14
+ //start
15
+ .jfb-base-card-disabled-entry {
16
+ border: 1px dashed rgba(0, 0, 0, 0);
17
+ box-sizing: border-box;
18
+ min-height: unit(100, rpx);
19
+
20
+ &__body{
21
+ position: relative;
22
+ overflow: hidden;
23
+ z-index: 2
24
+ }
25
+
26
+ &.editx {
27
+ position: relative;
28
+ border: 1px dashed blue;
29
+ box-sizing: border-box;
30
+ z-index: 3
31
+
32
+ }
33
+
34
+ &:hover {
35
+ border: 1px dashed blue;
36
+ }
37
+
38
+ &.noBorder {
39
+ border-color: rgba(0,0,0,0);
40
+ border-width: 0;
41
+ }
42
+
43
+
44
+ &__edit {
45
+ cursor: pointer;
46
+ position: absolute;
47
+ right: unit(0, rpx);
48
+ top: unit(-52, rpx);
49
+ height: unit(50, rpx);
50
+ line-height: unit(50, rpx);
51
+ display: flex;
52
+ justify-content: center;
53
+ align-items: center;
54
+ background: rgba(0, 0, 0, .6);
55
+ border-radius: unit(10, rpx);
56
+ box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
57
+ color: #fff;
58
+ font-size: unit(22, rpx);
59
+
60
+ &-icon{
61
+ padding: 0 unit(20, rpx);
62
+ }
63
+
64
+ &.editx {
65
+ box-sizing: border-box;
66
+
67
+ }
68
+ }
69
+ }
70
+ //end
71
+
72
+
73
+ /**notPreview**/
74
+ .jfb-base-card-disabled-entry {
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
79
+ }
80
+ /**endNotPreview**/
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+
4
+ //@AttrImport
5
+ import Attr from "./Attr";
6
+ //@EndAttrImport
7
+
8
+
9
+ export default {
10
+ data() {
11
+ return {
12
+ //#ifdef H5
13
+
14
+ //@AttrData
15
+ Attr:{}, //对外开发编辑属性
16
+ //@EndAttrData
17
+
18
+ // #endif
19
+ cssRoot: 'jfb-base-card-disabled-entry'
20
+ }
21
+ },
22
+ created() {
23
+
24
+ //@AttrDataCreated
25
+ this.Attr = this.$xdUniHelper.customClone(Attr);
26
+ //@EndAttrDataCreated
27
+
28
+
29
+ },
30
+ }
@@ -0,0 +1,226 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+ getDisableCardListEntry: {
5
+ "list": [{
6
+ "card_number": "101001000008422",
7
+ "card_point": 100000,
8
+ "card_type": "27",
9
+ "card_type_name": "聚福宝福",
10
+ "unit": "点",
11
+ "end_time": "2025-04-30",
12
+ "is_valid": "Y",
13
+ "main_business_code_name": "",
14
+ "other_card_point": 0,
15
+ "is_exchange": "N",
16
+ "card_point_type": 1,
17
+ "business_codes": ["health"]
18
+ }, {
19
+ "card_number": "121000100000028",
20
+ "card_point": 10000,
21
+ "card_type": "44",
22
+ "card_type_name": "抵扣券测试",
23
+ "unit": "点",
24
+ "end_time": "2024-10-31",
25
+ "is_valid": "N",
26
+ "main_business_code_name": "",
27
+ "other_card_point": 0,
28
+ "is_exchange": "N",
29
+ "card_point_type": 1,
30
+ "business_codes": ["health"]
31
+ }, {
32
+ "card_number": "101001000005192",
33
+ "card_point": 100000000,
34
+ "card_type": "27",
35
+ "card_type_name": "聚福宝福",
36
+ "unit": "点",
37
+ "end_time": "2024-10-31",
38
+ "is_valid": "N",
39
+ "main_business_code_name": "",
40
+ "other_card_point": 0,
41
+ "is_exchange": "N",
42
+ "card_point_type": 1,
43
+ "business_codes": ["movie", "market", "cake", "book", "video", "play", "health", "small", "travel", "supermarket", "food"]
44
+ }, {
45
+ "card_number": "101001000008421",
46
+ "card_point": 100000,
47
+ "card_type": "27",
48
+ "card_type_name": "聚福宝福",
49
+ "unit": "点",
50
+ "end_time": "2024-12-31",
51
+ "is_valid": "N",
52
+ "main_business_code_name": "",
53
+ "other_card_point": 0,
54
+ "is_exchange": "N",
55
+ "card_point_type": 1,
56
+ "business_codes": ["cake"]
57
+ }, {
58
+ "card_number": "171003500000385",
59
+ "card_point": 10000,
60
+ "card_type": "39",
61
+ "card_type_name": "一对一次卡(无限制)",
62
+ "unit": "次",
63
+ "end_time": "2024-08-31",
64
+ "is_valid": "N",
65
+ "main_business_code_name": "",
66
+ "other_card_point": 0,
67
+ "is_exchange": "Y",
68
+ "card_point_type": 1,
69
+ "business_codes": ["movie", "market", "cake"]
70
+ }, {
71
+ "card_number": "101001000007175",
72
+ "card_point": 9998700,
73
+ "card_type": "27",
74
+ "card_type_name": "聚福宝福",
75
+ "unit": "点",
76
+ "end_time": "2023-10-31",
77
+ "is_valid": "N",
78
+ "main_business_code_name": "",
79
+ "other_card_point": 0,
80
+ "is_exchange": "N",
81
+ "card_point_type": 1,
82
+ "business_codes": ["movie", "market", "cake", "video", "play", "health"]
83
+ }, {
84
+ "card_number": "261001000002666",
85
+ "card_point": 0,
86
+ "card_type": "35",
87
+ "card_type_name": "大礼包测试",
88
+ "unit": "次",
89
+ "end_time": "2025-02-28",
90
+ "is_valid": "N",
91
+ "main_business_code_name": "",
92
+ "other_card_point": 0,
93
+ "is_exchange": "N",
94
+ "card_point_type": 1,
95
+ "business_codes": ["gift"]
96
+ }, {
97
+ "card_number": "261001000002518",
98
+ "card_point": 100000,
99
+ "card_type": "31",
100
+ "card_type_name": "加盟商福卡",
101
+ "unit": "点",
102
+ "end_time": "2023-08-29",
103
+ "is_valid": "N",
104
+ "main_business_code_name": "",
105
+ "other_card_point": 0,
106
+ "is_exchange": "N",
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"
225
+ }
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 名称