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.
- package/package.json +1 -1
- package/src/components/JfbBaseCardDelay/Api.js +30 -19
- package/src/components/JfbBaseCardDelay/Attr.js +35 -237
- package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +78 -278
- package/src/components/JfbBaseCardDetailEntry/Attr.js +0 -12
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +0 -14
- package/src/components/JfbBaseCardDetailEntry/Mock.js +1 -1
- package/src/components/JfbBaseCardEntry/Attr.js +0 -121
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +29 -205
- package/src/components/JfbBaseCardGive/Api.js +34 -18
- package/src/components/JfbBaseCardGive/Attr.js +36 -29
- package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +80 -466
- package/src/components/JfbBaseCardGive/Mock.js +9 -2
- package/src/components/JfbBaseCardReceive/Api.js +36 -10
- package/src/components/JfbBaseCardReceive/Attr.js +39 -9
- package/src/components/JfbBaseCardReceive/JfbBaseCardReceive.vue +80 -401
- package/src/components/JfbBaseCardReceive/Mock.js +7 -1
- package/src/components/JfbBaseCardReceiveCover/Api.js +43 -5
- package/src/components/JfbBaseCardReceiveCover/Attr.js +32 -57
- package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +82 -147
- package/src/components/JfbBaseCardReceiveCover/Mock.js +9 -1
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +1 -1
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +2 -81
- package/src/components/JfbBaseOrderDetail/Mock.js +0 -5
- package/src/components/JfbBasePay/Attr.js +0 -12
- package/src/components/JfbBasePay/JfbBasePay.vue +4 -4
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +1 -0
- package/src/components/JfbBaseRechargeOrder/Api.js +0 -11
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +27 -46
- package/src/components/JfbBaseRechargeOrderDetail/Api.js +0 -11
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +13 -142
- package/src/components/JfbBaseRechargeSuccess/Api.js +0 -11
- package/src/components/JfbBaseRechargeSuccess/Attr.js +1 -1
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +3 -6
|
@@ -8,74 +8,49 @@ export default {
|
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
label: '
|
|
12
|
-
ele: 'xd-
|
|
13
|
-
valueKey: '
|
|
14
|
-
value: data.
|
|
15
|
-
|
|
16
|
-
|
|
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, //当上传图片列表时候,最大数量数量
|
|
29
|
-
rules: [
|
|
30
|
-
{ required: true, message: '请上传图片', trigger: ['blur', 'change'] },
|
|
31
|
-
]
|
|
32
|
-
},
|
|
33
|
-
{
|
|
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, //当上传图片列表时候,最大数量数量
|
|
11
|
+
label: '背景颜色:',
|
|
12
|
+
ele: 'xd-color',
|
|
13
|
+
valueKey: 'bgcolor',
|
|
14
|
+
value: data.bgcolor || '',
|
|
15
|
+
placeholder: '请输入占位框背景颜色',
|
|
16
|
+
classNmae: 'input80',
|
|
52
17
|
rules: [
|
|
53
|
-
{
|
|
18
|
+
{
|
|
19
|
+
required: true,
|
|
20
|
+
message: '请输入占位框背景颜色',
|
|
21
|
+
trigger: 'blur'
|
|
22
|
+
},
|
|
54
23
|
]
|
|
55
24
|
},
|
|
56
25
|
{
|
|
57
|
-
label: '
|
|
26
|
+
label: '选中路径:',
|
|
58
27
|
ele: 'xd-select-pages-path',
|
|
59
|
-
valueKey: '
|
|
60
|
-
|
|
61
|
-
placeholder: '请选择领取跳转地址',
|
|
62
|
-
value: data['receive_get_url']||null,
|
|
28
|
+
valueKey: 'select-pages-path',
|
|
29
|
+
value: data['select-pages-path'] || null,
|
|
63
30
|
setting: {
|
|
64
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
31
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
65
32
|
},
|
|
66
|
-
|
|
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',
|
|
67
42
|
rules: [
|
|
68
|
-
{
|
|
43
|
+
{
|
|
44
|
+
required: true,
|
|
45
|
+
message: '请输入占位框高度',
|
|
46
|
+
trigger: 'blur'
|
|
47
|
+
},
|
|
69
48
|
]
|
|
70
49
|
},
|
|
71
50
|
{
|
|
72
|
-
label: '
|
|
73
|
-
ele: '
|
|
74
|
-
|
|
75
|
-
value: data['btnColor'] || '',
|
|
76
|
-
groupKey: "content",
|
|
77
|
-
placeholder: '请输入按钮文字颜色',
|
|
78
|
-
classNmae: 'input80',
|
|
51
|
+
label: '', //label
|
|
52
|
+
ele: 'slot', //package 名称
|
|
53
|
+
slot: 'is_reference',
|
|
79
54
|
},
|
|
80
55
|
].filter(i=>i)
|
|
81
56
|
},
|
|
@@ -2,175 +2,110 @@
|
|
|
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"
|
|
14
|
-
>删除</view
|
|
15
|
-
>
|
|
13
|
+
<view class="jfb-base-card-receive-cover__edit-icon" @click="delEdit">删除</view>
|
|
16
14
|
</view>
|
|
17
15
|
<!-- #endif -->
|
|
18
|
-
<view
|
|
19
|
-
|
|
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>
|
|
16
|
+
<view class="jfb-base-card-receive-cover__body">
|
|
17
|
+
<view>测试插件( {{containerId}} )</view>
|
|
28
18
|
</view>
|
|
29
19
|
</view>
|
|
30
20
|
</template>
|
|
31
21
|
|
|
32
22
|
<script>
|
|
33
|
-
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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
|
-
});
|
|
70
|
-
},
|
|
71
|
-
contentBgStyle() {
|
|
72
|
-
return this.styleObjectToString({
|
|
73
|
-
backgroundImage: "url(" + this.contentBg + ")",
|
|
74
|
-
backgroundRepeat: "no-repeat",
|
|
75
|
-
backgroundSize: "100% 100%",
|
|
76
|
-
color: this.mainColor,
|
|
77
|
-
});
|
|
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
|
|
78
33
|
},
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
created() {
|
|
87
|
-
this.init(this.container);
|
|
34
|
+
mixins: [
|
|
35
|
+
componentsMixins, extsMixins, JfbBaseCardReceiveCoverMixin
|
|
36
|
+
],
|
|
37
|
+
data() {
|
|
38
|
+
return {
|
|
88
39
|
|
|
89
|
-
|
|
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
|
-
});
|
|
107
|
-
},
|
|
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);
|
|
40
|
+
//todo
|
|
41
|
+
}
|
|
115
42
|
},
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
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
|
-
);
|
|
43
|
+
watch: {
|
|
44
|
+
container(value, oldValue) {
|
|
45
|
+
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
46
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
47
|
+
},
|
|
135
48
|
},
|
|
136
|
-
|
|
137
|
-
this
|
|
138
|
-
|
|
139
|
-
|
|
49
|
+
created() {
|
|
50
|
+
this.init(this.container);
|
|
51
|
+
|
|
52
|
+
//todo
|
|
140
53
|
},
|
|
141
|
-
|
|
142
|
-
|
|
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
|
+
|
|
143
101
|
</script>
|
|
144
102
|
|
|
145
103
|
<style scoped lang="less">
|
|
146
|
-
@import "./JfbBaseCardReceiveCoverLess.less";
|
|
104
|
+
@import "./JfbBaseCardReceiveCoverLess.less";
|
|
105
|
+
|
|
106
|
+
.jfb-base-card-receive-cover {
|
|
107
|
+
&__body{
|
|
147
108
|
|
|
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;
|
|
173
109
|
}
|
|
174
110
|
}
|
|
175
|
-
}
|
|
176
111
|
</style>
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
getCardByIdFilmSquate:{},
|
|
6
|
+
|
|
7
|
+
updateCardFilmPaiqiDate:{},
|
|
8
|
+
|
|
9
|
+
removeCardFilmAddress:{},
|
|
10
|
+
|
|
11
|
+
addCardFilmcart:{},
|
|
12
|
+
|
|
5
13
|
}
|
|
@@ -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
|
-
|
|
569
|
+
使用{{ info.pay_info.cards.length }}张票券 收起
|
|
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>
|
|
586
586
|
<view>编号:{{ item.card_number }}</view>
|
|
587
587
|
<xd-unit
|
|
588
588
|
:fontSize="28"
|
|
@@ -590,7 +590,6 @@
|
|
|
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>
|
|
594
593
|
</view>
|
|
595
594
|
</view>
|
|
596
595
|
</view>
|
|
@@ -617,27 +616,6 @@
|
|
|
617
616
|
</view>
|
|
618
617
|
</view>
|
|
619
618
|
</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>
|
|
641
619
|
<view
|
|
642
620
|
v-if="info.productDetail"
|
|
643
621
|
class="jfb-base-order-detail__body-card jfb-base-order-detail__body-shop"
|
|
@@ -918,9 +896,6 @@ export default {
|
|
|
918
896
|
.then((res) => {
|
|
919
897
|
this.biz_code = res.biz_code;
|
|
920
898
|
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
|
-
}
|
|
924
899
|
if (this.isPreview) {
|
|
925
900
|
switch (this.viewStatus) {
|
|
926
901
|
case "mall":
|
|
@@ -985,12 +960,6 @@ export default {
|
|
|
985
960
|
item.card_use_point,
|
|
986
961
|
100
|
|
987
962
|
);
|
|
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
|
-
}
|
|
994
963
|
return item;
|
|
995
964
|
});
|
|
996
965
|
res.codes =
|
|
@@ -1690,37 +1659,6 @@ export default {
|
|
|
1690
1659
|
}
|
|
1691
1660
|
}
|
|
1692
1661
|
|
|
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
|
-
|
|
1724
1662
|
&-line {
|
|
1725
1663
|
border-bottom: unit(2, rpx) solid #f2f2f2;
|
|
1726
1664
|
margin-bottom: unit(40, rpx);
|
|
@@ -1766,22 +1704,5 @@ export default {
|
|
|
1766
1704
|
border-radius: unit(12, rpx);
|
|
1767
1705
|
padding: unit(14, rpx) unit(28, rpx);
|
|
1768
1706
|
}
|
|
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
|
-
}
|
|
1786
1707
|
}
|
|
1787
1708
|
</style>
|
|
@@ -17,11 +17,6 @@ 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
|
-
},
|
|
25
20
|
"film_show": {
|
|
26
21
|
"name": "聚福宝-万里归途",
|
|
27
22
|
"thumb": "https:\/\/p0.pipi.cn\/mmdb\/25bfd6ddb53c7e5015d23c5bc24d876c03d41.jpg?imageMogr2\/thumbnail\/1246x1246%3E",
|
|
@@ -21,18 +21,6 @@ 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
|
-
},
|
|
36
24
|
].filter(i=>i)
|
|
37
25
|
},
|
|
38
26
|
}
|
|
@@ -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') {
|
|
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(
|
|
255
|
+
//充值不进行检查订单状态
|
|
256
|
+
if(this.type !== 'recharge') {
|
|
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(
|
|
364
|
+
if(this.type !== 'recharge') {
|
|
365
365
|
await this.p_getBaseOrderDetail();
|
|
366
366
|
}
|
|
367
367
|
const {channel_provider_id, order_id, payInfo} = this;
|
|
@@ -22,16 +22,5 @@ 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,
|
|
36
25
|
},
|
|
37
26
|
];
|