jufubao-base 1.0.184-beta2 → 1.0.184

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.
@@ -64,129 +64,104 @@
64
64
  class="jfb-base-order-list__body-order"
65
65
  :style="{ padding: outMargin }"
66
66
  >
67
- <template v-if="layout_style === 'old'">
68
- <view
69
- @click="handleToLink(detailPath, item)"
70
- class="jfb-base-order-list__body-order-item"
71
- v-for="item in orderList"
72
- :key="item.main_order_id"
73
- :style="{
74
- background: backgroundColor,
75
- border: borderBox,
76
- borderRadius: radius + 'rpx',
77
- boxShadow: shadowBox,
78
- marginBottom: padding + 'rpx',
79
- }"
80
- >
81
- <view class="jfb-base-order-list__body-order-item-biz">
82
- <xd-font-icon
83
- v-if="item.biz_code_icon"
84
- :icon="item.biz_code_icon"
85
- :size="item['biz_code_icon_size']"
86
- ></xd-font-icon>
87
- <view :class="{ marginLeft: item.biz_code_icon }">{{item.biz_code_name }}</view>
88
- </view>
89
- <view class="jfb-base-order-list__body-order-item-title">
90
- <view>订单编号:{{ item.main_order_id }}</view>
91
- <view :style="{color:item.status.status_type !== 'error' ? mainColor : '#999999',}">{{ item.status.status_name }}</view>
92
- </view>
93
- <view class="order-list">
94
- <view
95
- class="jfb-base-order-list__body-order-item-content"
96
- v-for="(Sitem, Sindex) in item.products"
97
- :key="Sitem.key"
98
- v-if="(item['isOpen'] === false && Sindex < showLen) || item['isOpen']"
99
- >
100
- <image :src="Sitem.product_thumb" style="background: #ffffff" mode="aspectFit"></image>
101
- <view class="jfb-base-order-list__body-order-item-content-info">
102
- <view class="jfb-base-order-list__body-order-item-content-info-name">{{ Sitem.product_name }}</view>
103
- <view class="brand-name" v-if="Sitem.brand_name" :style="{color:brandTextColor}">{{ Sitem.brand_name }}</view>
104
- <view v-if="Sitem.product_sku_name" class="jfb-base-order-list__body-order-item-content-info-skuname">规格:{{ Sitem.product_sku_name }}</view>
105
- <view class="jfb-base-order-list__body-order-item-content-info-price">
106
- <view></view>
107
- <view class="info-price">
108
- <text>X</text>
109
- <text>{{ Sitem.product_num }}</text>
110
- </view>
67
+ <view
68
+ @click="handleToLink(detailPath, item)"
69
+ class="jfb-base-order-list__body-order-item"
70
+ v-for="item in orderList"
71
+ :key="item.main_order_id"
72
+ :style="{
73
+ background: backgroundColor,
74
+ border: borderBox,
75
+ borderRadius: radius + 'rpx',
76
+ boxShadow: shadowBox,
77
+ marginBottom: padding + 'rpx',
78
+ }"
79
+ >
80
+ <view class="jfb-base-order-list__body-order-item-biz">
81
+ <xd-font-icon
82
+ v-if="item.biz_code_icon"
83
+ :icon="item.biz_code_icon"
84
+ :size="item['biz_code_icon_size']"
85
+ ></xd-font-icon>
86
+ <view :class="{ marginLeft: item.biz_code_icon }">{{item.biz_code_name }}</view>
87
+ </view>
88
+ <view class="jfb-base-order-list__body-order-item-title">
89
+ <view>订单编号:{{ item.main_order_id }}</view>
90
+ <view :style="{color:item.status.status_type !== 'error' ? mainColor : '#999999',}">{{ item.status.status_name }}</view>
91
+ </view>
92
+ <view class="order-list">
93
+ <view
94
+ class="jfb-base-order-list__body-order-item-content"
95
+ v-for="(Sitem, Sindex) in item.products"
96
+ :key="Sitem.key"
97
+ v-if="(item['isOpen'] === false && Sindex < showLen) || item['isOpen']"
98
+ >
99
+ <image :src="Sitem.product_thumb" style="background: #ffffff" mode="aspectFit"></image>
100
+ <view class="jfb-base-order-list__body-order-item-content-info">
101
+ <view class="jfb-base-order-list__body-order-item-content-info-name">{{ Sitem.product_name }}</view>
102
+ <view class="brand-name" v-if="Sitem.brand_name" :style="{color:brandTextColor}">{{ Sitem.brand_name }}</view>
103
+ <view v-if="Sitem.product_sku_name" class="jfb-base-order-list__body-order-item-content-info-skuname">规格:{{ Sitem.product_sku_name }}</view>
104
+ <view class="jfb-base-order-list__body-order-item-content-info-price">
105
+ <view></view>
106
+ <view class="info-price">
107
+ <text>X</text>
108
+ <text>{{ Sitem.product_num }}</text>
111
109
  </view>
