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
@@ -7,52 +7,14 @@
7
7
  module.exports = [
8
8
  {
9
9
  //设置方法名字当别忘记加上【模块名字】:Card
10
- mapFnName: 'getCardByIdFilmSquate',
11
- title: '获取电影广场列表',
12
- path: '/api/account/film/list-film-square',
10
+ mapFnName: 'getReceiveGreetingCard',
11
+ title: '获取祝福语',
12
+ path: '/card/v1/card-transfer/get-record',
13
13
  isRule: false,
14
14
  params: {
15
- last_key: ['当前页', 'Number', '必选'],
16
- page_size: ['每页数量', 'Number', '必选'],
15
+ transfer_auth_code: ['转增授权码', 'Number', '必选'],
17
16
  },
18
17
  isConsole: true,
19
18
  disabled: true,
20
- },
21
- {
22
- //设置方法名字当别忘记加上【模块名字】:Card
23
- mapFnName: 'updateCardFilmPaiqiDate',
24
- title: '更新排期',
25
- path: '/api/account/film/paiqi-date',
26
- isRule: false,
27
- params: {
28
- film_id: ['电影id', 'Number', '必选'],
29
- cinema_id: ['影院id', 'Number', '必选'],
30
- },
31
- isConsole: true,
32
- disabled: true,
33
- },
34
- {
35
- //设置方法名字当别忘记加上【模块名字】:Card
36
- mapFnName: 'removeCardFilmAddress',
37
- title: '删除我的配送地址',
38
- path: '/api/account/film/paiqi-date',
39
- isRule: false,
40
- params: {
41
- film_id: ['电影id', 'Number', '必选'],
42
- },
43
- isConsole: true,
44
- disabled: true,
45
- },
46
- {
47
- //设置方法名字当别忘记加上【模块名字】:Card
48
- mapFnName: 'addCardFilmcart',
49
- title: '添加购物车',
50
- path: '/api/account/film/paiqi-date',
51
- isRule: false,
52
- params: {
53
- film_id: ['电影id', 'Number', '必选'],
54
- },
55
- isConsole: true,
56
- disabled: true,
57
- },
19
+ }
58
20
  ];
