jufubao-third 1.0.22-beta1 → 1.0.22-beta10

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 (58) hide show
  1. package/.claude/settings.local.json +12 -0
  2. package/package.json +1 -1
  3. package/src/components/JfbThirdRideCheckPay/Api.js +18 -0
  4. package/src/components/JfbThirdRideCheckPay/Attr.js +17 -0
  5. package/src/components/JfbThirdRideCheckPay/JfbThirdRideCheckPay.vue +217 -0
  6. package/src/components/JfbThirdRideCheckPay/JfbThirdRideCheckPayLess.less +80 -0
  7. package/src/components/JfbThirdRideCheckPay/JfbThirdRideCheckPayMixin.js +30 -0
  8. package/src/components/JfbThirdRideCheckPay/Mock.js +7 -0
  9. package/src/components/JfbThirdRideCheckPay/cusAttr/advanced.js +28 -0
  10. package/src/components/JfbThirdRideCheckPay/cusAttr/content.js +27 -0
  11. package/src/components/JfbThirdRideCheckPay/cusAttr/style.js +7 -0
  12. package/src/components/JfbThirdRideConfirm/Api.js +18 -39
  13. package/src/components/JfbThirdRideConfirm/Attr.js +10 -41
  14. package/src/components/JfbThirdRideConfirm/JfbThirdRideConfirm.vue +434 -20
  15. package/src/components/JfbThirdRideConfirm/Mock.js +67 -11
  16. package/src/components/JfbThirdRideConfirm/cusAttr/advanced.js +7 -0
  17. package/src/components/JfbThirdRideConfirm/cusAttr/content.js +27 -0
  18. package/src/components/JfbThirdRideConfirm/cusAttr/style.js +7 -0
  19. package/src/components/JfbThirdRideGenOrder/Api.js +21 -0
  20. package/src/components/JfbThirdRideGenOrder/Attr.js +17 -0
  21. package/src/components/JfbThirdRideGenOrder/JfbThirdRideGenOrder.vue +234 -0
  22. package/src/components/JfbThirdRideGenOrder/JfbThirdRideGenOrderLess.less +80 -0
  23. package/src/components/JfbThirdRideGenOrder/JfbThirdRideGenOrderMixin.js +30 -0
  24. package/src/components/JfbThirdRideGenOrder/Mock.js +11 -0
  25. package/src/components/JfbThirdRideGenOrder/cusAttr/advanced.js +37 -0
  26. package/src/components/JfbThirdRideGenOrder/cusAttr/content.js +7 -0
  27. package/src/components/JfbThirdRideGenOrder/cusAttr/style.js +7 -0
  28. package/src/components/JfbThirdRideHome/Api.js +22 -36
  29. package/src/components/JfbThirdRideHome/Attr.js +10 -41
  30. package/src/components/JfbThirdRideHome/JfbThirdRideHome.vue +730 -12
  31. package/src/components/JfbThirdRideHome/Mock.js +7 -7
  32. package/src/components/JfbThirdRideHome/cusAttr/advanced.js +52 -0
  33. package/src/components/JfbThirdRideHome/cusAttr/content.js +27 -0
  34. package/src/components/JfbThirdRideHome/cusAttr/style.js +7 -0
  35. package/src/components/JfbThirdRideLand/Api.js +58 -0
  36. package/src/components/JfbThirdRideLand/Attr.js +17 -0
  37. package/src/components/JfbThirdRideLand/JfbThirdRideLand.vue +256 -0
  38. package/src/components/JfbThirdRideLand/JfbThirdRideLandLess.less +80 -0
  39. package/src/components/JfbThirdRideLand/JfbThirdRideLandMixin.js +30 -0
  40. package/src/components/JfbThirdRideLand/Mock.js +13 -0
  41. package/src/components/JfbThirdRideLand/cusAttr/advanced.js +22 -0
  42. package/src/components/JfbThirdRideLand/cusAttr/content.js +60 -0
  43. package/src/components/JfbThirdRideLand/cusAttr/style.js +109 -0
  44. package/src/components/JfbThirdRideRecord/Api.js +14 -39
  45. package/src/components/JfbThirdRideRecord/Attr.js +10 -41
  46. package/src/components/JfbThirdRideRecord/JfbThirdRideRecord.vue +442 -22
  47. package/src/components/JfbThirdRideRecord/Mock.js +40 -9
  48. package/src/components/JfbThirdRideRecord/cusAttr/advanced.js +22 -0
  49. package/src/components/JfbThirdRideRecord/cusAttr/content.js +27 -0
  50. package/src/components/JfbThirdRideRecord/cusAttr/style.js +7 -0
  51. package/src/components/JfbThirdRideStartEnd/Api.js +5 -43
  52. package/src/components/JfbThirdRideStartEnd/Attr.js +10 -41
  53. package/src/components/JfbThirdRideStartEnd/JfbThirdRideStartEnd.vue +293 -24
  54. package/src/components/JfbThirdRideStartEnd/Mock.js +11 -7
  55. package/src/components/JfbThirdRideStartEnd/cusAttr/advanced.js +22 -0
  56. package/src/components/JfbThirdRideStartEnd/cusAttr/content.js +27 -0
  57. package/src/components/JfbThirdRideStartEnd/cusAttr/style.js +7 -0
  58. package/src/mixins/getCoordinatesMixins.js +407 -0
