jufubao-base 1.0.237-beta4 → 1.0.237

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 (105) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseMySetting/JfbBaseMySetting.vue +8 -0
  3. package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
  4. package/src/components/JfbBaseNoticeDialog/Attr.js +0 -26
  5. package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +6 -25
  6. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +22 -11
  7. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +1 -8
  8. package/src/components/JfbBaseTfkSearch/Mock.js +3 -51
  9. package/src/components/JfbBaseTfkSearch/listMixins.js +1 -1
  10. package/src/components/JfbBaseUserInfo/Attr.js +10 -114
  11. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +114 -312
  12. package/src/components/JfbBaseBalance/Api.js +0 -46
  13. package/src/components/JfbBaseBalance/Attr.js +0 -316
  14. package/src/components/JfbBaseBalance/JfbBaseBalance.vue +0 -331
  15. package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +0 -79
  16. package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +0 -30
  17. package/src/components/JfbBaseBalance/Mock.js +0 -9
  18. package/src/components/JfbBaseCodeOpenVip/Api.js +0 -35
  19. package/src/components/JfbBaseCodeOpenVip/Attr.js +0 -281
  20. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +0 -251
  21. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +0 -79
  22. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +0 -30
  23. package/src/components/JfbBaseCodeOpenVip/Mock.js +0 -13
  24. package/src/components/JfbBaseConsumpCode/Api.js +0 -133
  25. package/src/components/JfbBaseConsumpCode/Attr.js +0 -61
  26. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +0 -961
  27. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +0 -79
  28. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +0 -30
  29. package/src/components/JfbBaseConsumpCode/Mock.js +0 -22
  30. package/src/components/JfbBaseOpenVip/Api.js +0 -39
  31. package/src/components/JfbBaseOpenVip/Attr.js +0 -290
  32. package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +0 -430
  33. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +0 -79
  34. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +0 -30
  35. package/src/components/JfbBaseOpenVip/Mock.js +0 -7
  36. package/src/components/JfbBaseOpenVip/XdVipList.vue +0 -125
  37. package/src/components/JfbBaseOpenVipCard/Api.js +0 -58
  38. package/src/components/JfbBaseOpenVipCard/Attr.js +0 -48
  39. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +0 -111
  40. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +0 -79
  41. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +0 -30
  42. package/src/components/JfbBaseOpenVipCard/Mock.js +0 -13
  43. package/src/components/JfbBaseOpenVipDetail/Api.js +0 -35
  44. package/src/components/JfbBaseOpenVipDetail/Attr.js +0 -37
  45. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +0 -223
  46. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +0 -79
  47. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +0 -30
  48. package/src/components/JfbBaseOpenVipDetail/Mock.js +0 -13
  49. package/src/components/JfbBasePersonalData/Api.js +0 -26
  50. package/src/components/JfbBasePersonalData/Attr.js +0 -12
  51. package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +0 -198
  52. package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +0 -79
  53. package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +0 -30
  54. package/src/components/JfbBasePersonalData/Mock.js +0 -13
  55. package/src/components/JfbBasePointsCard/Api.js +0 -18
  56. package/src/components/JfbBasePointsCard/Attr.js +0 -187
  57. package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +0 -208
  58. package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +0 -79
  59. package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +0 -30
  60. package/src/components/JfbBasePointsCard/Mock.js +0 -5
  61. package/src/components/JfbBasePointsDetail/Api.js +0 -48
  62. package/src/components/JfbBasePointsDetail/Attr.js +0 -304
  63. package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +0 -267
  64. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +0 -79
  65. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +0 -30
  66. package/src/components/JfbBasePointsDetail/Mock.js +0 -6
  67. package/src/components/JfbBasePosterGroup/Api.js +0 -22
  68. package/src/components/JfbBasePosterGroup/Attr.js +0 -146
  69. package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +0 -265
  70. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +0 -79
  71. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +0 -30
  72. package/src/components/JfbBasePosterGroup/Mock.js +0 -13
  73. package/src/components/JfbBaseSavingDetail/Api.js +0 -41
  74. package/src/components/JfbBaseSavingDetail/Attr.js +0 -70
  75. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +0 -679
  76. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +0 -79
  77. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +0 -30
  78. package/src/components/JfbBaseSavingDetail/Mock.js +0 -10
  79. package/src/components/JfbBaseSavingDetail/components/echarts.min.js +0 -26
  80. package/src/components/JfbBaseSavingDetail/components/echarts.vue +0 -254
  81. package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +0 -105
  82. package/src/components/JfbBaseShare/Api.js +0 -20
  83. package/src/components/JfbBaseShare/Attr.js +0 -14
  84. package/src/components/JfbBaseShare/JfbBaseShare.vue +0 -270
  85. package/src/components/JfbBaseShare/JfbBaseShareLess.less +0 -79
  86. package/src/components/JfbBaseShare/JfbBaseShareMixin.js +0 -30
  87. package/src/components/JfbBaseShare/Mock.js +0 -16
  88. package/src/components/JfbBaseWithDrawAgain/Api.js +0 -41
  89. package/src/components/JfbBaseWithDrawAgain/Attr.js +0 -92
  90. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +0 -334
  91. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +0 -79
  92. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +0 -30
  93. package/src/components/JfbBaseWithDrawAgain/Mock.js +0 -10
  94. package/src/components/JfbBaseWithDrawRecord/Api.js +0 -19
  95. package/src/components/JfbBaseWithDrawRecord/Attr.js +0 -79
  96. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +0 -233
  97. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +0 -79
  98. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +0 -30
  99. package/src/components/JfbBaseWithDrawRecord/Mock.js +0 -7
  100. package/src/components/JfbBaseWithdraw/Api.js +0 -48
  101. package/src/components/JfbBaseWithdraw/Attr.js +0 -328
  102. package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +0 -245
  103. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +0 -79
  104. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +0 -30
  105. package/src/components/JfbBaseWithdraw/Mock.js +0 -7
