jufubao-base 1.0.181-beta1 → 1.0.181

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 (34) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseCardDelay/Api.js +30 -19
  3. package/src/components/JfbBaseCardDelay/Attr.js +35 -237
  4. package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +78 -278
  5. package/src/components/JfbBaseCardDetailEntry/Attr.js +0 -12
  6. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +0 -14
  7. package/src/components/JfbBaseCardDetailEntry/Mock.js +1 -1
  8. package/src/components/JfbBaseCardEntry/Attr.js +0 -121
  9. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +29 -205
  10. package/src/components/JfbBaseCardGive/Api.js +34 -18
  11. package/src/components/JfbBaseCardGive/Attr.js +36 -29
  12. package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +80 -466
  13. package/src/components/JfbBaseCardGive/Mock.js +9 -2
  14. package/src/components/JfbBaseCardReceive/Api.js +36 -10
  15. package/src/components/JfbBaseCardReceive/Attr.js +39 -9
  16. package/src/components/JfbBaseCardReceive/JfbBaseCardReceive.vue +80 -401
  17. package/src/components/JfbBaseCardReceive/Mock.js +7 -1
  18. package/src/components/JfbBaseCardReceiveCover/Api.js +43 -5
  19. package/src/components/JfbBaseCardReceiveCover/Attr.js +32 -57
  20. package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +82 -147
  21. package/src/components/JfbBaseCardReceiveCover/Mock.js +9 -1
  22. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +1 -1
  23. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +2 -81
  24. package/src/components/JfbBaseOrderDetail/Mock.js +0 -5
  25. package/src/components/JfbBasePay/Attr.js +0 -12
  26. package/src/components/JfbBasePay/JfbBasePay.vue +4 -4
  27. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +1 -0
  28. package/src/components/JfbBaseRechargeOrder/Api.js +0 -11
  29. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +27 -46
  30. package/src/components/JfbBaseRechargeOrderDetail/Api.js +0 -11
  31. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +13 -142
  32. package/src/components/JfbBaseRechargeSuccess/Api.js +0 -11
  33. package/src/components/JfbBaseRechargeSuccess/Attr.js +1 -1
  34. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +3 -6
@@ -2,310 +2,110 @@
2
2
  <view
3
3
  class="jfb-base-card-delay"
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-delay__edit"
10
- :class="{ editx: isEditx && active }"
10
+ :class="{ editx : isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
13
  <view class="jfb-base-card-delay__edit-icon" @click="delEdit">删除</view>
14
14
  </view>
15
15
  <!-- #endif -->
16
16
  <view class="jfb-base-card-delay__body">
17
- <view>
18
- <view class="wrap">
19
- <input
20
- placeholder="输入券号"
21
- v-model.trim="card_number"
22
- type="text"
23
- />
24
- </view>
25
- <view v-if="packageList !== null">
26
- <view v-if="packageList.length > 0" class="package">
27
- <view
28
- v-for="(item, index) in packageList"
29
- :key="index"
30
- @click="activeIndex = index"
31
- :style="{
32
- background: activeIndex === index ? backgroundColor : '#fff',
33
- color: activeIndex === index ? mainColor : '#333',
34
- marginRight: (index + 1) % 3 == 0 ? '0' : '36rpx',
35
- }"
36
- class="package-item"
37
- >
38
- <view>{{ item.package_name }}</view>
39
- <view>
40
- <text>{{ item.pay_amount }}</text
41
- >元宝</view
42
- >
43
- </view>
44
- </view>
45
- <xd-no-data height="20vh" v-else :iconType="empty">
46
- 当前票券无套餐
47
- </xd-no-data>
48
- </view>
49
- <view class="wrap" style="margin-top: 28rpx" v-if="notice&&packageList !== null">
50
- <view
51
- style="
52
- text-align: center;
53
- padding-bottom: 36rpx;
54
- color: #333;
55
- font-weight: 500;
56
- font-size: 28rpx;
57
- "
58
- >延期规则</view
59
- >
60
- <xd-content-xss :html="notice"></xd-content-xss>
61
- </view>
62
- <view
63
- v-if="!package_id"
64
- class="jfb-base-card-delay__body-footer"
65
- :style="prod_bottom"
66
- >
67
- <xd-button
68
- width="560rpx"
69
- v-if="card_number"
70
- type="primary"
71
- @click="getList"
72
- >下一步</xd-button
73
- >
74
- <xd-button
75
- width="560rpx"
76
- v-else
77
- disabled="true"
78
- type="primary"
79
- @click="getList"
80
- >下一步</xd-button
81
- >
82
- </view>
83
- <view
84
- v-else
85
- class="jfb-base-card-delay__body-footer"
86
- :style="prod_bottom"
87
- >
88
- <xd-button width="560rpx" type="primary" @click="handleBuy"
89
- >{{ pay_amount }}元延期</xd-button
90
- >
91
- </view>
92
- </view>
17
+ <view>测试插件( {{containerId}} )</view>
93
18
  </view>