@@ -0,0 +1,12 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(node -e ' *)",
5
+ "Bash(npx esbuild *)",
6
+ "Bash(npx vue-template-compiler *)",
7
+ "Bash(node -e \"const fs=require\\('fs'\\);const compiler=require\\('/Users/zxd/Workspaces/jufubao-third/node_modules/@vue/compiler-sfc'\\);const {parse,compileTemplate}=compiler;const r=parse\\(fs.readFileSync\\('/Users/zxd/Workspaces/jufubao-third/src/components/JfbThirdRideLand/JfbThirdRideLand.vue','utf8'\\)\\);const t=compileTemplate\\({source:r.descriptor.template.content,filename:'x.vue'}\\);console.log\\(t.errors.length===0?'Vue template OK':'ERR '+JSON.stringify\\(t.errors\\)\\)\")",
8
+ "Bash(node *)",
9
+ "Bash(grep -i \"^vue$\")"
10
+ ]
11
+ }
12
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-third",
3
- "version": "1.0.22-beta1",
3
+ "version": "1.0.22-beta10",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件第三方购物平台包",
6
6
  "main": "index.js",
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+ /**
3
+ * @description 接口配置,
4
+ * 在设置方法名字当时候,别忘记加上【模块名字】:Ride
5
+ * @type {*[]}
6
+ */
7
+ module.exports = [
8
+ {
9
+ mapFnName: 'checkUnpaidOrder',
10
+ title: "查询未支付订单",
11
+ path: "/thirdmall/v1/order/has-unpaid-order",
12
+ isRule: false,
13
+ params: {
14
+ },
15
+ isConsole: true,
16
+ disabled: true,
17
+ }
18
+ ];
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ import style from "./cusAttr/style";
4
+ import advanced from "./cusAttr/advanced";
5
+ import content from "./cusAttr/content";
6
+
7
+ export default {
8
+ style: [],
9
+ advanced: [],
10
+ content: (data, gValue, gColor, oldData={})=>{
11
+ return [
12
+ ...content(data, gValue, gColor, oldData),
13
+ ...style(data, gValue, gColor, oldData),
14
+ ...advanced(data, gValue, gColor, oldData),
15
+ ].filter(i=>i)
16
+ },
17
+ }
@@ -0,0 +1,217 @@
1
+ <template>
2
+ <view
3
+ class="jfb-third-ride-check-pay"
4
+ @click="handleEditxSelect"
5
+ :class="{ editx : isEditx && active }"
6
+ >
7
+ <!--#ifdef H5-->
8
+ <view
9
+ class="jfb-third-ride-check-pay__edit"
10
+ :class="{ editx : isEditx && active }"
11
+ v-if="isEditx && active"
12
+ >
13
+ <view class="jfb-third-ride-check-pay__edit-icon" @click.stop="delEdit">
14
+ <xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
15
+ </view>
16
+ </view>
17
+ <!-- #endif -->
18
+ <view class="jfb-third-ride-check-pay__body">
19
+ <!-- 预览占位 -->
20
+ <!-- #ifdef H5 -->
21
+ <view v-if="$configProject.isPreview" class="check-pay-placeholder">
22
+ <text class="check-pay-placeholder__text">出行待支付检查占位</text>
23
+ </view>
24
+ <!-- #endif -->
25
+ <!-- 待支付弹窗 -->
26
+ <view class="check-pay-mask" v-if="showPayModal" @click="handleClosePayModal">
27
+ <view class="check-pay-modal" @click.stop>
28
+ <text class="check-pay-modal__text">当前您还有待支付的订单</text>
29
+ <text class="check-pay-modal__text">请先完成支付</text>
30
+ <view class="check-pay-modal__btn" @click="handleGoPay">
31
+ <text class="check-pay-modal__btn-text">去支付</text>
32
+ </view>
33
+ </view>
34
+ </view>
35
+ </view>
36
+ </view>
37
+ </template>
38
+
39
+ <script>
40
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
41
+ import { jfbRootExec } from "@/utils/xd.event";
42
+ import JfbThirdRideCheckPayMixin from "./JfbThirdRideCheckPayMixin";
43
+ import { getContainerPropsValue } from "@/utils/xd.base";
44
+ import componentsMixins from "@/mixins/componentsMixins";
45
+ import extsMixins from "@/mixins/extsMixins";
46
+ export default {
47
+ name: "JfbThirdRideCheckPay",
48
+ components: {
49
+ XdFontIcon
50
+ },
51
+ mixins: [
52
+ componentsMixins, extsMixins, JfbThirdRideCheckPayMixin
53
+ ],
54
+ data() {
55
+ return {
56
+ xnamespace: '',
57
+ showPayModal: false,
58
+ unpaidOrder: null,
59
+ orderListPath: ''
60
+ }
61
+ },
62
+ watch: {
63
+ container(value, oldValue) {
64
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
65
+ if (this.$configProject['isPreview']) this.init(value)
66
+ },
67
+ },
68
+ created() {
69
+ this.init(this.container);
70
+ },
71
+ methods: {
72
+ onJfbLoad(options) {
73
+ this.setNameSpace(options);
74
+ this.checkUnpaidOrder();
75
+ },
76
+ /**
77
+ * @description 检查是否有待支付订单
78
+ */
79
+ checkUnpaidOrder() {
80
+ jfbRootExec("checkUnpaidOrder", {
81
+ vm: this,
82
+ data: {
83
+ xnamespace: this.xnamespace
84
+ }
85
+ }).then(res => {
86
+ // if (res && res.has_unpaid_order) {
87
+ this.showPayModal = true;
88
+ // }
89
+ }).catch(() => {})
90
+ },
91
+ /**
92
+ * @description 手动关闭待支付弹窗
93
+ */
94
+ handleClosePayModal() {
95
+ this.showPayModal = false;
96
+ },
97
+ /**
98
+ * @description 点击去支付
99
+ */
100
+ handleGoPay() {
101
+ this.showPayModal = false;
102
+ if (this.orderListPath) {
103
+ this.$xdUniHelper.redirectTo({
104
+ url: this.orderListPath + '?type=unpaid'
105
+ });
106
+ }
107
+ },
108
+ /**
109
+ * @description 监听事件变化
110
+ * @param container {object} 业务组件对象自己
111
+ */
112
+ init(container) {
113
+ this.xnamespace = getContainerPropsValue(container, 'content.xnamespace', this.projectAttr.business_code || '');
114
+ this.orderListPath = getContainerPropsValue(container, 'advanced.orderListPath', {value: ""}).value;
115
+ },
116
+ onJfbScroll(options) {
117
+ console.log('event.onJfbScroll', options)
118
+ },
119
+ onJfbReachBottom(options) {
120
+ console.log('event.onJfbReachBottom', options)
121
+ },
122
+ onJfbShow(options) {
123
+ console.log('event.onJfbShow', options)
124
+ },
125
+ onJfbHide(options) {
126
+ console.log('event.onJfbHide', options)
127
+ },
128
+ onJfbBack(options) {
129
+ console.log('event.onJfbBack', options)
130
+ },
131
+ onJfbUpdate(...data) {
132
+ console.log('event.onJfbUpdate', data)
133
+ },
134
+ onJfbCustomEvent(options) {
135
+ console.log('event.onJfbReachBottom', options)
136
+ },
137
+ }
138
+ }
139
+
140
+ </script>
141
+
142
+ <style scoped lang="less">
143
+ @import "./JfbThirdRideCheckPayLess.less";
144
+
145
+ .jfb-third-ride-check-pay {
146
+ &__body {
147
+ position: relative;
148
+ }
149
+ }
150
+
151
+ // 预览占位
152
+ .check-pay-placeholder {
153
+ display: flex;
154
+ align-items: center;
155
+ justify-content: center;
156
+ padding: 40rpx;
157
+ background: #F5F5F5;
158
+ border: 2rpx dashed #DDD;
159
+ border-radius: 16rpx;
160
+ margin: 20rpx;
161
+
162
+ &__text {
163
+ font-size: 28rpx;
164
+ color: #999;
165
+ }
166
+ }
167
+
168
+ // 遮罩层
169
+ .check-pay-mask {
170
+ position: fixed;
171
+ top: 0;
172
+ left: 0;
173
+ right: 0;
174
+ bottom: 0;
175
+ background: rgba(0, 0, 0, 0.5);
176
+ z-index: 999;
177
+ display: flex;
178
+ align-items: center;
179
+ justify-content: center;
180
+ }
181
+
182
+ // 弹窗
183
+ .check-pay-modal {
184
+ width: 560rpx;
185
+ background: #fff;
186
+ border-radius: 24rpx;
187
+ padding: 48rpx 40rpx 40rpx;
188
+ display: flex;
189
+ flex-direction: column;
190
+ align-items: center;
191
+
192
+ &__text {
193
+ font-size: 30rpx;
194
+ color: #333;
195
+ text-align: center;
196
+ line-height: 1.6;
197
+ margin-bottom: 8rpx;
198
+ }
199
+
200
+ &__btn {
201
+ margin-top: 40rpx;
202
+ width: 240rpx;
203
+ height: 72rpx;
204
+ background: #F5A623;
205
+ border-radius: 36rpx;
206
+ display: flex;
207
+ align-items: center;
208
+ justify-content: center;
209
+ }
210
+
211
+ &__btn-text {
212
+ font-size: 30rpx;
213
+ color: #fff;
214
+ font-weight: 500;
215
+ }
216
+ }
217
+ </style>
@@ -0,0 +1,80 @@
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-third-ride-check-pay {
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: var(--preview-z-index);
37
+ cursor: pointer;
38
+ }
39
+
40
+ }
41
+
42
+
43
+ &__edit {
44
+ cursor: pointer;
45
+ position: absolute;
46
+ right: unit(0, rpx);
47
+ top: unit(0, rpx);
48
+ height: unit(50, rpx);
49
+ z-index: 100;
50
+ display: flex;
51
+ justify-content: center;
52
+ align-items: center;
53
+ background: rgba(0, 0, 0, .4);
54
+ border-radius: 0 0 0 20rpx;
55
+ box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
56
+ color: #fff;
57
+ font-size: unit(22, rpx);
58
+ padding: 0 6rpx 0 6px;
59
+
60
+ &-icon{
61
+ padding: 0 unit(20, rpx);
62
+ }
63
+
64
+ &.editx {
65
+ box-sizing: border-box;
66
+
67
+ }
68
+ }
69
+ }
70
+ //end
71
+
72
+
73
+ /**notPreview**/
74
+ .jfb-third-ride-check-pay {
75
+ //&:before {
76
+ //content: " ";
77
+ //display: table;
78
+ //}
79
+ }
80
+ /**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-third-ride-check-pay'
20
+ }
21
+ },
22
+ created() {
23
+
24
+ //@AttrDataCreated
25
+ this.Attr = this.$xdUniHelper.customClone(Attr);
26
+ //@EndAttrDataCreated
27
+
28
+
29
+ },
30
+ }
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+ checkUnpaidOrder: {
5
+ "has_unpaid_order": false, //返回 true 则禁止下单
6
+ }
7
+ }
@@ -0,0 +1,28 @@
1
+ 'use strict';
2
+
3
+ export default (data, gValue, gColor, oldData) => {
4
+ return [
5
+ //高级
6
+ {
7
+ label: '订单列表跳转路径',
8
+ groupKey:'advanced',
9
+ className: 'input100',
10
+ ele: 'xd-select-pages-path',
11
+ valueKey: 'orderListPath',
12
+ placeholder: '请选择订单列表跳转路径',
13
+ labelInline: true,
14
+ inline: false,
15
+ value: data['orderListPath'] || null,
16
+ setting: {
17
+ mode:'new',
18
+ router: XdBus.getParentApi('getPagesTree')
19
+ },
20
+ },
21
+ {
22
+ label: '',
23
+ groupKey:'advanced',
24
+ ele: 'slot',
25
+ slot: 'is_reference',
26
+ },
27
+ ].filter(i=>i)
28
+ }
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+ import { dataVal } from "@/utils/AttrTools";
3
+
4
+ export default (data, gValue, gColor, oldData) => {
5
+ return [
6
+ //内容
7
+ {
8
+ label: "业务线",
9
+ ele: "xd-choose-namespace",
10
+ valueKey: "xnamespace",
11
+ value: dataVal({data, key:'xnamespace', dValue:"", gValue}),
12
+ groupKey:'content',
13
+ className: 'input80',
14
+ labelInline:true,
15
+ placeholder: '请选择业务线',
16
+ notice: '空继承上级业务线',
17
+ inline: false,
18
+ handleCustom: (cb) => {
19
+ XdBus.getParentApi('getOptionsNamespaces')()
20
+ .then(res => {
21
+ cb(res.list)
22
+ })
23
+ .catch();
24
+ }
25
+ },
26
+ ].filter(i=>i)
27
+ }
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ export default (data, gValue, gColor, oldData) => {
4
+ return [
5
+ //风格
6
+ ].filter(i=>i)
7
+ }
@@ -6,53 +6,32 @@
6
6
  */
