jufubao-base 1.0.179 → 1.0.181-beta1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseCardDelay/Api.js +19 -30
  3. package/src/components/JfbBaseCardDelay/Attr.js +237 -35
  4. package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +278 -78
  5. package/src/components/JfbBaseCardDetailEntry/Attr.js +12 -0
  6. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +14 -0
  7. package/src/components/JfbBaseCardDetailEntry/Mock.js +1 -1
  8. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +2 -2
  9. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +8 -8
  10. package/src/components/JfbBaseCardEntry/Attr.js +121 -0
  11. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +205 -29
  12. package/src/components/JfbBaseCardGive/Api.js +18 -34
  13. package/src/components/JfbBaseCardGive/Attr.js +29 -36
  14. package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +466 -80
  15. package/src/components/JfbBaseCardGive/Mock.js +2 -9
  16. package/src/components/JfbBaseCardReceive/Api.js +10 -36
  17. package/src/components/JfbBaseCardReceive/Attr.js +9 -39
  18. package/src/components/JfbBaseCardReceive/JfbBaseCardReceive.vue +401 -80
  19. package/src/components/JfbBaseCardReceive/Mock.js +1 -7
  20. package/src/components/JfbBaseCardReceiveCover/Api.js +5 -43
  21. package/src/components/JfbBaseCardReceiveCover/Attr.js +57 -32
  22. package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +147 -82
  23. package/src/components/JfbBaseCardReceiveCover/Mock.js +1 -9
  24. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +1 -1
  25. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +81 -2
  26. package/src/components/JfbBaseOrderDetail/Mock.js +5 -0
  27. package/src/components/JfbBasePay/Attr.js +12 -0
  28. package/src/components/JfbBasePay/JfbBasePay.vue +4 -4
  29. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +0 -1
  30. package/src/components/JfbBaseRechargeOrder/Api.js +11 -0
  31. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +46 -27
  32. package/src/components/JfbBaseRechargeOrderDetail/Api.js +11 -0
  33. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +142 -13
  34. package/src/components/JfbBaseRechargeSuccess/Api.js +11 -0
  35. package/src/components/JfbBaseRechargeSuccess/Attr.js +1 -1
  36. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +6 -3
  37. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +2 -2
@@ -2,110 +2,310 @@
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>测试插件( {{containerId}} )</view>
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>
18
93
  </view>
19
94
  </view>
20
95
  </template>
21
96
 
22
97
  <script>
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
33
- },
34
- mixins: [
35
- componentsMixins, extsMixins, JfbBaseCardDelayMixin
36
- ],
37
- data() {
38
- return {
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");
39
109
 
40
- //todo
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);
146
+ },
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;
41
151
  }
42
152
  },
43
- watch: {
44
- container(value, oldValue) {
45
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
46
- if (this.$configProject['isPreview']) this.init(value)
47
- },
153
+ card_number(n, o) {
154
+ if (n === "") {
155
+ this.packageList = null;
156
+ this.package_id = null;
157
+ }
48
158
  },
49
- created() {
50
- this.init(this.container);
159
+ },
160
+ created() {
161
+ this.backgroundColor = Color(this.mainColor).alpha(0.2).toString();
162
+ this.init(this.container);
51
163
 
52
- //todo
164
+ //todo
165
+ },
166
+ methods: {
167
+ onJfbLoad(options) {
168
+ this.getContent();
53
169
  },
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
-
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
+ });
217
+ },
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
+ };
101
258
  </script>
102
259
 
103
260
  <style scoped lang="less">
104
- @import "./JfbBaseCardDelayLess.less";
261
+ @import "./JfbBaseCardDelayLess.less";
105
262
 
106
- .jfb-base-card-delay {
107
- &__body{
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%;
108
301
 
302
+ & > view:nth-child(2) {
303
+ & > text {
304
+ font-size: 48rpx;
305
+ }
306
+ }
307
+ }
109
308
  }
110
309
  }
310
+ }
111
311
  </style>
@@ -50,5 +50,17 @@ 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
+ },
53
65
  ],
54
66
  };
@@ -71,6 +71,13 @@
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>
74
81
  <view v-if="info.is_exchange==='Y'">
75
82
  <xd-button
76
83
  width="100%"