94
19
  </view>
95
20
  </template>
96
21
 
97
22
  <script>
98
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
99
- import XdButton from "@/components/XdButton/XdButton";
100
- import { jfbRootExec } from "@/utils/xd.event";
101
- import JfbBaseCardDelayMixin from "./JfbBaseCardDelayMixin";
102
- import { getContainerPropsValue } from "@/utils/xd.base";
103
- import componentsMixins from "@/mixins/componentsMixins";
104
- import XdContentXss from "@/components/XdContentXss/XdContentXss";
105
- import extsMixins from "@/mixins/extsMixins";
106
- import colorCardMixins from "@/mixins/colorCardMixins";
107
- import XdNoData from "@/components/XdNoData/XdNoData";
108
- const Color = require("color");
109
-
110
- export default {
111
- name: "JfbBaseCardDelay",
112
- components: {
113
- XdFontIcon,
114
- XdContentXss,
115
- XdButton,
116
- XdNoData,
117
- },
118
- mixins: [
119
- componentsMixins,
120
- extsMixins,
121
- JfbBaseCardDelayMixin,
122
- colorCardMixins,
123
- ],
124
- data() {
125
- return {
126
- notice: "",
127
- card_number: "",
128
- backgroundColor: "",
129
- packageList: null,
130
- activeIndex: 0,
131
- package_id: null,
132
- payPath: "",
133
- pay_amount: 0,
134
- successPath: "",
135
- };
136
- },
137
- computed: {
138
- prod_bottom() {
139
- return this.fixedStyle({ height: 0, zIndex: 111 });
140
- },
141
- },
142
- watch: {
143
- container(value, oldValue) {
144
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
145
- if (this.$configProject["isPreview"]) this.init(value);
23
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
24
+ import { jfbRootExec } from "@/utils/xd.event";
25
+ import JfbBaseCardDelayMixin from "./JfbBaseCardDelayMixin";
26
+ import { getContainerPropsValue } from "@/utils/xd.base";
27
+ import componentsMixins from "@/mixins/componentsMixins";
28
+ import extsMixins from "@/mixins/extsMixins";
29
+ export default {
30
+ name: "JfbBaseCardDelay",
31
+ components: {
32
+ XdFontIcon
146
33
  },
147
- activeIndex(n, o) {
148
- if (n !== o) {
149
- this.package_id = this.packageList[n].id;
150
- this.pay_amount = this.packageList[n].pay_amount;
34
+ mixins: [
35
+ componentsMixins, extsMixins, JfbBaseCardDelayMixin
36
+ ],
37
+ data() {
38
+ return {
39
+
40
+ //todo
151
41
  }
152
42
  },
153
- card_number(n, o) {
154
- if (n === "") {
155
- this.packageList = null;
156
- this.package_id = null;
157
- }
43
+ watch: {
44
+ container(value, oldValue) {
45
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
46
+ if (this.$configProject['isPreview']) this.init(value)
47
+ },
158
48
  },
159
- },
160
- created() {
161
- this.backgroundColor = Color(this.mainColor).alpha(0.2).toString();
162
- this.init(this.container);
49
+ created() {
50
+ this.init(this.container);
163
51
 
164
- //todo
165
- },
166
- methods: {
167
- onJfbLoad(options) {
168
- this.getContent();
169
- },
170
- getContent() {
171
- jfbRootExec("getCardDelayContent", {
172
- vm: this,
173
- data: {
174
- page_id: this.pageAttr["page_id"], //页面ID
175
- container_id: this.containerId, //组件ID
176
- limit: 1,
177
- },
178
- })
179
- .then((res) => {
180
- if (res.list && res.list.length > 0) {
181
- this.notice = res.list[0].content;
182
- }
183
- this.statusNotice = true;
184
- })
185
- .catch((error) => {
186
- console.error(error);
187
- });
188
- },
189
- getList() {
190
- jfbRootExec("getCardDelayPackageList", {
191
- vm: this,
192
- data: {
193
- card_number: this.card_number,
194
- },
195
- })
196
- .then((res) => {
197
- if (res.list && res.list.length > 0) {
198
- res.list = res.list.map((item) => {
199
- return {
200
- ...item,
201
- pay_amount: this.$xdUniHelper.divisionFloatNumber(
202
- item.pay_amount,
203
- 100
204
- ),
205
- };
206
- });
207
- this.packageList = res.list;
208
- this.package_id = this.packageList[0].id;
209
- this.pay_amount = this.packageList[0].pay_amount;
210
- } else {
211
- this.packageList = [];
212
- }
213
- })
214
- .catch((error) => {
215
- console.error(error);
216
- });
52
+ //todo
217
53
  },
218
- handleBuy() {
219
- jfbRootExec("confirmDelayOrder", {
220
- vm: this,
221
- data: {
222
- card_number: this.card_number, //页面ID
223
- total_amount: this.pay_amount * 100, //组件ID
224
- package_id: this.package_id,
225
- },
226
- })
227
- .then((res) => {
228
- this.$xdHideLoading();
229
- if (res.is_need_pay === "Y") {
230
- this.$xdUniHelper.navigateTo({
231
- url: `${this.payPath}?order_id=${res.pay_order_id}&main_order_id=${res.order_id}&type=delay`,
232
- });
233
- } else {
234
- this.$xdUniHelper.navigateTo({
235
- url: `${this.successPath}?order_id=${res.order_id}&type=delay`,
236
- });
237
- }
238
- })
239
- .catch((err) => {
240
- this.$xdHideLoading();
241
- console.log(err, "err");
242
- });
243
- },
244
- /**
245
- * @description 监听事件变化
246
- * @param container {object} 业务组件对象自己
247
- */
248
- init(container) {
249
- this.payPath = getContainerPropsValue(container, "content.payPath", {
250
- value: "",
251
- }).value;
252
- this.successPath = getContainerPropsValue(container, "content.successPath", {
253
- value: "",
254
- }).value;
255
- },
256
- },
257
- };
54
+ methods: {
55
+ onJfbLoad(options) {
56
+
57
+ // jfbRootExec('baiduUserLogin', {
58
+
59
+ // vm: this,// data: {
60
+
61
+ // account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
62
+
63
+ // }
64
+
65
+ // }).then().catch()
66
+ },
67
+ /**
68
+ * @description 监听事件变化
69
+ * @param container {object} 业务组件对象自己
70
+ */
71
+ init(container) {
72
+
73
+ //this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
74
+
75
+ //this.height = getContainerPropsValue(container, 'content.height', 10);
76
+ },
77
+ onJfbScroll(options) {
78
+ console.log('event.onJfbScroll', options)
79
+ },
80
+ onJfbReachBottom(options) {
81
+ console.log('event.onJfbReachBottom', options)
82
+ },
83
+ onJfbShow(options) {
84
+ console.log('event.onJfbShow', options)
85
+ },
86
+ onJfbHide(options) {
87
+ console.log('event.onJfbHide', options)
88
+ },
89
+ onJfbBack(options) {
90
+ console.log('event.onJfbBack', options)
91
+ },
92
+ onJfbUpdate(...data) {
93
+ console.log('event.onJfbUpdate', data)
94
+ },
95
+ onJfbCustomEvent(options) {
96
+ console.log('event.onJfbReachBottom', options)
97
+ },
98
+ }
99
+ }
100
+
258
101
  </script>
259
102
 
260
103
  <style scoped lang="less">
261
- @import "./JfbBaseCardDelayLess.less";
104
+ @import "./JfbBaseCardDelayLess.less";
262
105
 
263
- .jfb-base-card-delay {
264
- &__body {
265
- padding: 26rpx;
266
- .wrap {
267
- border-radius: 20rpx;
268
- border: 1rpx solid #eeeeee;
269
- padding: 36rpx;
270
- background: #fff;
271
- input {
272
- height: 30rpx;
273
- border-radius: 16rpx;
274
- background: #fafafa;
275
- border: 1px solid #eeeeee;
276
- padding: 30rpx 40rpx;
277
- }
278
- }
279
- &-footer {
280
- position: fixed;
281
- left: 0;
282
- right: 0;
283
- height: unit(100, rpx);
284
- display: flex;
285
- justify-content: center;
286
- align-items: center;
287
- }
288
- .package {
289
- display: flex;
290
- align-items: center;
291
- flex-wrap: wrap;
292
- margin-top: 30rpx;
293
- &-item {
294
- padding: 40rpx 20rpx;
295
- font-size: 28rpx;
296
- text-align: center;
297
- border-radius: 16rpx;
298
- margin-right: 36rpx;
299
- margin-bottom: 36rpx;
300
- width: 24%;
106
+ .jfb-base-card-delay {
107
+ &__body{
301
108
 
302
- & > view:nth-child(2) {
303
- & > text {
304
- font-size: 48rpx;
305
- }
306
- }
307
- }
308
109
  }
309
110
  }
310
- }
311
111
  </style>
@@ -50,17 +50,5 @@ export default {
50
50
  },
51
51
  inline: false,
52
52
  },
53
- {
54
- label: '票券转赠地址:',
55
- ele: 'xd-select-pages-path',
56
- valueKey: 'give_url',
57
- groupKey:'advanced',
58
- placeholder: '请选择票券转赠地址',
59
- value: null,
60
- setting: {
61
- router: XdBus.getParentApi('getPagesTree'),
62
- },
63
- inline: false,
64
- },
65
53
  ],
66
54
  };
@@ -71,13 +71,6 @@
71
71
  <view v-if="0">
72
72
  <xd-button size="small" type="primary" width="100%">消费记录</xd-button>
73
73
  </view>
74
- <view v-if="1||info.is_can_transfer==='Y'">
75
- <xd-button
76
- width="100%"
77
- @click="handleGive()"
78
- size="small"
79
- type="primary">赠送</xd-button>
80
- </view>
81
74
  <view v-if="info.is_exchange==='Y'">
82
75
  <xd-button
83
76
  width="100%"
@@ -162,7 +155,6 @@ export default {
162
155
  isBrandLogo: false,
163
156
  isShowUnbind: false, //是否启动绑定按钮
164
157
  headerBg: {},
165
- give_url: ""
166
158
  };
167
159
  },
168
160
  watch: {
@@ -212,7 +204,6 @@ export default {
212
204
  init(container) {
213
205
  this.backUrl = getContainerPropsValue(container, "content.back_url", { value: "" }).value;
214
206
  this.shift_url = getContainerPropsValue(container, "content.shift_url", { value: "" }).value;
215
- this.give_url = getContainerPropsValue(container, "content.give_url", { value: "" }).value;
216
207
  //'wechat_mini_program|default'
217
208
  this.entryGroupId = getContainerPropsValue(container,"content.entryGroupId","default");
218
209
  },
@@ -314,11 +305,6 @@ export default {
314
305
  .catch();
315
306
  }, time);
316
307
  },
317
- handleGive() {
318
- this.$xdUniHelper.navigateTo({
319
- url: `${this.give_url}?card_number=${this.info["card_number"]}`,
320
- });
321
- },
322
308
  /**
323
309
  * @description 已绑定卡登录
324
310
  * @param entry
@@ -2,5 +2,5 @@
2
2
 
3
3
  module.exports = {
4
4
  getCardYueEntry: {},
5
- getBaseByIdCardDetailEntry: {"card_number":"101001000008091","card_point":99875,"card_type_name":"多余额福卡","end_time":"2025-04-30","card_status":"Y","card_status_name":"开启","is_can_transfer":"Y","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"}
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"}
6
6
  }
@@ -322,18 +322,6 @@ export default {
322
322
  },
323
323
  inline: false,
324
324
  },
325
- {
326
- label: '转赠中票券详情地址:',
327
- ele: 'xd-select-pages-path',
328
- valueKey: 'give_url',
329
- groupKey:'advanced',
330
- placeholder: '请选择转赠中票券详情地址',
331
- value: null,
332
- setting: {
333
- router: XdBus.getParentApi('getPagesTree'),
334
- },
335
- inline: false,
336
- },
337
325
  {
338
326
  label: '票券密码绑定地址:',
339
327
  ele: 'xd-select-pages-path',
@@ -358,114 +346,5 @@ export default {
358
346
  },
359
347
  inline: false,
360
348
  },
361
- {
362
- ele: "title",
363
- label: "我的优惠券样式配置",
364
- size: "small",
365
- groupKey: "style",
366
- },
367
- {
368
- label: "是否切换到优惠券",
369
- ele: "xd-radio",
370
- valueKey: "isShowCoupon",
371
- groupKey:'style',
372
- value:"N",
373
- list: [
374
- {label: "是", value: "Y"},
375
- {label: "否", value: "N"},
376
- ]
377
- },
378
- {
379
- label: "优惠券左侧背景色设置:",
380
- ele: "xd-gradient-color",
381
- valueKey: "couponLeftBgColor",
382
- value: 'linear-gradient(180deg, #FFA852 0%, #FF5733 100%)',
383
- groupKey:'style',
384
- },
385
- {
386
- label: "圆角设置",
387
- ele: 'xd-site-select-list',
388
- valueKey: 'couponRadius',
389
- value: 16,
390
- groupKey:'style',
391
- placeholder: '请选择内容圆角设置',
392
- multiple: false,
393
- className: 'input80',
394
- handleCustom({ action, data }) {
395
- XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
396
- .then(res => {
397
- data.cb(res.list)
398
- })
399
- .catch(error => {
400
- console.error(error);
401
- });
402
- },
403
- },
404
- {
405
- label: "优惠券标题背景颜色设置:",
406
- ele: "xd-color",
407
- valueKey: "couponTitleBgColor",
408
- value: null,
409
- groupKey:'style',
410
- setting: {
411
- showAlpha: true,
412
- isAlpha: true
413
- },
414
- },
415
- {
416
- label: "去使用按钮文字背景色设置: ",
417
- ele: "xd-text-and-bgc",
418
- groupKey:'style',
419
- valueKey: "couponBtnTextStyle",
420
- value: null,
421
- setting: {
422
- fontSize: true, //字体大小选择
423
- color: true, //文字颜色选项
424
- bgColor: true, //背景选项
425
- weight: true, //文字粗细
426
- },
427
- handleCustom({action, data}) {
428
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
429
- .then(res => {
430
- data.cb(res.list)
431
- })
432
- .catch(error => {
433
- console.error(error);
434
- data.cb([])
435
- });
436
- },
437
- },
438
- {
439
- label: "按钮内边距设置:",
440
- groupKey:'style',
441
- ele: 'xd-margin-padding',
442
- valueKey: 'couponUseBtnPadding',
443
- value: null,
444
- setting: {
445
- type: 'padding',
446
- },
447
- placeholder: '请设置边距',
448
- inline: false,
449
- notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
450
- },
451
- {
452
- label: "按钮圆角设置",
453
- ele: 'xd-site-select-list',
454
- valueKey: 'couponBtnRadius',
455
- value: 16,
456
- groupKey:'style',
457
- placeholder: '请选择内容圆角设置',
458
- multiple: false,
459
- className: 'input80',
460
- handleCustom({ action, data }) {
461
- XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
462
- .then(res => {
463
- data.cb(res.list)
464
- })
465
- .catch(error => {
466
- console.error(error);
467
- });
468
- },
469
- },
470
349
  ],
471
350
  };