@@ -8,49 +8,74 @@ export default {
8
8
  content: (data) => {
9
9
  return [
10
10
  {
11
- label: '背景颜色:',
12
- ele: 'xd-color',
13
- valueKey: 'bgcolor',
14
- value: data.bgcolor || '',
15
- placeholder: '请输入占位框背景颜色',
16
- classNmae: 'input80',
11
+ label: '按钮背景图:', //label
12
+ ele: 'xd-upload', //package 名称
13
+ valueKey: 'btnBg', //form[valueKey]
14
+ value: data.btnBg || null, //v-model
15
+ defaultValue: data.btnBg || null, //默认图片对象
16
+ groupKey: "style",
17
+ slot: true, //按钮是否使用slot
18
+ oneWidth: 163, //单个图片显示宽度
19
+ oneHeight: 45, //单个图片显示高度
20
+ elinputClassName: 'input40',
21
+ tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
22
+ type: ['jpg', 'png', 'jpeg'],
23
+ styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
24
+ uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
25
+ size: 5, //5M
26
+ action: 'aliyun',
27
+ sort: true, //当上传图片列表时候,是否启用排序
28
+ maxlen: 100, //当上传图片列表时候,最大数量数量
17
29
  rules: [
18
- {
19
- required: true,
20
- message: '请输入占位框背景颜色',
21
- trigger: 'blur'
22
- },
30
+ { required: true, message: '请上传图片', trigger: ['blur', 'change'] },
23
31
  ]
24
32
  },
25
33
  {
26
- label: '选中路径:',
34
+ label: '内容背景图:', //label
35
+ ele: 'xd-upload', //package 名称
36
+ valueKey: 'contentBg', //form[valueKey]
37
+ value: data.contentBg || null, //v-model
38
+ defaultValue: data.contentBg || null, //默认图片对象
39
+ groupKey: "style",
40
+ slot: true, //按钮是否使用slot
41
+ oneWidth: 300, //单个图片显示宽度
42
+ oneHeight: 200, //单个图片显示高度
43
+ elinputClassName: 'input40',
44
+ tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
45
+ type: ['jpg', 'png', 'jpeg'],
46
+ styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
47
+ uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
48
+ size: 5, //5M
49
+ action: 'aliyun',
50
+ sort: true, //当上传图片列表时候,是否启用排序
51
+ maxlen: 100, //当上传图片列表时候,最大数量数量
52
+ rules: [
53
+ { required: true, message: '请上传图片', trigger: ['blur', 'change'] },
54
+ ]
55
+ },
56
+ {
57
+ label: '领取跳转地址:',
27
58
  ele: 'xd-select-pages-path',
28
- valueKey: 'select-pages-path',
29
- value: data['select-pages-path'] || null,
59
+ valueKey: 'receive_get_url',
60
+ groupKey:'advanced',
61
+ placeholder: '请选择领取跳转地址',
62
+ value: data['receive_get_url']||null,
30
63
  setting: {
31
- router: XdBus.getParentApi('getPagesTree')
64
+ router: XdBus.getParentApi('getPagesTree'),
32
65
  },
33
- },
34
- data.bgcolor && {
35
- label: '高度:',
36
- ele: 'el-input',
37
- type: 'number',
38
- valueKey: 'height',
39
- value: data.height || 100,
40
- placeholder: '请输入占位框高度,单位像素,默认:10px',
41
- className: 'input80',
66
+ inline: false,
42
67
  rules: [
43
- {
44
- required: true,
45
- message: '请输入占位框高度',
46
- trigger: 'blur'
47
- },
68
+ { required: true, message: '请选择领取地址', trigger: ['blur', 'change'] },
48
69
  ]
49
70
  },
50
71
  {
51
- label: '', //label
52
- ele: 'slot', //package 名称
53
- slot: 'is_reference',
72
+ label: '按钮文字颜色:',
73
+ ele: 'xd-color',
74
+ valueKey: 'btnColor',
75
+ value: data['btnColor'] || '',
76
+ groupKey: "content",
77
+ placeholder: '请输入按钮文字颜色',
78
+ classNmae: 'input80',
54
79
  },
55
80
  ].filter(i=>i)
56
81
  },
@@ -2,110 +2,175 @@
2
2
  <view
3
3
  class="jfb-base-card-receive-cover"
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-receive-cover__edit"
10
- :class="{ editx : isEditx && active }"
10
+ :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-base-card-receive-cover__edit-icon" @click="delEdit">删除</view>
13
+ <view class="jfb-base-card-receive-cover__edit-icon" @click="delEdit"
14
+ >删除</view
15
+ >
14
16
  </view>
15
17
  <!-- #endif -->
16
- <view class="jfb-base-card-receive-cover__body">
17
- <view>测试插件( {{containerId}} )</view>
18
+ <view
19
+ :style="{ height: layoutInfo.bodyMinHeightRpx + 'rpx' }"
20
+ class="jfb-base-card-receive-cover__body"
21
+ >
22
+ <view class="content" :style="contentBgStyle">
23
+ <view class="content-info">{{ greeting }}</view>
24
+ </view>
25
+ <view class="btn" @click="handleToReceive" :style="btnBgStyle">{{
26
+ status === "T" ? "链接已失效" : "立即领取"
27
+ }}</view>
18
28
  </view>
19
29
  </view>
20
30
  </template>
21
31
 
22
32
  <script>
23
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
24
- import { jfbRootExec } from "@/utils/xd.event";
25
- import JfbBaseCardReceiveCoverMixin from "./JfbBaseCardReceiveCoverMixin";
26
- import { getContainerPropsValue } from "@/utils/xd.base";
27
- import componentsMixins from "@/mixins/componentsMixins";
28
- import extsMixins from "@/mixins/extsMixins";
29
- export default {
30
- name: "JfbBaseCardReceiveCover",
31
- components: {
32
- XdFontIcon
33
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
34
+ import XdButton from "@/components/XdButton/XdButton";
35
+ import { jfbRootExec } from "@/utils/xd.event";
36
+ import JfbBaseCardReceiveCoverMixin from "./JfbBaseCardReceiveCoverMixin";
37
+ import { getContainerPropsValue } from "@/utils/xd.base";
38
+ import componentsMixins from "@/mixins/componentsMixins";
39
+ import extsMixins from "@/mixins/extsMixins";
40
+ export default {
41
+ name: "JfbBaseCardReceiveCover",
42
+ components: {
43
+ XdFontIcon,
44
+ XdButton,
45
+ },
46
+ mixins: [componentsMixins, extsMixins, JfbBaseCardReceiveCoverMixin],
47
+ data() {
48
+ return {
49
+ btnBg: "",
50
+ contentBg: "",
51
+ greeting: "我的时代看哈稍等哈手机卡好卡哈哈哈哈哈哈",
52
+ receive_get_url: "",
53
+ btnColor: "",
54
+ transfer_auth_code: null,
55
+ status: "N",
56
+ };
57
+ },
58
+ computed: {
59
+ btnBgStyle() {
60
+ return this.styleObjectToString({
61
+ backgroundImage: "url(" + this.btnBg + ")",
62
+ backgroundRepeat: "no-repeat",
63
+ backgroundSize: "100% 100%",
64
+ width: "326rpx",
65
+ height: "90rpx",
66
+ lineHeight: "80rpx",
67
+ color: this.btnColor,
68
+ border: "none",
69
+ });
33
70
  },
34
- mixins: [
35
- componentsMixins, extsMixins, JfbBaseCardReceiveCoverMixin
36
- ],
37
- data() {
38
- return {
39
-
40
- //todo
41
- }
71
+ contentBgStyle() {
72
+ return this.styleObjectToString({
73
+ backgroundImage: "url(" + this.contentBg + ")",
74
+ backgroundRepeat: "no-repeat",
75
+ backgroundSize: "100% 100%",
76
+ color: this.mainColor,
77
+ });
42
78
  },
43
- watch: {
44
- container(value, oldValue) {
45
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
46
- if (this.$configProject['isPreview']) this.init(value)
47
- },
79
+ },
80
+ watch: {
81
+ container(value, oldValue) {
82
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
83
+ if (this.$configProject["isPreview"]) this.init(value);
48
84
  },
49
- created() {
50
- this.init(this.container);
85
+ },
86
+ created() {
87
+ this.init(this.container);
51
88
 
52
- //todo
89
+ //todo
90
+ },
91
+ methods: {
92
+ onJfbLoad(options) {
93
+ this.transfer_auth_code = options.transfer_auth_code;
94
+ jfbRootExec("getReceiveGreetingCard", {
95
+ vm: this,
96
+ data: {
97
+ transfer_auth_code: this.transfer_auth_code,
98
+ },
99
+ })
100
+ .then((res) => {
101
+ this.greeting = res.transfer_record.greeting;
102
+ this.status = res.transfer_record.status;
103
+ })
104
+ .catch((err) => {
105
+ console.log(err, "err");
106
+ });
53
107
  },
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
-
108
+ /**
109
+ * @description 监听事件变化
110
+ * @param container {object} 业务组件对象自己
111
+ */
112
+ init(container) {
113
+ //this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
114
+ //this.height = getContainerPropsValue(container, 'content.height', 10);
115
+ },
116
+ init(container) {
117
+ this.btnBg = getContainerPropsValue(container, "content.btnBg", {
118
+ path: "",
119
+ }).path;
120
+ this.contentBg = getContainerPropsValue(container, "content.contentBg", {
121
+ path: "",
122
+ }).path;
123
+ this.receive_get_url = getContainerPropsValue(
124
+ container,
125
+ "content.receive_get_url",
126
+ {
127
+ value: "",
128
+ }
129
+ ).value;
130
+ this.btnColor = getContainerPropsValue(
131
+ container,
132
+ "content.btnColor",
133
+ "#000"
134
+ );
135
+ },
136
+ handleToReceive() {
137
+ this.$xdUniHelper.navigateTo({
138
+ url: `${this.receive_get_url}?transfer_auth_code=${this.transfer_auth_code}`,
139
+ });
140
+ },
141
+ },
142
+ };
101
143
  </script>
102
144
 
103
145
  <style scoped lang="less">
104
- @import "./JfbBaseCardReceiveCoverLess.less";
105
-
106
- .jfb-base-card-receive-cover {
107
- &__body{
146
+ @import "./JfbBaseCardReceiveCoverLess.less";
108
147
 
148
+ .jfb-base-card-receive-cover {
149
+ &__body {
150
+ display: flex;
151
+ flex-direction: column;
152
+ align-items: center;
153
+ justify-content: flex-end;
154
+ .content {
155
+ position: relative;
156
+ min-height: 400rpx;
157
+ min-width: 600rpx;
158
+ display: flex;
159
+ justify-content: center;
160
+ font-size: 40rpx;
161
+ font-weight: 500;
162
+ &-info {
163
+ padding-top: 70rpx;
164
+ width: 300rpx;
165
+ text-align: center;
166
+ }
167
+ }
168
+ .btn {
169
+ margin-top: 50rpx;
170
+ margin-bottom: 100rpx;
171
+ font-size: 36rpx;
172
+ text-align: center;
109
173
  }
110
174
  }
175
+ }
111
176
  </style>
@@ -1,13 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  module.exports = {
4
-
5
- getCardByIdFilmSquate:{},
6
-
7
- updateCardFilmPaiqiDate:{},
8
-
9
- removeCardFilmAddress:{},
10
-
11
- addCardFilmcart:{},
12
-
4
+ getReceiveGreetingCard:{"card_number":"101001000008098","card_point":99028,"card_type_name":"多余额福卡","end_time":"2025-07-31","card_status":"Y","card_status_name":"开启","unit":"点","main_business_code_name":"蛋糕(勿改)、网络视听(勿改)、体检(勿改)","other_card_point":79222,"is_exchange":"N","exchange_card_type_name":"","exchange_card_point":0,"card_point_type":2,"is_can_unbind":"","business_codes":["movie","market","cake"],"site_entry_settings":[],"transfer_record":{"transfer_auth_code":"aa6ljeQETINBUAJ-9l486","status":"N","status_name":"待领取","transfer_time":"2024-09-09 11:32:11","user_id":5000223,"user_nickname":"金L爽","user_phone_number":"188****4566","greeting":"送给你了"},"request_id":"2646fc69fab35413"},
13
5
  }
@@ -157,7 +157,7 @@
157
157
  handleClick(item){
158
158
  if(item.path && item.path.value) {
159
159
  this.$xdUniHelper.navigateTo({
160
- url : item.path.value
160
+ url : `${item.path.value}`
161
161
  })
162
162
  }
163
163
  },
@@ -566,7 +566,7 @@
566
566
  ></xd-font-icon>
567
567
  </view>
568
568
  <view class="jfb-base-order-detail__body-show" v-else>
569
- 使用{{ info.pay_info.cards.length }}张票券 收起
569
+ <text>使用{{ info.pay_info.cards.length }}张票券 收起</text>
570
570
  <xd-font-icon
571
571
  style="margin-left: 8rpx"
572
572
  @click="showPayCard = false"
@@ -582,7 +582,7 @@
582
582
  :key="index"
583
583
  >
584
584
  <view>票券:{{ item.card_type_name }}</view>
585
- <view>
585
+ <view class="list-item">
586
586
  <view>编号:{{ item.card_number }}</view>
587
587
  <xd-unit
588
588
  :fontSize="28"
@@ -590,6 +590,7 @@
590
590
  :price="item.card_use_point"
591
591
  :unit="item['card_unit']"
592
592
  ></xd-unit>
593
+ <view v-if="item['card_discount_use_point'] > 0" class="discount">已优惠:{{item['card_discount_use_point']}}</view>
593
594
  </view>
594
595
  </view>
595
596
  </view>
@@ -616,6 +617,27 @@
616
617
  </view>
617
618
  </view>
618
619
  </view>
620
+ <!-- todo -->
621
+ <view v-if="info.extras.travel_booking_info.travelers&&info.extras.travel_booking_info.travelers.length>0" :style="{
622
+ background: backgroundColor,
623
+ border: borderBox,
624
+ borderRadius: radius + 'rpx',
625
+ boxShadow: shadowBox,
626
+ marginBottom: padding + 'rpx',
627
+ }" class="jfb-base-order-detail__body-card jfb-base-order-detail__body-booking">
628
+ <view class="jfb-base-order-detail__body-delivery-bottom-title">预订信息</view>
629
+ <view class="jfb-base-order-detail__body-line"></view>
630
+ <view class="jfb-base-order-detail__body-booking-list">
631
+ <view v-for="(item,index) in info.extras.travel_booking_info.travelers" :key="index" class="jfb-base-order-detail__body-booking-list-item">
632
+ <view :style="{color:mainColor,background:bgColor}" class="jfb-base-order-detail__body-booking-list-item-num">游客{{index+1}}</view>
633
+ <view class="jfb-base-order-detail__body-booking-list-item-info">
634
+ <view class="jfb-base-order-detail__body-booking-list-item-info-name">{{item.name}}</view>
635
+ <view v-if="item.id_card_no" class="jfb-base-order-detail__body-booking-list-item-info-item">身份证:{{item.id_card_no}}</view>
636
+ <view v-if="item.mobile" class="jfb-base-order-detail__body-booking-list-item-info-item">手机号:{{item.mobile}}</view>
637
+ </view>
638
+ </view>
639
+ </view>
640
+ </view>
619
641
  <view
620
642
  v-if="info.productDetail"
621
643
  class="jfb-base-order-detail__body-card jfb-base-order-detail__body-shop"
@@ -896,6 +918,9 @@ export default {
896
918
  .then((res) => {
897
919
  this.biz_code = res.biz_code;
898
920
  this.is_not_show_price = res.is_not_show_price;
921
+ if(res.extras.travel_booking_info) {
922
+ res.extras.travel_booking_info = JSON.parse(res.extras.travel_booking_info)
923
+ }
899
924
  if (this.isPreview) {
900
925
  switch (this.viewStatus) {
901
926
  case "mall":
@@ -960,6 +985,12 @@ export default {
960
985
  item.card_use_point,
961
986
  100
962
987
  );
988
+ if(item['card_discount_use_point'] !== undefined && item['card_discount_use_point'] > 0) {
989
+ item.card_discount_use_point = this.$xdUniHelper.divisionFloatNumber(
990
+ item.card_discount_use_point,
991
+ 100
992
+ );
993
+ }
963
994
  return item;
964
995
  });
965
996
  res.codes =
@@ -1659,6 +1690,37 @@ export default {
1659
1690
  }
1660
1691
  }
1661
1692
 
1693
+ &-booking {
1694
+ &-list {
1695
+ &-item {
1696
+ display: flex;
1697
+ align-items: baseline;
1698
+ margin-bottom: 40rpx;
1699
+ &-num {
1700
+ font-size: 24rpx;
1701
+ margin-right: 24rpx;
1702
+ width: 120rpx;
1703
+ height: 50rpx;
1704
+ text-align: center;
1705
+ line-height: 50rpx;
1706
+ border-radius: 16rpx;
1707
+ }
1708
+ &-info {
1709
+ flex: 1;
1710
+ &-name {
1711
+ font-size: 32rpx;
1712
+ margin-bottom: 20rpx;
1713
+ }
1714
+ &-item {
1715
+ font-size: 24rpx;
1716
+ color: #666;
1717
+ margin-bottom: 16rpx;
1718
+ }
1719
+ }
1720
+ }
1721
+ }
1722
+ }
1723
+
1662
1724
  &-line {
1663
1725
  border-bottom: unit(2, rpx) solid #f2f2f2;
1664
1726
  margin-bottom: unit(40, rpx);
@@ -1704,5 +1766,22 @@ export default {
1704
1766
  border-radius: unit(12, rpx);
1705
1767
  padding: unit(14, rpx) unit(28, rpx);
1706
1768
  }
1769
+
1770
+ .list-item {
1771
+ position: relative;
1772
+
1773
+ & > .discount {
1774
+ position: absolute;
1775
+ left:0;
1776
+ right:0;
1777
+ bottom:-20rpx;
1778
+ height: 20rpx;
1779
+ font-size: 20rpx;
1780
+ line-height: 20rpx;
1781
+ color: #aaa;
1782
+ text-align: right;
1783
+ }
1784
+
1785
+ }
1707
1786
  }
1708
1787
  </style>
@@ -17,6 +17,11 @@ module.exports = {
17
17
  "loading": false,
18
18
  "loading_timeout": -1
19
19
  },
20
+ "extras": {
21
+ "first_logistics_package_id": "",
22
+ "logistics_count": 0,
23
+ "travel_booking_info": "{\"travelers\":[{\"name\":\"\\u6d4b\\u8bd5\",\"mobile\":\"18888888889\",\"id_card_no\":\"130102198304285898\",\"id_card_type\":\"1\"}]}"
24
+ },
20
25
  "film_show": {
21
26
  "name": "聚福宝-万里归途",
22
27
  "thumb": "https:\/\/p0.pipi.cn\/mmdb\/25bfd6ddb53c7e5015d23c5bc24d876c03d41.jpg?imageMogr2\/thumbnail\/1246x1246%3E",
@@ -21,6 +21,18 @@ export default {
21
21
  },
22
22
  inline: false,
23
23
  },
24
+ {
25
+ label: '票券支付成功跳转路径:', //label
26
+ ele: 'xd-select-pages-path', //package 名称
27
+ valueKey: 'rechargeSuccessPath', //form[valueKey]
28
+ placeholder: '请选择票券支付成功跳转路径',
29
+ value: data.rechargeSuccessPath || null,
30
+ groupKey:'advanced',
31
+ setting: {
32
+ router: XdBus.getParentApi('getPagesTree'),
33
+ },
34
+ inline: false,
35
+ },
24
36
  ].filter(i=>i)
25
37
  },
26
38
  }
@@ -227,7 +227,7 @@ export default {
227
227
  },
228
228
  getSuccessUrl(){
229
229
  let url = this.paySuccessPath;
230
- if(this.type === 'recharge') {
230
+ if(this.type === 'recharge'||this.type==='delay') {
231
231
  url = this.rechargeSuccessPath || url;
232
232
  }
233
233
  return url
@@ -252,8 +252,8 @@ export default {
252
252
  this.p_getPayOrderDetail();
253
253
  this.p_getListUserPayChannel();
254
254
 
255
- //充值不进行检查订单状态
256
- if(this.type !== 'recharge') {
255
+ //充值延期不进行检查订单状态
256
+ if((this.type !== 'recharge'&&this.type!=='delay')) {
257
257
  this.p_getBaseOrderDetail();
258
258
  }
259
259
  },
@@ -361,7 +361,7 @@ export default {
361
361
  async doThirdPay() {
362
362
  if (this.$configProject.isPreview) return;
363
363
 
364
- if(this.type !== 'recharge') {
364
+ if((this.type !== 'recharge'&&this.type!=='delay')) {
365
365
  await this.p_getBaseOrderDetail();
366
366
  }
367
367
  const {channel_provider_id, order_id, payInfo} = this;
@@ -56,7 +56,6 @@
56
56
  mixins: [componentsMixins,extsMixins,JfbBasePosterTypeMixin],
57
57
  data() {
58
58
  return {
59
- hideMask: true,
60
59
  params: {},
61
60
  //Swiper 配置
62
61
  posterPosition: null,
@@ -22,5 +22,16 @@ module.exports = [
22
22
  },
23
23
  isConsole: true,
24
24
  disabled: true,
25
+ }, {
26
+ mapFnName: 'getDelayOrderList',
27
+ title: '获取卡延期订单列表',
28
+ path: '/card/v1/card-delay/list-order',
29
+ isRule: false,
30
+ params: {
31
+ page_size: ['page_size', 'Number', true],
32
+ page_token: ['page_token', 'Number', true]
33
+ },
34
+ isConsole: true,
35
+ disabled: true,
25
36
  },
26
37
  ];