jufubao-base 1.0.237-beta6 → 1.0.237-beta8
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/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +2 -2
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +4 -3
- package/src/components/JfbBaseHeaderColumn/Attr.js +7 -0
- package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +3 -1
- package/src/components/JfbBaseNoticeGroup/Api.js +58 -0
- package/src/components/JfbBaseNoticeGroup/Attr.js +48 -0
- package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroup.vue +111 -0
- package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupLess.less +79 -0
- package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupMixin.js +30 -0
- package/src/components/JfbBaseNoticeGroup/Mock.js +13 -0
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +4 -2
- package/src/components/JfbBasePay/Attr.js +13 -1
- package/src/components/JfbBasePay/JfbBasePay.vue +6 -4
- package/src/components/JfbBasePersonalData/Attr.js +25 -1
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +3 -0
- package/src/components/JfbBasePointsCard/Attr.js +1 -1
- package/src/components/JfbBasePosterGroup/Attr.js +2 -0
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +29 -6
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
</view>
|
|
29
29
|
<view class="fixed_bottom" :style="fixed_bottom">
|
|
30
30
|
<xd-button type="primary" width="600rpx" @click="searchCode">查询</xd-button>
|
|
31
|
-
<view class="plus_privacy">开通视为同意 <text @click.stop="handlePrivacy('privacy_service')"
|
|
31
|
+
<view class="plus_privacy">开通视为同意 <text @click.stop="handlePrivacy('privacy_service')">《共享PLUS会员用户协议》</text></view>
|
|
32
32
|
</view>
|
|
33
33
|
</view>
|
|
34
34
|
<view v-else class="vip_panel">
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
</view>
|
|
41
41
|
<view class="fixed_bottom" :style="fixed_bottom">
|
|
42
42
|
<xd-button type="primary" width="600rpx" @click="p_createVipOrder">立即兑换</xd-button>
|
|
43
|
-
<view class="plus_privacy">开通视为同意 <text @click.stop="handlePrivacy('privacy_service')"
|
|
43
|
+
<view class="plus_privacy">开通视为同意 <text @click.stop="handlePrivacy('privacy_service')">《共享PLUS会员用户协议》</text></view>
|
|
44
44
|
</view>
|
|
45
45
|
</view>
|
|
46
46
|
</view>
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
<text>{{plusDiscount/1000}}</text>折
|
|
60
60
|
</view>
|
|
61
61
|
</view>
|
|
62
|
-
<view class="vip-open" @click="handleToOpen">
|
|
62
|
+
<view v-if="is_vip==='N'" class="vip-open" @click="handleToOpen">
|
|
63
63
|
<xd-font-icon color="#FCBF28" size="20" icon="iconPLUShuiyuan"></xd-font-icon>
|
|
64
64
|
<text>立即开通</text>
|
|
65
65
|
<xd-font-icon size="20" icon="iconxiangyou_xian"></xd-font-icon>
|
|
@@ -146,7 +146,8 @@
|
|
|
146
146
|
isFlow: false,
|
|
147
147
|
xnamespace: '',
|
|
148
148
|
plusDiscount: 0,
|
|
149
|
-
userInfo: {}
|
|
149
|
+
userInfo: {},
|
|
150
|
+
is_vip: 'N',
|
|
150
151
|
}
|
|
151
152
|
},
|
|
152
153
|
watch: {
|
|
@@ -193,7 +194,7 @@
|
|
|
193
194
|
},
|
|
194
195
|
created() {
|
|
195
196
|
console.log(this.siteInfo,'configProject');
|
|
196
|
-
|
|
197
|
+
this.is_vip = this.getTokenForKey('user_level')&&this.getTokenForKey('user_level')==='VIP'?'Y':'N'
|
|
197
198
|
this.init(this.container);
|
|
198
199
|
},
|
|
199
200
|
methods: {
|
|
@@ -404,6 +404,13 @@ export default {
|
|
|
404
404
|
type: "number",
|
|
405
405
|
groupKey: "style",
|
|
406
406
|
},
|
|
407
|
+
data.showQrcode === 'Y' && {
|
|
408
|
+
label: "二维码图标颜色:",
|
|
409
|
+
ele: 'xd-color',
|
|
410
|
+
valueKey: "qrCodeColor",
|
|
411
|
+
groupKey:'style',
|
|
412
|
+
value: data.qrCodeColor || '',
|
|
413
|
+
},
|
|
407
414
|
data.showScan === 'Y' && {
|
|
408
415
|
ele: "title",
|
|
409
416
|
label: "扫一扫样式设置",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
>{{searchBtnText || '搜索'}}</view>
|
|
89
89
|
</view>
|
|
90
90
|
<view v-if="showQrcode==='Y'" class="qr_code" @click="handleQrCodeClick">
|
|
91
|
-
<xd-font-icon :size="qrcodeSize" icon="iconerweima"></xd-font-icon>
|
|
91
|
+
<xd-font-icon :size="qrcodeSize" icon="iconerweima" :color="qrCodeColor"></xd-font-icon>
|
|
92
92
|
</view>
|
|
93
93
|
<view v-if="showSearchBtn==='Y' && searchBtnPosition==='out'"
|
|
94
94
|
class="search_btn_out"
|
|
@@ -221,6 +221,7 @@
|
|
|
221
221
|
showQrcode: "",
|
|
222
222
|
qrcodeSize: 32,
|
|
223
223
|
qrcodePath: "",
|
|
224
|
+
qrCodeColor: "",
|
|
224
225
|
showScan: "",
|
|
225
226
|
scanIconColor: "",
|
|
226
227
|
scanPath: "",
|
|
@@ -257,6 +258,7 @@
|
|
|
257
258
|
this.choseCityPath = getContainerPropsValue(container, "content.choseCityPath", {value:""}).value;
|
|
258
259
|
this.showQrcode = getContainerPropsValue(container, "content.showQrcode", "");
|
|
259
260
|
this.qrcodeSize = getContainerPropsValue(container, "content.qrcodeSize", 32);
|
|
261
|
+
this.qrCodeColor = getContainerPropsValue(container, "content.qrCodeColor", "#333");
|
|
260
262
|
this.showScan = getContainerPropsValue(container, "content.showScan", "");
|
|
261
263
|
this.scanIconColor = getContainerPropsValue(container, "content.scanIconColor", "#333");
|
|
262
264
|
//基础
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
/**
|
|
3
|
+
* @description 接口配置,
|
|
4
|
+
* 在设置方法名字当时候,别忘记加上【模块名字】:Notice
|
|
5
|
+
* @type {*[]}
|
|
6
|
+
*/
|
|
7
|
+
module.exports = [
|
|
8
|
+
{
|
|
9
|
+
//设置方法名字当别忘记加上【模块名字】:Notice
|
|
10
|
+
mapFnName: 'getNoticeByIdFilmSquate',
|
|
11
|
+
title: '获取电影广场列表',
|
|
12
|
+
path: '/api/account/film/list-film-square',
|
|
13
|
+
isRule: false,
|
|
14
|
+
params: {
|
|
15
|
+
last_key: ['当前页', 'Number', '必选'],
|
|
16
|
+
page_size: ['每页数量', 'Number', '必选'],
|
|
17
|
+
},
|
|
18
|
+
isConsole: true,
|
|
19
|
+
disabled: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
//设置方法名字当别忘记加上【模块名字】:Notice
|
|
23
|
+
mapFnName: 'updateNoticeFilmPaiqiDate',
|
|
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
|
+
//设置方法名字当别忘记加上【模块名字】:Notice
|
|
36
|
+
mapFnName: 'removeNoticeFilmAddress',
|
|
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
|
+
//设置方法名字当别忘记加上【模块名字】:Notice
|
|
48
|
+
mapFnName: 'addNoticeFilmcart',
|
|
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
|
+
},
|
|
58
|
+
];
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
|
+
*/
|
|
6
|
+
export default {
|
|
7
|
+
style: [],
|
|
8
|
+
content: (data) => {
|
|
9
|
+
return [
|
|
10
|
+
{
|
|
11
|
+
label: '背景颜色:',
|
|
12
|
+
ele: 'xd-color',
|
|
13
|
+
valueKey: 'bgColor',
|
|
14
|
+
value: data.bgColor || '',
|
|
15
|
+
placeholder: '请输入占位框背景颜色',
|
|
16
|
+
groupKey:'content',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
label: '选中路径:',
|
|
20
|
+
groupKey:'advanced',
|
|
21
|
+
className: 'input100',
|
|
22
|
+
ele: 'xd-select-pages-path',
|
|
23
|
+
valueKey: 'select-pages-path',
|
|
24
|
+
value: data['select-pages-path'] || null,
|
|
25
|
+
setting: {
|
|
26
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
data.bgColor && {
|
|
30
|
+
label: '高度:',
|
|
31
|
+
ele: 'el-input',
|
|
32
|
+
groupKey:'style',
|
|
33
|
+
type: 'number',
|
|
34
|
+
valueKey: 'height',
|
|
35
|
+
value: data.height || 100,
|
|
36
|
+
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
37
|
+
className: 'input60',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
label: '', //label
|
|
41
|
+
groupKey:'advanced',
|
|
42
|
+
ele: 'slot', //package 名称
|
|
43
|
+
slot: 'is_reference',
|
|
44
|
+
},
|
|
45
|
+
].filter(i=>i)
|
|
46
|
+
},
|
|
47
|
+
advanced: [],
|
|
48
|
+
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view
|
|
3
|
+
class="jfb-base-notice-group"
|
|
4
|
+
@click="handleEditxSelect"
|
|
5
|
+
:class="{ editx : isEditx && active }"
|
|
6
|
+
>
|
|
7
|
+
<!--#ifdef H5-->
|
|
8
|
+
<view
|
|
9
|
+
class="jfb-base-notice-group__edit"
|
|
10
|
+
:class="{ editx : isEditx && active }"
|
|
11
|
+
v-if="isEditx && active"
|
|
12
|
+
>
|
|
13
|
+
<view class="jfb-base-notice-group__edit-icon" @click="delEdit">删除</view>
|
|
14
|
+
</view>
|
|
15
|
+
<!-- #endif -->
|
|
16
|
+
<view class="jfb-base-notice-group__body">
|
|
17
|
+
<view>测试插件( {{containerId}} )</view>
|
|
18
|
+
</view>
|
|
19
|
+
</view>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script>
|
|
23
|
+
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
24
|
+
import { jfbRootExec } from "@/utils/xd.event";
|
|
25
|
+
import JfbBaseNoticeGroupMixin from "./JfbBaseNoticeGroupMixin";
|
|
26
|
+
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
27
|
+
import componentsMixins from "@/mixins/componentsMixins";
|
|
28
|
+
import extsMixins from "@/mixins/extsMixins";
|
|
29
|
+
export default {
|
|
30
|
+
name: "JfbBaseNoticeGroup",
|
|
31
|
+
components: {
|
|
32
|
+
XdFontIcon
|
|
33
|
+
},
|
|
34
|
+
mixins: [
|
|
35
|
+
componentsMixins, extsMixins, JfbBaseNoticeGroupMixin
|
|
36
|
+
],
|
|
37
|
+
data() {
|
|
38
|
+
return {
|
|
39
|
+
|
|
40
|
+
//todo
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
watch: {
|
|
44
|
+
container(value, oldValue) {
|
|
45
|
+
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
46
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
created() {
|
|
50
|
+
this.init(this.container);
|
|
51
|
+
|
|
52
|
+
//todo
|
|
53
|
+
},
|
|
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
|
+
|
|
101
|
+
</script>
|
|
102
|
+
|
|
103
|
+
<style scoped lang="less">
|
|
104
|
+
@import "./JfbBaseNoticeGroupLess.less";
|
|
105
|
+
|
|
106
|
+
.jfb-base-notice-group {
|
|
107
|
+
&__body{
|
|
108
|
+
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
</style>
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @desc 获取绝对路径完整地址
|
|
3
|
+
* @param @path
|
|
4
|
+
**/
|
|
5
|
+
//例如:https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
|
|
6
|
+
@basePath: 'business/';
|
|
7
|
+
@doMain: '//sandbox-img.jufubao.cn/';
|
|
8
|
+
|
|
9
|
+
.getBusinessImageUrl(@path, @size: 'size8') {
|
|
10
|
+
@url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
|
|
11
|
+
background-image: url(@url);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//start
|
|
15
|
+
.jfb-base-notice-group {
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
|
|
18
|
+
&__body{
|
|
19
|
+
position: relative;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
z-index: 2
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.editx,&.editx:hover {
|
|
25
|
+
position: relative;
|
|
26
|
+
min-height: unit(100, rpx);
|
|
27
|
+
z-index: 3;
|
|
28
|
+
&::after {
|
|
29
|
+
border: 2rpx dashed blue;
|
|
30
|
+
content: " ";
|
|
31
|
+
position: absolute;
|
|
32
|
+
top:0;
|
|
33
|
+
left:0;
|
|
34
|
+
bottom:0;
|
|
35
|
+
right:0;
|
|
36
|
+
z-index: 4;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
&__edit {
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
position: absolute;
|
|
46
|
+
right: unit(0, rpx);
|
|
47
|
+
top: unit(-52, rpx);
|
|
48
|
+
height: unit(50, rpx);
|
|
49
|
+
line-height: unit(50, rpx);
|
|
50
|
+
display: flex;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
align-items: center;
|
|
53
|
+
background: rgba(0, 0, 0, .6);
|
|
54
|
+
border-radius: unit(10, rpx);
|
|
55
|
+
box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
|
|
56
|
+
color: #fff;
|
|
57
|
+
font-size: unit(22, rpx);
|
|
58
|
+
|
|
59
|
+
&-icon{
|
|
60
|
+
padding: 0 unit(20, rpx);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.editx {
|
|
64
|
+
box-sizing: border-box;
|
|
65
|
+
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
//end
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
/**notPreview**/
|
|
73
|
+
.jfb-base-notice-group {
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
78
|
+
}
|
|
79
|
+
/**endNotPreview**/
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
//@AttrImport
|
|
5
|
+
import Attr from "./Attr";
|
|
6
|
+
//@EndAttrImport
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
data() {
|
|
11
|
+
return {
|
|
12
|
+
//#ifdef H5
|
|
13
|
+
|
|
14
|
+
//@AttrData
|
|
15
|
+
Attr:{}, //对外开发编辑属性
|
|
16
|
+
//@EndAttrData
|
|
17
|
+
|
|
18
|
+
// #endif
|
|
19
|
+
cssRoot: 'jfb-base-notice-group'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
created() {
|
|
23
|
+
|
|
24
|
+
//@AttrDataCreated
|
|
25
|
+
this.Attr = this.$xdUniHelper.customClone(Attr);
|
|
26
|
+
//@EndAttrDataCreated
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
},
|
|
30
|
+
}
|
|
@@ -29,11 +29,13 @@
|
|
|
29
29
|
<view class="fixed_bottom" :style="fixed_bottom">
|
|
30
30
|
<view class="pay_btn" @click="p_createVipOrder">
|
|
31
31
|
立即支付
|
|
32
|
-
|
|
32
|
+
¥{{ $xdUniHelper.divisionFloatNumber(vipInfo.sale_price, 100) }}
|
|
33
|
+
{{ vipInfo.vip_card_life_cycle_unit ? '/'+vipInfo.vip_card_life_cycle_unit:'' }}
|
|
34
|
+
<!-- <xd-unit style="margin-left: 16rpx;"
|
|
33
35
|
:price="vipInfo.sale_price"
|
|
34
36
|
:isOld="false"
|
|
35
37
|
colorNew="#FFFFFF"
|
|
36
|
-
></xd-unit>
|
|
38
|
+
></xd-unit> -->
|
|
37
39
|
</view>
|
|
38
40
|
<view class="plus_privacy">开通视为同意 <text @click.stop="handlePrivacy('privacy_service')"></text>《共享PLUS会员用户协议》</view>
|
|
39
41
|
</view>
|
|
@@ -18,10 +18,22 @@ export default {
|
|
|
18
18
|
className: "input80",
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
+
label: "【(可使用多张票券点数)】是否展示",
|
|
22
|
+
ele: 'xd-radio',
|
|
23
|
+
valueKey: "showText2",
|
|
24
|
+
value: data.showText2 || 'Y',
|
|
25
|
+
groupKey: "content",
|
|
26
|
+
inline: true,
|
|
27
|
+
list: [
|
|
28
|
+
{ label: "展示", value: "Y" },
|
|
29
|
+
{ label: "不展示", value: "N" },
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
data.showText2 === 'Y' && {
|
|
21
33
|
label: "【(可使用多张票券点数)】文案:",
|
|
22
34
|
ele: "el-input",
|
|
23
35
|
valueKey: "text2",
|
|
24
|
-
value: data.text2 || '',
|
|
36
|
+
value: data.text2 || '(可使用多张票券点数)',
|
|
25
37
|
placeholder: '(可使用多张票券点数)',
|
|
26
38
|
groupKey: "content",
|
|
27
39
|
inline: false,
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
<view class="remain_pay" v-if="payInfo.channel_amount > 0">
|
|
101
101
|
<view style="border-bottom: 2rpx solid #eee;" class="column-group">
|
|
102
102
|
<view class="column-item" style="padding: 30rpx 60rpx">
|
|
103
|
-
<view class="column_label">{{text1}}<text class="label_sub">{{ text2 }}</text></view>
|
|
103
|
+
<view class="column_label">{{text1}}<text v-if="showText2==='Y'" class="label_sub">{{ text2 }}</text></view>
|
|
104
104
|
<view class="column_value text-primary">
|
|
105
105
|
<xd-unit
|
|
106
106
|
:price="payInfo.channel_amount"
|
|
@@ -216,6 +216,7 @@ export default {
|
|
|
216
216
|
text1: "",
|
|
217
217
|
text2: "",
|
|
218
218
|
text3: "",
|
|
219
|
+
showText2: "Y",
|
|
219
220
|
showContinuePay: "",
|
|
220
221
|
};
|
|
221
222
|
},
|
|
@@ -266,9 +267,10 @@ export default {
|
|
|
266
267
|
* @param container {object} 业务组件对象自己
|
|
267
268
|
*/
|
|
268
269
|
init(container) {
|
|
269
|
-
this.text1 = getContainerPropsValue(container, 'content.text1', "");
|
|
270
|
-
this.text2 = getContainerPropsValue(container, 'content.text2', "");
|
|
271
|
-
this.text3 = getContainerPropsValue(container, 'content.text3', "");
|
|
270
|
+
this.text1 = getContainerPropsValue(container, 'content.text1', "仍需扣点");
|
|
271
|
+
this.text2 = getContainerPropsValue(container, 'content.text2', "(可使用多张票券点数)");
|
|
272
|
+
this.text3 = getContainerPropsValue(container, 'content.text3', "选择以下补差方式");
|
|
273
|
+
this.showText2 = getContainerPropsValue(container, 'content.showText2', "Y");
|
|
272
274
|
this.showContinuePay = getContainerPropsValue(container, 'content.showContinuePay', 'Y');
|
|
273
275
|
this.paySuccessPath = getContainerPropsValue(
|
|
274
276
|
container,
|
|
@@ -6,7 +6,31 @@
|
|
|
6
6
|
export default {
|
|
7
7
|
style: [],
|
|
8
8
|
content: (data) => {
|
|
9
|
-
return [
|
|
9
|
+
return [
|
|
10
|
+
0&&{
|
|
11
|
+
label: '公告组:',
|
|
12
|
+
ele: 'xd-site-news-group',
|
|
13
|
+
valueKey: 'contentGroup',
|
|
14
|
+
groupKey: 'content',
|
|
15
|
+
value: data.contentGroup || {},
|
|
16
|
+
isKey: true,
|
|
17
|
+
key: new Date().getTime(),
|
|
18
|
+
setting: {
|
|
19
|
+
config: {
|
|
20
|
+
sort: true,
|
|
21
|
+
maxlen: 100,
|
|
22
|
+
action: 'aliyun',
|
|
23
|
+
size: 5,
|
|
24
|
+
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
|
|
25
|
+
uploadType: 'aliyun',
|
|
26
|
+
type: ['jpg', 'png', 'jpeg']
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
rules: [
|
|
30
|
+
{ required: true, message: '请选择广告位', trigger: 'change' },
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
].filter(i=>i)
|
|
10
34
|
},
|
|
11
35
|
advanced: [],
|
|
12
36
|
};
|
|
@@ -207,6 +207,7 @@ export default {
|
|
|
207
207
|
callback_url: "",
|
|
208
208
|
isCollectUsername: false,
|
|
209
209
|
showDialog: false,
|
|
210
|
+
share_code: "",
|
|
210
211
|
|
|
211
212
|
inputStyle: "linear", //输入框样式 linear:线性 face: 面性
|
|
212
213
|
formBorderColor: "#F9F9F9", //
|
|
@@ -367,6 +368,7 @@ export default {
|
|
|
367
368
|
this.auth_code = options.auth_code;
|
|
368
369
|
this.provider_id = options.provider_id;
|
|
369
370
|
this.callback_url = options.callback_url;
|
|
371
|
+
this.share_code = options.share_code;
|
|
370
372
|
},
|
|
371
373
|
/**
|
|
372
374
|
* @description 监听事件变化
|
|
@@ -562,6 +564,7 @@ export default {
|
|
|
562
564
|
auth_code,
|
|
563
565
|
provider_id,
|
|
564
566
|
phone_number,
|
|
567
|
+
share_code,
|
|
565
568
|
}
|
|
566
569
|
}).then(res => {
|
|
567
570
|
this.$xdHideLoading();
|
|
@@ -163,7 +163,7 @@ export default {
|
|
|
163
163
|
valueKey: 'pointsPath',
|
|
164
164
|
groupKey:'advanced',
|
|
165
165
|
placeholder: '请选择积分详情路径',
|
|
166
|
-
value: data['
|
|
166
|
+
value: data['pointsPath'] || null,
|
|
167
167
|
setting: {
|
|
168
168
|
router: XdBus.getParentApi('getPagesTree'),
|
|
169
169
|
},
|
|
@@ -85,6 +85,8 @@
|
|
|
85
85
|
import echarts from './components/echarts.vue'
|
|
86
86
|
import componentsMixins from "@/mixins/componentsMixins";
|
|
87
87
|
import extsMixins from "@/mixins/extsMixins";
|
|
88
|
+
import getServiceUrl from "@/common/getServiceUrl";
|
|
89
|
+
|
|
88
90
|
export default {
|
|
89
91
|
name: "JfbBaseSavingDetail",
|
|
90
92
|
components: {
|
|
@@ -179,6 +181,13 @@
|
|
|
179
181
|
vm: this,
|
|
180
182
|
data: data,
|
|
181
183
|
}).then(res => {
|
|
184
|
+
let list = res.list.map(item => {
|
|
185
|
+
item["order_time"] = this.$xdUniHelper.getDate(
|
|
186
|
+
item["order_time"] * 1000
|
|
187
|
+
).fullTime;
|
|
188
|
+
item.product_image = getServiceUrl(item.product_image)
|
|
189
|
+
return item;
|
|
190
|
+
})
|
|
182
191
|
const textColor = '#999'
|
|
183
192
|
const seriesData = res.record_months.map(item => {
|
|
184
193
|
return item.value
|
|
@@ -272,9 +281,9 @@
|
|
|
272
281
|
this.saveAmount = res.save_amount
|
|
273
282
|
this.hasNext = res.next_page_token !== "";
|
|
274
283
|
if (this.page_token === 1) {
|
|
275
|
-
this.productList =
|
|
284
|
+
this.productList = list
|
|
276
285
|
} else {
|
|
277
|
-
this.productList = this.productList.concat(
|
|
286
|
+
this.productList = this.productList.concat(list);
|
|
278
287
|
}
|
|
279
288
|
})
|
|
280
289
|
},
|
|
@@ -283,6 +292,13 @@
|
|
|
283
292
|
vm: this,
|
|
284
293
|
data: {},
|
|
285
294
|
}).then(res => {
|
|
295
|
+
let list = res.list.map(item => {
|
|
296
|
+
item["order_time"] = this.$xdUniHelper.getDate(
|
|
297
|
+
item["order_time"] * 1000
|
|
298
|
+
).fullTime;
|
|
299
|
+
item.product_image = getServiceUrl(item.product_image)
|
|
300
|
+
return item;
|
|
301
|
+
})
|
|
286
302
|
// 最大值
|
|
287
303
|
let max = this.getAmout(res.total_amount);
|
|
288
304
|
// 数量
|
|
@@ -360,9 +376,9 @@
|
|
|
360
376
|
this.saveAmount = res.save_amount
|
|
361
377
|
this.hasNext = res.next_page_token !== "";
|
|
362
378
|
if (this.page_token === 1) {
|
|
363
|
-
this.productList =
|
|
379
|
+
this.productList = list
|
|
364
380
|
} else {
|
|
365
|
-
this.productList = this.productList.concat(
|
|
381
|
+
this.productList = this.productList.concat(list);
|
|
366
382
|
}
|
|
367
383
|
})
|
|
368
384
|
},
|
|
@@ -371,6 +387,13 @@
|
|
|
371
387
|
vm: this,
|
|
372
388
|
data: {},
|
|
373
389
|
}).then(res => {
|
|
390
|
+
let list = res.list.map(item => {
|
|
391
|
+
item["order_time"] = this.$xdUniHelper.getDate(
|
|
392
|
+
item["order_time"] * 1000
|
|
393
|
+
).fullTime;
|
|
394
|
+
item.product_image = getServiceUrl(item.product_image)
|
|
395
|
+
return item;
|
|
396
|
+
})
|
|
374
397
|
let max = this.getAmout(res.total_amount);
|
|
375
398
|
// 数量
|
|
376
399
|
let value = this.getAmout(res.save_amount);
|
|
@@ -447,9 +470,9 @@
|
|
|
447
470
|
this.saveAmount = res.save_amount
|
|
448
471
|
this.hasNext = res.next_page_token !== "";
|
|
449
472
|
if (this.page_token === 1) {
|
|
450
|
-
this.productList =
|
|
473
|
+
this.productList = list
|
|
451
474
|
} else {
|
|
452
|
-
this.productList = this.productList.concat(
|
|
475
|
+
this.productList = this.productList.concat(list);
|
|
453
476
|
}
|
|
454
477
|
})
|
|
455
478
|
},
|