112
110
  </view>
113
111
  </view>
114
- <view
115
- class="order-list-icon"
116
- :style="{ bottom: item['isOpen'] ? '-30rpx' : '-54rpx' }"
117
- v-if="item.products.length > showLen"
118
- @click.stop="switchOpen(item)"
119
- >
120
- <view :style="{ background: backgroundColor }">
121
- <xd-font-icon
122
- color="#666"
123
- :icon="item['isOpen'] ? 'iconshang_up' : 'iconxia_down'"
124
- size="24"
125
- ></xd-font-icon>
126
- </view>
127
- </view>
128
- </view>
129
- <view class="jfb-base-order-list__body-order-item-bottom">
130
- <view>下单时间:{{ item.created_time_text }}</view>
131
- <view v-if="item.biz_code !== 'gift' && item.is_not_show_price !== 'Y'">
132
- <text>合计:</text>
133
- <xd-unit
134
- :isOld="false"
135
- :price="item.total_amount"
136
- :color="mainColor"
137
- :fontSize="28"
138
- ></xd-unit>
139
- </view>
140
- <view style="color:#999" v-if="item['main_user_server_amount'] !== undefined && item['main_user_server_amount'] > 0">
141
- <text>(平台服务费:</text>
142
- <xd-unit
143
- :isOld="false"
144
- :price="item['main_user_server_amount']"
145
- :fontSize="24"
146
- :is-gray="true"
147
- color="#999"
148
- :icon-size=".25"
149
- ></xd-unit>
150
- <text>)</text>
151
- </view>
152
112
  </view>
153
113
  <view
154
- class="jfb-base-order-list__body-order-item-pay"
155
- v-if="item.buttons.length"
114
+ class="order-list-icon"
115
+ :style="{ bottom: item['isOpen'] ? '-30rpx' : '-54rpx' }"
116
+ v-if="item.products.length > showLen"
117
+ @click.stop="switchOpen(item)"
156
118
  >
157
- <view v-for="(btn,index) in item.buttons" :key="btn.key">
158
- <xd-button
159
- :type="getBtnType(btn.action)"
160
- size="mini"
161
- @click="handleBtnEvent(btn.action, item)"
162
- >{{ btn.text }}</xd-button>
119
+ <view :style="{ background: backgroundColor }">
120
+ <xd-font-icon
121
+ color="#666"
122
+ :icon="item['isOpen'] ? 'iconshang_up' : 'iconxia_down'"
123
+ size="24"
124
+ ></xd-font-icon>
163
125
  </view>
164
126
  </view>
165
127
  </view>
166
- </template>
167
- <template v-if="layout_style === 'tfk'">
128
+ <view class="jfb-base-order-list__body-order-item-bottom">
129
+ <view>下单时间:{{ item.created_time_text }}</view>
130
+ <view v-if="item.biz_code !== 'gift' && item.is_not_show_price !== 'Y'">
131
+ <text>合计:</text>
132
+ <xd-unit
133
+ :isOld="false"
134
+ :price="item.total_amount"
135
+ :color="mainColor"
136
+ :fontSize="28"
137
+ ></xd-unit>
138
+ </view>
139
+ <view style="color:#999" v-if="item['main_user_server_amount'] !== undefined && item['main_user_server_amount'] > 0">
140
+ <text>(平台服务费:</text>
141
+ <xd-unit
142
+ :isOld="false"
143
+ :price="item['main_user_server_amount']"
144
+ :fontSize="24"
145
+ :is-gray="true"
146
+ color="#999"
147
+ :icon-size=".25"
148
+ ></xd-unit>
149
+ <text>)</text>
150
+ </view>
151
+ </view>
168
152
  <view