@@ -1,265 +0,0 @@
1
- <template>
2
- <view class="jfb-base-poster-group" @click="handleEditxSelect" :class="{ editx : isEditx && active }">
3
- <!--#ifdef H5-->
4
- <view class="jfb-base-poster-group__edit" :class="{ editx : isEditx && active }" v-if="isEditx && active">
5
- <view class="jfb-base-poster-group__edit-icon" @click="delEdit">删除</view>
6
- </view>
7
- <!-- #endif -->
8
- <view class="jfb-base-poster-group__body" :style="[bodyStyleComp]">
9
- <view class="jfb-base-poster-group__body-header">
10
- <view class="jfb-base-poster-group__body-header-title">
11
- <XdContentXss v-html="title"></XdContentXss>
12
- <view @click="handleToMore" v-if="is_show_more==='Y'" class="jfb-base-poster-group__body-header-title-more">
13
- 更多
14
- <XdFontIcon size="20" icon="iconxiangyou_xian"></XdFontIcon>
15
- </view>
16
- </view>
17
- <view class="jfb-base-poster-group__body-header-subtitle">
18
- {{subtitle}}
19
- </view>
20
- </view>
21
- <view class="jfb-base-poster-group__body-content">
22
- <view class="jfb-base-poster-group__body-content-tabs">
23
- <view @click="handleChangeTab(item)" :style="tab===item.random?[activeStyleComp]:[normalStyleComp]"
24
- class="jfb-base-poster-group__body-content-tabs-item" v-for="(item, index) in posterGroup.group"
25
- :key="index">
26
- {{item.title}}
27
- </view>
28
- </view>
29
- <view v-if="imageGroup&&imageGroup.length>0" class="jfb-base-poster-group__body-content-images">
30
- <image :style="{width: imageWidth,height:imageWidth}" @click="handleClick(item)"
31
- v-for="(item,index) in imageGroup" :key="index" :src="item.image_url">
32
- </image>
33
- </view>
34
- </view>
35
- </view>
36
- </view>
37
- </template>
38
-
39
- <script>
40
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
41
- import XdContentXss from '@/components/XdContentXss/XdContentXss';
42
- import { jfbRootExec } from "@/utils/xd.event";
43
- import JfbBasePosterGroupMixin from "./JfbBasePosterGroupMixin";
44
- import { getContainerPropsValue } from "@/utils/xd.base";
45
- import getServiceUrl from "@/common/getServiceUrl";
46
- import componentsMixins from "@/mixins/componentsMixins";
47
- import extsMixins from "@/mixins/extsMixins";
48
- export default {
49
- name: "JfbBasePosterGroup",
50
- components: {
51
- XdFontIcon,
52
- XdContentXss
53
- },
54
- mixins: [
55
- componentsMixins, extsMixins, JfbBasePosterGroupMixin
56
- ],
57
- data() {
58
- return {
59
- posterGroup: {},
60
- morePath: '',
61
- is_show_more: 'Y',
62
- backgroundImage: '',
63
- title: '',
64
- subtitle: '',
65
- imageGroup: [],
66
- tab: '',
67
- radius: 0,
68
- margin: {},
69
- padding: {},
70
- }
71
- },
72
- watch: {
73
- container(value, oldValue) {
74
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
75
- if (this.$configProject['isPreview']) this.init(value)
76
- },
77
- },
78
- computed: {
79
- bodyStyleComp() {
80
- return {
81
- backgroundImage: `url(${this.backgroundImage})`,
82
- backgroundSize: '100% 100%',
83
- backgroundPosition: 'center',
84
- backgroundRepeat: 'no-repeat',
85
- borderRadius: `${this.radius}rpx`,
86
- margin: this.getMarginAndPadding(this.margin, 20),
87
- padding: this.getMarginAndPadding(this.padding, 20),
88
- }
89
- },
90
- activeStyleComp() {
91
- return {
92
- color: '#6D4604',
93
- background: '#FDDC83',
94
- border: '1px solid #FDDC83',
95
- borderRadius: '40rpx'
96
- }
97
- },
98
- normalStyleComp() {
99
- return {
100
- color: '#F5DC9E',
101
- border: '1px solid #F5DC9E',
102
- borderRadius: '40rpx'
103
- }
104
- },
105
- imageWidth() {
106
- let width = 750
107
- let paddingLeft = this.checkValue(this.padding.left,20)
108
- let paddingRight = this.checkValue(this.padding.right,20)
109
- let marginLeft = this.checkValue(this.margin.left,20)
110
- let marginRight = this.checkValue(this.margin.right,20)
111
- width = width - paddingLeft - paddingRight - marginLeft - marginRight
112
- width = width - 60 //减去右边距
113
- return `${width / 4}rpx`
114
- }
115
- },
116
- created() {
117
- this.init(this.container);
118
- },
119
- methods: {
120
- onJfbLoad(options) {
121
- this.getPosterGroup(this.posterGroup.group[0])
122
- },
123
- getPosterGroup(item) {
124
- this.tab = item.random;
125
- this.imageGroup = [];
126
- jfbRootExec('getListPosterGroupContent', {
127
- vm: this,
128
- data: {
129
- page_id: this.pageAttr["page_id"], //页面ID
130
- container_id: this.containerId + item.random, //组件ID
131
- page_size: 200
132
- }
133
- }).then(res => {
134
- this.imageGroup = res.list.map(item => {
135
- return {
136
- ...item,
137
- image_url: getServiceUrl(item.image_url)
138
- }
139
- })
140
- }).catch()
141
- },
142
- /**
143
- * @description 监听事件变化
144
- * @param container {object} 业务组件对象自己
145
- */
146
- init(container) {
147
- this.posterGroup = getContainerPropsValue(container, 'content.posterGroup', {});
148
- this.morePath = getContainerPropsValue(container, 'content.morePath', { value: "" }).value;
149
- this.is_show_more = getContainerPropsValue(container, 'content.is_show_more', 'Y');
150
- this.backgroundImage = getServiceUrl(getContainerPropsValue(container, 'content.backgroundImage', { url: "" }).url);
151
- this.title = getContainerPropsValue(container, 'content.title', '<p style="font-weight:bold;font-size:16px"><span style="color: #FFF">全球大牌,会员低至</span><span style="color: #F2D894">8折</span></p>');
152
- this.subtitle = getContainerPropsValue(container, 'content.subtitle', '超300+品牌商品');
153
- this.radius = getContainerPropsValue(container, 'content.radius', 20);
154
- this.margin = getContainerPropsValue(container, 'content.bodyMargin', {});
155
- this.padding = getContainerPropsValue(container, 'content.bodyPadding', {});
156
- },
157
- checkValue(value, dValue = 0) {
158
- if (value === undefined || value === '' || value === null) return dValue;
159
- return Number(value || 0);
160
- },
161
- handleClick(item) {
162
- if (this.isPreview) return;
163
- this.handlePosterClick(item)
164
- },
165
- handleToMore() {
166
- this.$xdUniHelper.navigateTo({
167
- url: this.morePath,
168
- });
169
- },
170
- handleChangeTab(item) {
171
- this.getPosterGroup(item)
172
- },
173
- onJfbScroll(options) {
174
- console.log('event.onJfbScroll', options)
175
- },
176
- onJfbReachBottom(options) {
177
- console.log('event.onJfbReachBottom', options)
178
- },
179
- onJfbShow(options) {
180
- console.log('event.onJfbShow', options)
181
- },
182
- onJfbHide(options) {
183
- console.log('event.onJfbHide', options)
184
- },
185
- onJfbBack(options) {
186
- console.log('event.onJfbBack', options)
187
- },
188
- onJfbUpdate(...data) {
189
- console.log('event.onJfbUpdate', data)
190
- },
191
- onJfbCustomEvent(options) {
192
- console.log('event.onJfbReachBottom', options)
193
- },
194
- }
195
- }
196
-
197
- </script>
198
-
199
- <style scoped lang="less">
200
- @import "./JfbBasePosterGroupLess.less";
201
-
202
- .jfb-base-poster-group {
203
- &__body {
204
- padding: 24rpx;
205
- margin: 20rpx;
206
- border-radius: 30rpx;
207
-
208
- &-header {
209
- &-title {
210
- display: flex;
211
- align-items: center;
212
- justify-content: space-between;
213
- margin-bottom: 10rpx;
214
-
215
- &-more {
216
- display: flex;
217
- align-items: center;
218
- color: #FFFFFF;
219
- font-size: 24rpx;
220
- }
221
- }
222
-
223
- &-subtitle {
224
- color: #FFFFFF;
225
- font-size: 24rpx;
226
- }
227
- }
228
-
229
- &-content {
230
- &-tabs {
231
- display: flex;
232
- flex-wrap: wrap;
233
-
234
- &-item {
235
- margin-top: 20rpx;
236
- margin-right: 20rpx;
237
- padding: 11rpx 25rpx;
238
- font-size: 25rpx;
239
- }
240
- }
241
-
242
- &-images {
243
- display: flex;
244
- flex-wrap: wrap;
245
- align-content: flex-start;
246
-
247
- &>image {
248
- display: flex;
249
- justify-content: center;
250
- align-items: center;
251
- margin-top: 20rpx;
252
- margin-right: 20rpx;
253
- width: 145rpx;
254
- height: 145rpx;
255
- border-radius: 14rpx;
256
- }
257
-
258
- &>image:nth-child(4n) {
259
- margin-right: 0;
260
- }
261
- }
262
- }
263
- }
264
- }
265
- </style>
@@ -1,79 +0,0 @@
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-poster-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-poster-group {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
78
- }
79
- /**endNotPreview**/
@@ -1,30 +0,0 @@
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-poster-group'
20
- }
21
- },
22
- created() {
23
-
24
- //@AttrDataCreated
25
- this.Attr = this.$xdUniHelper.customClone(Attr);
26
- //@EndAttrDataCreated
27
-
28
-
29
- },
30
- }
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
-
5
- getPosterByIdFilmSquate:{},
6
-
7
- updatePosterFilmPaiqiDate:{},
8
-
9
- removePosterFilmAddress:{},
10
-
11
- addPosterFilmcart:{},
12
-
13
- }
@@ -1,41 +0,0 @@
1
- 'use strict';
2
- /**
3
- * @description 接口配置,
4
- * 在设置方法名字当时候,别忘记加上【模块名字】:Saving
5
- * @type {*[]}
6
- */
7
- module.exports = [
8
- {
9
- mapFnName: 'getMonthSavingDetail',
10
- title: '省钱明细-月度',
11
- path: '/member/v1/money-saving-record/month',
12
- isRule: false,
13
- params: {
14
- year: ['年', 'Number', true],
15
- month: ['月', 'Number', true],
16
- },
17
- isConsole: true,
18
- disabled: true,
19
- },
20
- {
21
- mapFnName: 'getTotalSavingDetail',
22
- title: '省钱明细-累计',
23
- path: '/member/v1/money-saving-record/total',
24
- isRule: false,
25
- params: {
26
- },
27
- isConsole: true,
28
- disabled: true,
29
- },
30
- {
31
- mapFnName: 'getYearSavingDetail',
32
- title: '省钱明细-年度',
33
- path: '/member/v1/money-saving-record/year',
34
- isRule: false,
35
- params: {
36
- year: ['年', 'Number', true],
37
- },
38
- isConsole: true,
39
- disabled: true,
40
- },
41
- ];
@@ -1,70 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * @description 当表单组件中有联动操作时候,使用方法进行返回
5
- */
6
- export default {
7
- style: [],
8
- content: (data) => {
9
- return [
10
- {
11
- ele: 'title',
12
- label: '切换标签设置',
13
- size: 'small',
14
- groupKey: 'style',
15
- },
16
- {
17
- label: '背景颜色:',
18
- ele: 'xd-color',
19
- valueKey: 'titleBgc',
20
- groupKey: 'style',
21
- value: data['titleBgc'] || '',
22
- placeholder: '请选择背景颜色',
23
- classNmae: 'input80',
24
- },
25
- {
26
- label: '外填充:',
27
- ele: 'xd-margin-padding',
28
- valueKey: 'tabPadding',
29
- groupKey: 'style',
30
- value: data['tabPadding'] || null,
31
- setting: {
32
- type: 'padding',
33
- },
34
- placeholder: '请设置外填充',
35
- inline: false,
36
- notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">上下20,左右0</span>像素',
37
- },
38
- {
39
- label: '切换标签与内容之间间距:',
40
- ele: 'el-input',
41
- type: 'text',
42
- groupKey: 'style',
43
- valueKey: 'titlePadding',
44
- value: data['titlePadding'] || '',
45
- className: 'input60',
46
- inline: false,
47
- notice:'设置切换标签与内容之间间距,默认值:<span style="color:red">0</span>像素'
48
- },
49
- {
50
- label: '未选中文字颜色:',
51
- ele: 'xd-color',
52
- valueKey: 'titleColor',
53
- value: data['titleColor'] || '',
54
- groupKey: 'style',
55
- placeholder: '请选择未选中文字颜色',
56
- classNmae: 'input80',
57
- },
58
- {
59
- label: '选中文字颜色:',
60
- ele: 'xd-color',
61
- valueKey: 'titleActColor',
62
- value: data['titleActColor'] || '',
63
- groupKey: 'style',
64
- placeholder: '请选择选中文字颜色',
65
- classNmae: 'input80',
66
- },
67
- ].filter(i=>i)
68
- },
69
- advanced: [],
70
- };