jufubao-base 1.0.119-beta13 → 1.0.119-beta15
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/JfbBaseCard/JfbBaseCard.vue +9 -6
- package/src/components/JfbBaseCardBind/JfbBaseCardBind.vue +8 -4
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +8 -8
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +9 -4
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +24 -32
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +46 -50
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +13 -5
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +8 -2
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +8 -4
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
- package/src/components/JfbBaseWallet/Api.js +1 -1
- package/src/components/JfbBaseWallet/Attr.js +74 -79
- package/src/components/JfbBaseWallet/JfbBaseWallet.vue +266 -70
- package/src/components/JfbBaseWallet/Mock.js +1 -0
- package/src/components/JfbBaseWalletDetail/Api.js +5 -39
- package/src/components/JfbBaseWalletDetail/Attr.js +2 -92
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetail.vue +145 -80
- package/src/components/JfbBaseWalletDetail/Mock.js +2 -1
- package/src/components/JfbBaseWalletEffective/Api.js +7 -40
- package/src/components/JfbBaseWalletEffective/Attr.js +1 -92
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffective.vue +146 -80
- package/src/components/JfbBaseWalletEffective/Mock.js +17 -1
- package/src/components/JfbBaseWalletIndex/Api.js +14 -26
- package/src/components/JfbBaseWalletIndex/Attr.js +14 -87
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +762 -74
- package/src/components/JfbBaseWalletIndex/Mock.js +4 -2
- package/src/components/JfbBaseWalletItem/Api.js +10 -33
- package/src/components/JfbBaseWalletItem/Attr.js +15 -88
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +461 -80
- package/src/components/JfbBaseWalletItem/Mock.js +3 -1
|
@@ -12,49 +12,15 @@
|
|
|
12
12
|
*/
|
|
13
13
|
module.exports = [
|
|
14
14
|
{
|
|
15
|
-
mapFnName: '
|
|
16
|
-
title: '
|
|
17
|
-
path: '/
|
|
15
|
+
mapFnName: 'getRecordDetail', //自定义方法名字(必选)
|
|
16
|
+
title: '获取明细详情',
|
|
17
|
+
path: '/pay/v1/wallet/trade-record-detail',
|
|
18
18
|
isRule: false,
|
|
19
19
|
params: {
|
|
20
|
-
|
|
21
|
-
page_size: ['每页数量', 'Number', '必选'],
|
|
22
|
-
},
|
|
23
|
-
isConsole: true,
|
|
24
|
-
disabled: true,
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
mapFnName: 'updateFilmPaiqiDate', //自定义方法名字(必选)
|
|
28
|
-
title: '更新排期',
|
|
29
|
-
path: '/api/account/film/paiqi-date',
|
|
30
|
-
isRule: false,
|
|
31
|
-
params: {
|
|
32
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
33
|
-
cinema_id: ['影院id', 'Number', '必选'],
|
|
34
|
-
},
|
|
35
|
-
isConsole: true,
|
|
36
|
-
disabled: true,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
mapFnName: 'removeFilmAddress', //自定义方法名字(必选)
|
|
40
|
-
title: '删除我的配送地址',
|
|
41
|
-
path: '/api/account/film/paiqi-date',
|
|
42
|
-
isRule: false,
|
|
43
|
-
params: {
|
|
44
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
45
|
-
},
|
|
46
|
-
isConsole: true,
|
|
47
|
-
disabled: true,
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
mapFnName: 'addFilmcart', //自定义方法名字(必选)
|
|
51
|
-
title: '添加购物车',
|
|
52
|
-
path: '/api/account/film/paiqi-date',
|
|
53
|
-
isRule: false,
|
|
54
|
-
params: {
|
|
55
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
20
|
+
trade_id: ['记录ID', 'String', '必选'],
|
|
56
21
|
},
|
|
57
22
|
isConsole: true,
|
|
58
23
|
disabled: true,
|
|
59
24
|
},
|
|
60
25
|
];
|
|
26
|
+
|
|
@@ -7,100 +7,10 @@ export default {
|
|
|
7
7
|
style: [],
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
|
-
|
|
11
|
-
label: '背景颜色:', //label
|
|
12
|
-
ele: 'xd-color', //package 名称
|
|
13
|
-
valueKey: 'bgcolor', //form[valueKey]
|
|
14
|
-
value: data.bgcolor || '', //v-model
|
|
15
|
-
placeholder: '请输入占位框背景颜色',
|
|
16
|
-
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
17
|
-
rules: [
|
|
18
|
-
{
|
|
19
|
-
required: true,
|
|
20
|
-
message: '请输入占位框背景颜色',
|
|
21
|
-
trigger: 'blur'
|
|
22
|
-
},
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
label: '选中路径:', //label
|
|
27
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
28
|
-
valueKey: 'select-pages-path', //form[valueKey]
|
|
29
|
-
value: data['select-pages-path'] || {},
|
|
30
|
-
setting: {
|
|
31
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
32
|
-
},
|
|
33
|
-
inline: false,
|
|
34
|
-
},
|
|
35
|
-
data.bgcolor && {
|
|
36
|
-
label: '高度:', //label
|
|
37
|
-
ele: 'el-input', //package 名称
|
|
38
|
-
type: 'number',
|
|
39
|
-
valueKey: 'height', //form[valueKey]
|
|
40
|
-
value: data.height || 100, //v-model
|
|
41
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
42
|
-
className: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
43
|
-
rules: [
|
|
44
|
-
{
|
|
45
|
-
required: true,
|
|
46
|
-
message: '请输入占位框高度',
|
|
47
|
-
trigger: 'blur'
|
|
48
|
-
},
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
label: '', //label
|
|
53
|
-
ele: 'slot', //package 名称
|
|
54
|
-
slot: 'is_reference',
|
|
55
|
-
},
|
|
10
|
+
|
|
56
11
|
].filter(i=>i)
|
|
57
12
|
},
|
|
58
13
|
advanced: [
|
|
59
|
-
{
|
|
60
|
-
label: '背景颜色:', //label
|
|
61
|
-
ele: 'xd-color', //package 名称
|
|
62
|
-
valueKey: 'bgcolor', //form[valueKey]
|
|
63
|
-
value: '', //v-model
|
|
64
|
-
placeholder: '请输入占位框背景颜色',
|
|
65
|
-
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
66
|
-
rules: [
|
|
67
|
-
{
|
|
68
|
-
required: true,
|
|
69
|
-
message: '请输入占位框背景颜色',
|
|
70
|
-
trigger: 'blur'
|
|
71
|
-
},
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
label: '选中路径:', //label
|
|
76
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
77
|
-
valueKey: 'select-pages-path', //form[valueKey]
|
|
78
|
-
value: null,
|
|
79
|
-
setting: {
|
|
80
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
81
|
-
},
|
|
82
|
-
inline: false,
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
label: '高度:', //label
|
|
86
|
-
ele: 'el-input', //package 名称
|
|
87
|
-
type: 'number',
|
|
88
|
-
valueKey: 'height', //form[valueKey]
|
|
89
|
-
value: null, //v-model
|
|
90
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
91
|
-
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
92
|
-
rules: [
|
|
93
|
-
{
|
|
94
|
-
required: true,
|
|
95
|
-
message: '请输入占位框高度',
|
|
96
|
-
trigger: 'blur'
|
|
97
|
-
},
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
label: '', //label
|
|
102
|
-
ele: 'slot', //package 名称
|
|
103
|
-
slot: 'is_reference',
|
|
104
|
-
},
|
|
105
14
|
],
|
|
106
15
|
};
|
|
16
|
+
|
|
@@ -2,109 +2,174 @@
|
|
|
2
2
|
<view
|
|
3
3
|
class="jfb-base-wallet-detail"
|
|
4
4
|
@click="handleEditxSelect"
|
|
5
|
-
:class="{ editx
|
|
5
|
+
:class="{ editx: isEditx && active }"
|
|
6
6
|
>
|
|
7
7
|
<!--#ifdef H5-->
|
|
8
8
|
<view
|
|
9
9
|
class="jfb-base-wallet-detail__edit"
|
|
10
|
-
:class="{ editx
|
|
10
|
+
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-wallet-detail__edit-icon" @click="delEdit"
|
|
13
|
+
<view class="jfb-base-wallet-detail__edit-icon" @click="delEdit"
|
|
14
|
+
>删除</view
|
|
15
|
+
>
|
|
14
16
|
</view>
|
|
15
17
|
<!-- #endif -->
|
|
16
18
|
<view class="jfb-base-wallet-detail__body">
|
|
17
|
-
<view
|
|
19
|
+
<view v-if="status" class="jfb-base-wallet-detail__body-wrap">
|
|
20
|
+
<view class="jfb-base-wallet-detail__body-price">
|
|
21
|
+
<XdFontIcon size="56" :icon="operate_type === 'A'?'iconshouru':'iconzhichu'"></XdFontIcon>
|
|
22
|
+
<view class="jfb-base-wallet-detail__body-price-type"
|
|
23
|
+
>消费{{ operate_type_name }}</view
|
|
24
|
+
>
|
|
25
|
+
<view
|
|
26
|
+
>{{ operate_type === "A" ? "+" : "-"
|
|
27
|
+
}}{{ dividePrice(amount) }}</view
|
|
28
|
+
>
|
|
29
|
+
</view>
|
|
30
|
+
<view class="jfb-base-wallet-detail__body-info">
|
|
31
|
+
<view
|
|
32
|
+
v-for="(item, index) in list"
|
|
33
|
+
:key="index"
|
|
34
|
+
class="jfb-base-wallet-detail__body-info-item"
|
|
35
|
+
>
|
|
36
|
+
<view class="jfb-base-wallet-detail__body-info-item-label">
|
|
37
|
+
{{ item.label }}
|
|
38
|
+
</view>
|
|
39
|
+
<view class="jfb-base-wallet-detail__body-info-item-value">
|
|
40
|
+
{{ item.value }}
|
|
41
|
+
</view>
|
|
42
|
+
</view>
|
|
43
|
+
</view>
|
|
44
|
+
</view>
|
|
18
45
|
</view>
|
|
19
46
|
</view>
|
|
20
47
|
</template>
|
|
21
48
|
|
|
22
49
|
<script>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
50
|
+
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
51
|
+
import { jfbRootExec } from "@/utils/xd.event";
|
|
52
|
+
import JfbBaseWalletDetailMixin from "./JfbBaseWalletDetailMixin";
|
|
53
|
+
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
54
|
+
import componentsMixins from "@/mixins/componentsMixins";
|
|
55
|
+
import extsMixins from "@/mixins/extsMixins";
|
|
56
|
+
export default {
|
|
57
|
+
name: "JfbBaseWalletDetail",
|
|
58
|
+
components: {
|
|
59
|
+
XdFontIcon,
|
|
60
|
+
},
|
|
61
|
+
mixins: [componentsMixins, extsMixins, JfbBaseWalletDetailMixin],
|
|
62
|
+
data() {
|
|
63
|
+
return {
|
|
64
|
+
operate_type_name: "",
|
|
65
|
+
operate_type: "",
|
|
66
|
+
list: [],
|
|
67
|
+
amount: "",
|
|
68
|
+
status: false,
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
watch: {
|
|
72
|
+
container(value) {
|
|
73
|
+
this.init(value);
|
|
33
74
|
},
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
data() {
|
|
38
|
-
return {
|
|
75
|
+
},
|
|
76
|
+
created() {
|
|
77
|
+
this.init(this.container);
|
|
39
78
|
|
|
40
|
-
|
|
41
|
-
|
|
79
|
+
//todo
|
|
80
|
+
},
|
|
81
|
+
methods: {
|
|
82
|
+
onJfbLoad(options) {
|
|
83
|
+
jfbRootExec("getRecordDetail", {
|
|
84
|
+
vm: this,
|
|
85
|
+
data: {
|
|
86
|
+
trade_id: options.trade_id,
|
|
87
|
+
},
|
|
88
|
+
})
|
|
89
|
+
.then((res) => {
|
|
90
|
+
this.list = res.list;
|
|
91
|
+
this.amount = res.amount;
|
|
92
|
+
this.operate_type_name = res.operate_type_name;
|
|
93
|
+
this.operate_type = res.operate_type;
|
|
94
|
+
this.status = true;
|
|
95
|
+
})
|
|
96
|
+
.catch(this.$xdLog.catch);
|
|
42
97
|
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
98
|
+
/**
|
|
99
|
+
* @description 监听事件变化
|
|
100
|
+
* @param container {object} 业务组件对象自己
|
|
101
|
+
*/
|
|
102
|
+
init(container) {
|
|
103
|
+
//this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
|
|
104
|
+
//this.height = getContainerPropsValue(container, 'content.height', 10);
|
|
47
105
|
},
|
|
48
|
-
|
|
49
|
-
this.
|
|
50
|
-
|
|
51
|
-
//todo
|
|
106
|
+
dividePrice(num) {
|
|
107
|
+
return this.$xdUniHelper.divisionFloatNumber(num, 100);
|
|
52
108
|
},
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
onJfbScroll(options) {
|
|
77
|
-
console.log('event.onJfbScroll', options)
|
|
78
|
-
},
|
|
79
|
-
onJfbReachBottom(options) {
|
|
80
|
-
console.log('event.onJfbReachBottom', options)
|
|
81
|
-
},
|
|
82
|
-
onJfbShow(options) {
|
|
83
|
-
console.log('event.onJfbShow', options)
|
|
84
|
-
},
|
|
85
|
-
onJfbHide(options) {
|
|
86
|
-
console.log('event.onJfbHide', options)
|
|
87
|
-
},
|
|
88
|
-
onJfbBack(options) {
|
|
89
|
-
console.log('event.onJfbBack', options)
|
|
90
|
-
},
|
|
91
|
-
onJfbUpdate(...data) {
|
|
92
|
-
console.log('event.onJfbUpdate', data)
|
|
93
|
-
},
|
|
94
|
-
onJfbCustomEvent(options) {
|
|
95
|
-
console.log('event.onJfbReachBottom', options)
|
|
96
|
-
},
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
109
|
+
onJfbScroll(options) {
|
|
110
|
+
console.log("event.onJfbScroll", options);
|
|
111
|
+
},
|
|
112
|
+
onJfbReachBottom(options) {
|
|
113
|
+
console.log("event.onJfbReachBottom", options);
|
|
114
|
+
},
|
|
115
|
+
onJfbShow(options) {
|
|
116
|
+
console.log("event.onJfbShow", options);
|
|
117
|
+
},
|
|
118
|
+
onJfbHide(options) {
|
|
119
|
+
console.log("event.onJfbHide", options);
|
|
120
|
+
},
|
|
121
|
+
onJfbBack(options) {
|
|
122
|
+
console.log("event.onJfbBack", options);
|
|
123
|
+
},
|
|
124
|
+
onJfbUpdate(...data) {
|
|
125
|
+
console.log("event.onJfbUpdate", data);
|
|
126
|
+
},
|
|
127
|
+
onJfbCustomEvent(options) {
|
|
128
|
+
console.log("event.onJfbReachBottom", options);
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
};
|
|
100
132
|
</script>
|
|
101
133
|
|
|
102
134
|
<style scoped lang="less">
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
.jfb-base-wallet-detail {
|
|
106
|
-
&__body{
|
|
135
|
+
@import "./JfbBaseWalletDetailLess.less";
|
|
107
136
|
|
|
137
|
+
.jfb-base-wallet-detail {
|
|
138
|
+
&__body {
|
|
139
|
+
&-wrap {
|
|
140
|
+
border-radius: 20rpx;
|
|
141
|
+
background: #ffffff;
|
|
142
|
+
border: 1rpx solid #eeeeee;
|
|
143
|
+
margin: 20rpx 20rpx 0 20rpx;
|
|
144
|
+
}
|
|
145
|
+
&-price {
|
|
146
|
+
display: flex;
|
|
147
|
+
flex-direction: column;
|
|
148
|
+
justify-content: center;
|
|
149
|
+
align-items: center;
|
|
150
|
+
padding: 52rpx 0 36rpx 0;
|
|
151
|
+
margin: 0 60rpx;
|
|
152
|
+
border-bottom: 1rpx solid #eee;
|
|
153
|
+
&-type {
|
|
154
|
+
font-size: 28rpx;
|
|
155
|
+
color: #666;
|
|
156
|
+
margin: 20rpx 0 30rpx 0;
|
|
157
|
+
}
|
|
158
|
+
& > view:last-child {
|
|
159
|
+
font-size: 64rpx;
|
|
160
|
+
color: #333;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
&-info {
|
|
164
|
+
margin-top: 36rpx;
|
|
165
|
+
&-item {
|
|
166
|
+
font-size: 24rpx;
|
|
167
|
+
color: #999;
|
|
168
|
+
display: flex;
|
|
169
|
+
justify-content: space-between;
|
|
170
|
+
padding: 0 60rpx 36rpx 60rpx;
|
|
171
|
+
}
|
|
108
172
|
}
|
|
109
173
|
}
|
|
174
|
+
}
|
|
110
175
|
</style>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
|
-
|
|
4
|
+
getRecordDetail: {"trade_id":"8ICccHHNMFVyGvnetIkJU","trade_type":"recharge","trade_type_name":"充值","operate_type":"A","operate_type_name":"收入","amount":100000,"list":[{"label":"收入账户","value":"综合元宝"},{"label":"收入账号","value":"1000000000000245"},{"label":"收入时间","value":"-"}],"request_id":"0d909e7ad44f21de"}
|
|
5
5
|
}
|
|
6
|
+
|
|
@@ -12,49 +12,16 @@
|
|
|
12
12
|
*/
|
|
13
13
|
module.exports = [
|
|
14
14
|
{
|
|
15
|
-
mapFnName: '
|
|
16
|
-
title: '
|
|
17
|
-
path: '/
|
|
15
|
+
mapFnName: 'getEffectiveList', //自定义方法名字(必选)
|
|
16
|
+
title: '获取有效期列表',
|
|
17
|
+
path: '/pay/v1/wallet/list-period',
|
|
18
18
|
isRule: false,
|
|
19
19
|
params: {
|
|
20
|
-
|
|
21
|
-
page_size: ['
|
|
20
|
+
wallet_type: ['wallet_type', 'Number', '必选'],
|
|
21
|
+
page_size: ['page_size', 'Number', '必选'],
|
|
22
22
|
},
|
|
23
23
|
isConsole: true,
|
|
24
24
|
disabled: true,
|
|
25
|
-
}
|
|
26
|
-
{
|
|
27
|
-
mapFnName: 'updateFilmPaiqiDate', //自定义方法名字(必选)
|
|
28
|
-
title: '更新排期',
|
|
29
|
-
path: '/api/account/film/paiqi-date',
|
|
30
|
-
isRule: false,
|
|
31
|
-
params: {
|
|
32
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
33
|
-
cinema_id: ['影院id', 'Number', '必选'],
|
|
34
|
-
},
|
|
35
|
-
isConsole: true,
|
|
36
|
-
disabled: true,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
mapFnName: 'removeFilmAddress', //自定义方法名字(必选)
|
|
40
|
-
title: '删除我的配送地址',
|
|
41
|
-
path: '/api/account/film/paiqi-date',
|
|
42
|
-
isRule: false,
|
|
43
|
-
params: {
|
|
44
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
45
|
-
},
|
|
46
|
-
isConsole: true,
|
|
47
|
-
disabled: true,
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
mapFnName: 'addFilmcart', //自定义方法名字(必选)
|
|
51
|
-
title: '添加购物车',
|
|
52
|
-
path: '/api/account/film/paiqi-date',
|
|
53
|
-
isRule: false,
|
|
54
|
-
params: {
|
|
55
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
56
|
-
},
|
|
57
|
-
isConsole: true,
|
|
58
|
-
disabled: true,
|
|
59
|
-
},
|
|
25
|
+
}
|
|
60
26
|
];
|
|
27
|
+
|
|
@@ -7,100 +7,9 @@ export default {
|
|
|
7
7
|
style: [],
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
|
-
{
|
|
11
|
-
label: '背景颜色:', //label
|
|
12
|
-
ele: 'xd-color', //package 名称
|
|
13
|
-
valueKey: 'bgcolor', //form[valueKey]
|
|
14
|
-
value: data.bgcolor || '', //v-model
|
|
15
|
-
placeholder: '请输入占位框背景颜色',
|
|
16
|
-
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
17
|
-
rules: [
|
|
18
|
-
{
|
|
19
|
-
required: true,
|
|
20
|
-
message: '请输入占位框背景颜色',
|
|
21
|
-
trigger: 'blur'
|
|
22
|
-
},
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
label: '选中路径:', //label
|
|
27
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
28
|
-
valueKey: 'select-pages-path', //form[valueKey]
|
|
29
|
-
value: data['select-pages-path'] || {},
|
|
30
|
-
setting: {
|
|
31
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
32
|
-
},
|
|
33
|
-
inline: false,
|
|
34
|
-
},
|
|
35
|
-
data.bgcolor && {
|
|
36
|
-
label: '高度:', //label
|
|
37
|
-
ele: 'el-input', //package 名称
|
|
38
|
-
type: 'number',
|
|
39
|
-
valueKey: 'height', //form[valueKey]
|
|
40
|
-
value: data.height || 100, //v-model
|
|
41
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
42
|
-
className: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
43
|
-
rules: [
|
|
44
|
-
{
|
|
45
|
-
required: true,
|
|
46
|
-
message: '请输入占位框高度',
|
|
47
|
-
trigger: 'blur'
|
|
48
|
-
},
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
label: '', //label
|
|
53
|
-
ele: 'slot', //package 名称
|
|
54
|
-
slot: 'is_reference',
|
|
55
|
-
},
|
|
56
10
|
].filter(i=>i)
|
|
57
11
|
},
|
|
58
12
|
advanced: [
|
|
59
|
-
{
|
|
60
|
-
label: '背景颜色:', //label
|
|
61
|
-
ele: 'xd-color', //package 名称
|
|
62
|
-
valueKey: 'bgcolor', //form[valueKey]
|
|
63
|
-
value: '', //v-model
|
|
64
|
-
placeholder: '请输入占位框背景颜色',
|
|
65
|
-
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
66
|
-
rules: [
|
|
67
|
-
{
|
|
68
|
-
required: true,
|
|
69
|
-
message: '请输入占位框背景颜色',
|
|
70
|
-
trigger: 'blur'
|
|
71
|
-
},
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
label: '选中路径:', //label
|
|
76
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
77
|
-
valueKey: 'select-pages-path', //form[valueKey]
|
|
78
|
-
value: null,
|
|
79
|
-
setting: {
|
|
80
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
81
|
-
},
|
|
82
|
-
inline: false,
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
label: '高度:', //label
|
|
86
|
-
ele: 'el-input', //package 名称
|
|
87
|
-
type: 'number',
|
|
88
|
-
valueKey: 'height', //form[valueKey]
|
|
89
|
-
value: null, //v-model
|
|
90
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
91
|
-
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
92
|
-
rules: [
|
|
93
|
-
{
|
|
94
|
-
required: true,
|
|
95
|
-
message: '请输入占位框高度',
|
|
96
|
-
trigger: 'blur'
|
|
97
|
-
},
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
label: '', //label
|
|
102
|
-
ele: 'slot', //package 名称
|
|
103
|
-
slot: 'is_reference',
|
|
104
|
-
},
|
|
105
13
|
],
|
|
106
14
|
};
|
|
15
|
+
|