169
- @click="handleToLink(detailPath, item)"
170
- class="jfb-base-order-list__body-order-item"
171
- v-for="item in orderList"
172
- :key="item.main_order_id"
173
- :style="{
174
- background: backgroundColor,
175
- border: borderBox,
176
- borderRadius: radius + 'rpx',
177
- boxShadow: shadowBox,
178
- marginBottom: padding + 'rpx',
179
- }"
153
+ class="jfb-base-order-list__body-order-item-pay"
154
+ v-if="item.buttons.length"
180
155
  >
181
- <xd-tfk-order-item
182
- :mainColor="mainColor"
183
- :isShowOrderNo="isShowOrderNo"
184
- :brandTextColor="brandTextColor"
185
- :item="item"
186
- @handleBtnEvent="action => handleBtnEvent(action, item)"
187
- ></xd-tfk-order-item>
156
+ <view v-for="(btn,index) in item.buttons" :key="btn.key">
157
+ <xd-button
158
+ :type="getBtnType(btn.action)"
159
+ size="mini"
160
+ @click="handleBtnEvent(btn.action, item)"
161
+ >{{ btn.text }}</xd-button>
162
+ </view>
188
163
  </view>
189
- </template>
164
+ </view>
190
165
  </view>
191
166
  <view v-else class="jfb-base-order-list__body-no">
192
167
  <xd-font-icon
@@ -214,7 +189,6 @@ import extsMixins from "@/mixins/extsMixins";
214
189
  import { getContainerPropsValue } from "@/utils/xd.base";
215
190
  import getServiceUrl from "@/common/getServiceUrl";
216
191
  import Color from "color";
217
- import XdTfkOrderItem from "./XdTfkOrderItem"
218
192
 