@@ -155,6 +162,7 @@ export default {
155
162
  isBrandLogo: false,
156
163
  isShowUnbind: false, //是否启动绑定按钮
157
164
  headerBg: {},
165
+ give_url: ""
158
166
  };
159
167
  },
160
168
  watch: {
@@ -204,6 +212,7 @@ export default {
204
212
  init(container) {
205
213
  this.backUrl = getContainerPropsValue(container, "content.back_url", { value: "" }).value;
206
214
  this.shift_url = getContainerPropsValue(container, "content.shift_url", { value: "" }).value;
215
+ this.give_url = getContainerPropsValue(container, "content.give_url", { value: "" }).value;
207
216
  //'wechat_mini_program|default'
208
217
  this.entryGroupId = getContainerPropsValue(container,"content.entryGroupId","default");
209
218
  },
@@ -305,6 +314,11 @@ export default {
305
314
  .catch();
306
315
  }, time);
307
316
  },
317
+ handleGive() {
318
+ this.$xdUniHelper.navigateTo({
319
+ url: `${this.give_url}?card_number=${this.info["card_number"]}`,
320
+ });
321
+ },
308
322
  /**
309
323
  * @description 已绑定卡登录
310
324
  * @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":"开启","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":"开启","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"}
6
6
  }
@@ -67,7 +67,7 @@
67
67
  </view>
68
68
  <view>
69
69
  <view>{{ item.card_number }}</view>
70
- <view>有效期至:--</view>
70
+ <view>有效期至:{{item['is_show_baseinfo'] === 'Y'? item['end_time'] :'--'}}</view>
71
71
  </view>
72
72
  </view>
73
73
  <view class="jfb-base-card-disabled__body-card-item-right-bottom">
@@ -75,7 +75,7 @@
75
75
  <view
76
76
  style="color: #b8b7be"
77
77
  class="jfb-base-card-disabled__body-card-item-right-bottom-info-residue"
78
- >剩余{{ item.unit }}数:--{{ item.unit }}</view>
78
+ >剩余{{ item.unit }}数:{{item['is_show_baseinfo'] === 'Y'? `${item['card_point']} ${item.unit}`:'--'}}</view>
79
79
  </view>
80
80
  <view
81
81
  @click.stop="handleUnBindCard(item)"
@@ -10,9 +10,7 @@
10
10
  :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-base-card-disabled-entry__edit-icon" @click="delEdit"
14
- >删除</view
15
- >
13
+ <view class="jfb-base-card-disabled-entry__edit-icon" @click="delEdit">删除</view>
16
14
  </view>
17
15
  <!-- #endif -->
18
16
  <view class="jfb-base-card-disabled-entry__body">
@@ -46,16 +44,19 @@
46
44
  </div>
47
45
  <view class="card-list__date">
48
46
  <text>有效期:</text>
49
- <text>--</text>
47
+ <text>{{item['is_show_baseinfo'] === 'Y'? item['end_time'] :'--'}}</text>
50
48
  </view>
51
49
  <view class="card-list__yue">
52
50
  <text>余额:</text>
53
- <text>--</text>
51
+ <text>{{item['is_show_baseinfo'] === 'Y'? `${item['card_point']} ${item.unit}`:'--'}}</text>
54
52
  </view>
55
- <view class="card-list__other" v-if="item.other_card_point && item.card_point_type === 2 ">
53
+ <view
54
+ class="card-list__other"
55
+ v-if="item.other_card_point && item.card_point_type === 2 "
56
+ >
56
57
  <view>
57
58
  <text>购买其他物品可抵:</text>
58
- <text>--</text>
59
+ <text>{{item['is_show_baseinfo'] === 'Y' ? item['other_card_point'] :'--'}}</text>
59
60
  </view>
60
61
  </view>
61
62
  <template>
@@ -200,7 +201,6 @@ export default {
200
201
  this.$xdShowLoading({});
201
202
  jfbRootExec("getDisableCardListEntry", {vm: this, data: {is_all: "Y", is_show_entry_settings: 'Y'},})
202
203
  .then((res) => {
203
- //this.isShowUnbind = (res["is_can_unbind"] === 'Y' || res["is_can_unbind"] === undefined);
204
204
  res.list = res.list.map((item) => {
205
205
  return {
206
206
  ...item,