7
7
  module.exports = [
8
8
  {
9
- //设置方法名字当别忘记加上【模块名字】:Ride
10
- mapFnName: 'getRideByIdFilmSquate',
11
- title: '获取电影广场列表',
12
- path: '/api/account/film/list-film-square',
9
+ mapFnName: 'rideEstimatePriceResult',
10
+ title: "打车 - 查询预估价结果",
11
+ path: "/thirdmall/v1/:xnamespace/amapcar/ride/estimate-price-result",
13
12
  isRule: false,
14
- params: {
15
- last_key: ['当前页', 'Number', '必选'],
16
- page_size: ['每页数量', 'Number', '必选'],
13
+ data: {
14
+ xnamespace: ['业务线', 'String', true],
15
+ estimate_id: ['预估价id', 'String', true],
17
16
  },
18
17
  isConsole: true,
19
18
  disabled: true,
20
19
  },
21
20
  {
22
- //设置方法名字当别忘记加上【模块名字】:Ride
23
- mapFnName: 'updateRideFilmPaiqiDate',
24
- title: '更新排期',
25
- path: '/api/account/film/paiqi-date',
21
+ mapFnName: 'rideH5Url',
22
+ title: "打车 - H5跳转",
23
+ path: "/thirdmall-apiuri/v1/:xnamespace/amapcar/ride/h5-url",
26
24
  isRule: false,
27
- params: {
28
- film_id: ['电影id', 'Number', '必选'],
29
- cinema_id: ['影院id', 'Number', '必选'],
25
+ data: {
26
+ xnamespace: ['业务线', 'String', true],
27
+ start_lng: ['起点经度', 'Number', true],
28
+ start_lat: ['起点纬度', 'Number', true],
29
+ end_lng: ['终点经度', 'Number', true],
30
+ end_lat: ['终点纬度', 'Number', true],
31
+ service_type: ['业务类型: ', '1实时/2预约/3接机/4送机/8代驾', true],
32
+ ride_types: ['运力类型,逗号分隔(各平台自定义)', 'Number', false],
30
33
  },
31
34
  isConsole: true,
32
35
  disabled: true,
33
- },
34
- {
35
- //设置方法名字当别忘记加上【模块名字】:Ride
36
- mapFnName: 'removeRideFilmAddress',
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
- //设置方法名字当别忘记加上【模块名字】:Ride
48
- mapFnName: 'addRideFilmcart',
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
- },
36
+ }
58
37
  ];
@@ -1,48 +1,17 @@
1
1
  'use strict';
2
2
 
3
- /**
4
- * @description 当表单组件中有联动操作时候,使用方法进行返回
5
- */
3
+ import style from "./cusAttr/style";
4
+ import advanced from "./cusAttr/advanced";
5
+ import content from "./cusAttr/content";
6
+
6
7
  export default {
7
8
  style: [],
8
- content: (data) => {
9
+ advanced: [],
10
+ content: (data, gValue, gColor, oldData={})=>{
9
11
  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
- },
12
+ ...content(data, gValue, gColor, oldData),
13
+ ...style(data, gValue, gColor, oldData),
14
+ ...advanced(data, gValue, gColor, oldData),
45
15
  ].filter(i=>i)
46
16
  },
47
- advanced: [],
48
- };
17
+ }