219
193
  export default {
220
194
  name: "JfbBaseOrderList",
@@ -223,7 +197,6 @@ export default {
223
197
  XdTab,
224
198
  XdUnit,
225
199
  XdButton,
226
- XdTfkOrderItem,
227
200
  },
228
201
  mixins: [componentsMixins, extsMixins, JfbBaseOrderListMixin],
229
202
  data() {
@@ -266,8 +239,6 @@ export default {
266
239
  right: 0,
267
240
  bottom: 0,
268
241
  },
269
- layout_style: "old",
270
- isShowOrderNo: "Y",
271
242
 
272
243
  noticeBgc:'',
273
244
  };
@@ -344,8 +315,6 @@ export default {
344
315
 
345
316
  this.detailPath = getContainerPropsValue(container, "content.detailPath", { value: "" }).value;
346
317
  this.payPath = getContainerPropsValue(container, "content.payPath", {value: "",}).value;
347
- this.layout_style = getContainerPropsValue(container, "content.layout_style", "old");
348
- this.isShowOrderNo = getContainerPropsValue(container, "content.isShowOrderNo", "Y");
349
318
  this.tabList = getContainerPropsValue(container, "content.orderTypeList", []).map((item) => {
350
319
  return {
351
320
  name: item.customName || item.label,
@@ -167,6 +167,7 @@
167
167
  ],
168
168
  data() {
169
169
  return {
170
+ // hideMask: true,
170
171
  menuType: "card", // card, coupon
171
172
  loadingList: true,
172
173
  cardList: [],
@@ -24,26 +24,15 @@ export default {
24
24
  className: 'input80',
25
25
  rules: [
26
26
  {
27
- required: false,
27
+ required: true,
28
28
  validator: (rule, value, callback) => {
29
29
  value = value.trim();
30
- if(value.length === 0) return callback()
31
30
  if (value.length < 1 || value.length > 4) callback('卡券自定义名称长度为:1-4字符');
32
31
  else callback()
33
32
  },
34
33
  trigger: 'blur'
35
34
  }
36
35
  ],
37
- notice: '卡券自定义名称设置,默认值:<span style="color:red">卡券</span>,长度为:1-4字符',
38
- inline: false,
39
- },
40
-
41
- //style
42
- {
43
- ele: 'title',
44
- label: '轮廓设置',
45
- size: 'small',
46
- groupKey:'style',
47
36
  },
48
37
  {
49
38
  label: '卡券文字颜色:',
@@ -53,7 +42,13 @@ export default {
53
42
  value: data['cardNameColor'] || null,
54
43
  placeholder: '请选择卡券文字颜色',
55
44
  classNmae: 'input80',
56
- hidden:true,
45
+ },
46
+
47
+ {
48
+ ele: 'title',
49
+ label: '整体风格',
50
+ size: 'small',
51
+ groupKey:'style',
57
52
  },
58
53
  {
59
54
  label: '背景颜色:',
@@ -84,13 +79,13 @@ export default {
84
79
  },
85
80
  },
86
81
  {
87
- label: '行间距:',
82
+ label: '间距:',
88
83
  ele: 'el-input',
89
84
  type: 'number',
90
85
  valueKey: 'padding',
91
86
  groupKey:'style',
92
87
  value: data.padding || '',
93
- placeholder: '请输入行间距',
88
+ placeholder: '请输入间距',
94
89
  className: 'input60',
95
90
  inline: false,
96
91
  notice: '设置间距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
@@ -123,160 +118,10 @@ export default {
123
118
  },
124
119
  {
125
120
  ele: 'title',
126
- label: '标题设置',
127
- size: 'small',
128
- groupKey:'style',
129
- },
130
- {
131
- label: "标题样式设置",
132
- ele: "xd-text-and-bgc",
133
- groupKey:'style',
134
- valueKey: 'titleStyle',
135
- value: data['titleStyle'] || null,
136
- setting: {
137
- fontSize: true,
138
- color: true,
139
- bgColor: false,
140
- weight: true,
141
- selected:false
142
- },
143
- handleCustom({action, data}) {
144
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
145
- .then(res => {
146
- data.cb(res.list)
147
- })
148
- .catch(error => {
149
- console.error(error);
150
- data.cb([])
151
- });
152
- },
153
- },
154
- {
155
- ele: 'title',
156
- label: `添加${data['cardName'] || '卡券'}设置`,
157
- size: 'small',
158
- groupKey:'style',
159
- },
160
- {
161
- label: "文字样式设置",
162
- ele: "xd-text-and-bgc",
163
- groupKey:'style',
164
- valueKey: 'addBtnStyle',
165
- value: data['addBtnStyle'] || null,
166
- setting: {
167
- fontSize: true,
168
- color: true,
169
- bgColor: false,
170
- weight: true,
171
- selected:false
172
- },
173
- handleCustom({action, data}) {
174
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
175
- .then(res => {
176
- data.cb(res.list)
177
- })
178
- .catch(error => {
179
- console.error(error);
180
- data.cb([])
181
- });
182
- },
183
- },
184
- {
185
- label: '圆角设置:',
186
- ele: 'xd-site-select-list',
187
- valueKey: 'addBtnRadius',
188
- groupKey:'style',
189
- value: data['addBtnRadius'] || '40',
190
- placeholder: '请选择圆角设置',
191
- multiple: false,
192
- className: 'input80',
193
- handleCustom({action, data}) {
194
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
195
- .then(res => {
196
- data.cb(res.list)
197
- })
198
- .catch(error => {
199
- console.error(error);
200
- });
201
- },
202
- },
203
- {
204
- label: '背景颜色:',
205
- ele: 'xd-color',
206
- valueKey: 'addBtnBgColor',
207
- groupKey:'style',
208
- value: data['addBtnBgColor'] || null,
209
- placeholder: '请选择背景颜色',
210
- classNmae: 'input80',
211
- },
212
- {
213
- label: '投影设置:',
214
- ele: 'xd-shadow',
215
- groupKey:'style',
216
- valueKey: 'addBtnShadow',
217
- value: data['addBtnShadow'] || '',
218
- setting: {
219
- selected: 'N'
220
- },
221
- handleCustom({action, data}) {
222
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
223
- .then(res => {
224
- data.cb(res.list)
225
- })
226
- .catch(error => {
227
- console.error(error);
228
- data.cb([])
229
- });
230
- },
231
- },
232
- {
233
- label: '边框设置:',
234
- ele: 'xd-border',
235
- groupKey:'style',
236
- valueKey: 'addBtnBorder',
237
- value: data['addBtnBorder'] || {},
238
- setting: {
239
- selected:'N'
240
- },
241
- },
242
- {
243
- ele: 'title',
244
- label: `进入我的${data['cardName'] || '卡券'}设置`,
121
+ label: '内容区域风格',
245
122
  size: 'small',
246
123
  groupKey:'style',
247
124
  },
248
- {
249
- label: '填充:',
250
- ele: 'xd-margin-padding',
251
- valueKey: 'contentPadding',
252
- groupKey:'style',
253
- value: data['contentPadding'] || null,
254
- setting: {
255
- type: 'padding',
256
- },
257
- placeholder: '请设填充',
258
- inline: false,
259
- notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:<span style="color:red">40</span>像素',
260
- },
261
- {
262
- label: '圆角设置:',
263
- ele: 'xd-site-select-list',
264
- valueKey: 'radius',
265
- groupKey:'style',
266
- value: data['radius'] || '10',
267
- placeholder: '请选择内容圆角设置',
268
- multiple: false,
269
- className: 'input80',
270
- handleCustom({action, data}) {
271
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
272
- .then(res => {
273
- data.cb(res.list)
274
- })
275
- .catch(error => {
276
- console.error(error);
277
- });
278
- },
279
- },
280
125
  {
281
126
  label: '背景颜色:',
282
127
  ele: 'xd-color',
@@ -287,88 +132,30 @@ export default {
287
132
  classNmae: 'input80',
288
133
  },
289
134
  {
290
- label: '投影设置:',
291
- ele: 'xd-shadow',
292
- groupKey:'style',
293
- valueKey: 'contShadow',
294
- value: data['contShadow'] || '',
295
- setting: {
296
- selected: 'N'
297
- },
298
- handleCustom({action, data}) {
299
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
300
- .then(res => {
301
- data.cb(res.list)
302
- })
303
- .catch(error => {
304
- console.error(error);
305
- data.cb([])
306
- });
307
- },
308
- },
309
- {
310
- label: '边框设置:',
311
- ele: 'xd-border',
312
- groupKey:'style',
313
- valueKey: 'contBorder',
314
- value: data['contBorder'] || {},
315
- setting: {
316
- selected:'N'
317
- },
318
- },
319
- {
320
- ele: 'title',
321
- label: `进入我的${data['cardName'] || '卡券'}按钮样式设置`,
322
- size: 'small',
323
- groupKey:'style',
324
- },
325
- {
326
- label: '圆角设置:',
327
- ele: 'xd-site-select-list',
328
- valueKey: 'btnRadius',
329
- value: data['btnRadius'] || '40',
330
- groupKey:'style',
331
- placeholder: '请选择圆角设置',
332
- multiple: false,
333
- className: 'input60',
334
- handleCustom({action, data}) {
335
- XdBus.getParentApi('getOptionsSettingList')({
336
- setting_id: 'edtix_style_radius',
337
- key: Date.now()
338
- })
339
- .then(res => {
340
- data.cb(res.list)
341
- })
342
- .catch(error => {
343
- console.error(error);
344
- });
345
- },
346
- },
347
- {
348
- label: '背景颜色:',
135
+ label: '按钮背景颜色:',
349
136
  ele: 'xd-color',
350
137
  valueKey: 'btnBgColor',
351
138
  groupKey:'style',
352
139
  value: data['btnBgColor'] || null,
353
- placeholder: '请选择背景颜色',
140
+ placeholder: '请选择按钮背景颜色',
354
141
  classNmae: 'input80',
355
142
  },
356
143
  {
357
- label: '文字颜色:',
144
+ label: '按钮文字颜色:',
358
145
  ele: 'xd-color',
359
146
  valueKey: 'btnTextColor',
360
147
  groupKey:'style',
361
148
  value: data['btnTextColor'] || null,
362
- placeholder: '请选择文字颜色',
149
+ placeholder: '请选择按钮文字颜色',
363
150
  classNmae: 'input80',
364
151
  },
365
152
  {
366
- label: '文字大小:',
153
+ label: '按钮文字大小:',
367
154
  ele: 'xd-site-select-list',
368
155
  valueKey: 'btnFontSize',
369
156
  groupKey:'style',
370
157
  value: data['btnFontSize'] || '',
371
- placeholder: '请选择文字大小',
158
+ placeholder: '请选择按钮文字大小',
372
159
  multiple: false,
373
160
  className: 'input80',
374
161
  handleCustom({action, data}) {
@@ -384,13 +171,11 @@ export default {
384
171
  },
385
172
  },
386
173
 
387
- //=====属性已废弃(不能删除,已隐藏)====
388
174
  {
389
175
  ele: 'title',
390
176
  label: '边框设置',
391
177
  size: 'small',
392
178
  groupKey:'style',
393
- hidden: true
394
179
  },
395
180
  {
396
181
  label: '是否有边框:',
@@ -401,7 +186,6 @@ export default {
401
186
  placeholder: '请选择是否有边框',
402
187
  multiple: false,
403
188
  className: 'input80',
404
- hidden: true,
405
189
  list: [
406
190
  {label: '是', value: 'Y'},
407
191
  {label: '否', value: 'N'},
@@ -415,7 +199,6 @@ export default {
415
199
  value: data['is_border_c'] || '',
416
200
  placeholder: '请选择边框颜色',
417
201
  classNmae: 'input80',
418
- hidden: true
419
202
  },
420
203
  data['is_border'] === 'Y' && {
421
204
  label: '边框大小:',
@@ -426,10 +209,26 @@ export default {
426
209
  value: data['is_border_w'] || '',
427
210
  placeholder: '请输入边框颜色',
428
211
  className: 'input80',
429
- hidden: true
430
212
  },
431
- //=====属性已废弃(不能删除,已隐藏)====
432
-
213
+ {
214
+ label: '内容圆角设置:',
215
+ ele: 'xd-site-select-list',
216
+ valueKey: 'radius',
217
+ groupKey:'style',
218
+ value: data['radius'] || '10',
219
+ placeholder: '请选择内容圆角设置',
220
+ multiple: false,
221
+ className: 'input80',
222
+ handleCustom({action, data}) {
223
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
224
+ .then(res => {
225
+ data.cb(res.list)
226
+ })
227
+ .catch(error => {
228
+ console.error(error);
229
+ });
230
+ },
231
+ },
433
232
  {
434
233
  label: '添加卡券路径:',
435
234
  ele: 'xd-select-pages-path',
@@ -437,34 +236,43 @@ export default {
437
236
  groupKey:'advanced',
438
237
  placeholder: '请选择添加卡券路径',
439
238
  value: data['add_url'] || null,
440
- className: 'input100',
441
239
  setting: {
442
240
  router: XdBus.getParentApi('getPagesTree'),
443
241
  },
242
+ rules: [
243
+ {required: true, message: '请选择添加卡券路径', trigger: 'change'},
244
+ ],
245
+ inline: false,
444
246
  },
445
247
  {
446
248
  label: '设置支付密码路径:',
447
249
  ele: 'xd-select-pages-path',
448
250
  valueKey: 'pwd_url',
449
251
  groupKey:'advanced',
450
- className: 'input100',
451
252
  placeholder: '请选择设置支付密码路径',
452
253
  value: data['pwd_url'] || null,
453
254
  setting: {
454
255
  router: XdBus.getParentApi('getPagesTree'),
455
256
  },
257
+ rules: [
258
+ {required: true, message: '请选择设置支付密码路径', trigger: 'change'},
259
+ ],
260
+ inline: false,
456
261
  },
457
262
  {
458
263
  label: '进入我的票券路径:',
459
264
  ele: 'xd-select-pages-path',
460
265
  valueKey: 'card_url',
461
266
  groupKey:'advanced',
462
- className: 'input100',
463
267
  placeholder: '请选择进入我的票券路径',
464
268
  value: data['card_url'] || null,
465
269
  setting: {
466
270
  router: XdBus.getParentApi('getPagesTree'),
467
271
  },
272
+ rules: [
273
+ {required: true, message: '请选择进入我的票券路径', trigger: 'change'},
274
+ ],
275
+ inline: false,
468
276
  },
469
277
  {
470
278
  label: '',