jufubao-mall 2.0.21 → 2.0.23-beta1

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 (60) hide show
  1. package/package.json +1 -1
  2. package/src/components/CusProduct/CusProduct.vue +1 -1
  3. package/src/components/JfbMallBrandWall/Attr.js +10 -449
  4. package/src/components/JfbMallBrandWall/JfbMallBrandWall.vue +783 -308
  5. package/src/components/JfbMallBrandWall/cusAttr/advanced.js +61 -0
  6. package/src/components/JfbMallBrandWall/cusAttr/brand.js +341 -0
  7. package/src/components/JfbMallBrandWall/cusAttr/content.js +251 -0
  8. package/src/components/JfbMallBrandWall/cusAttr/style.js +252 -0
  9. package/src/components/JfbMallBrandWall/cusAttr/tab.js +471 -0
  10. package/src/components/JfbMallHomeProductList/JfbMallHomeProductList.vue +3 -1
  11. package/src/components/JfbMallHomeProductList/cusAttr/content.js +1 -2
  12. package/src/components/JfbMallNetworkMedia/Api.js +58 -0
  13. package/src/components/JfbMallNetworkMedia/Attr.js +20 -0
  14. package/src/components/JfbMallNetworkMedia/JfbMallNetworkMedia.vue +84 -0
  15. package/src/components/JfbMallNetworkMedia/JfbMallNetworkMediaLess.less +80 -0
  16. package/src/components/JfbMallNetworkMedia/JfbMallNetworkMediaMixin.js +30 -0
  17. package/src/components/JfbMallNetworkMedia/Mock.js +13 -0
  18. package/src/components/JfbMallNetworkMedia/cusAttr/advanced.js +60 -0
  19. package/src/components/JfbMallNetworkMedia/cusAttr/content.js +125 -0
  20. package/src/components/JfbMallNetworkMedia/cusAttr/filter.js +333 -0
  21. package/src/components/JfbMallNetworkMedia/cusAttr/font.js +114 -0
  22. package/src/components/JfbMallNetworkMedia/cusAttr/icon.js +298 -0
  23. package/src/components/{JfbMallProductList → JfbMallNetworkMedia/cusAttr}/style.js +15 -50
  24. package/src/components/JfbMallProductInfo/JfbMallProductInfo.vue +27 -23
  25. package/src/components/JfbMallProductInfo/cusAttr/content.js +1 -1
  26. package/src/components/JfbMallProductInfoV2/Api.js +1 -1
  27. package/src/components/JfbMallProductInfoV2/Attr.js +134 -41
  28. package/src/components/JfbMallProductInfoV2/JfbMallProductInfoV2.vue +136 -127
  29. package/src/components/JfbMallProductInfoV2/Mock.js +38 -10
  30. package/src/components/JfbMallProductList/Api.js +7 -7
  31. package/src/components/JfbMallProductList/Attr.js +7 -762
  32. package/src/components/JfbMallProductList/ComFilterQuery.vue +950 -0
  33. package/src/components/JfbMallProductList/JfbMallProductList.vue +807 -792
  34. package/src/components/JfbMallProductList/Mock.js +168 -255
  35. package/src/components/JfbMallProductList/XdCateV1.vue +335 -122
  36. package/src/components/JfbMallProductList/XdCateV2.vue +144 -76
  37. package/src/components/JfbMallProductList/XdQueryCommon.vue +189 -0
  38. package/src/components/JfbMallProductList/XdQueryFilter.vue +94 -76
  39. package/src/components/JfbMallProductList/XdQuerySort.vue +100 -109
  40. package/src/components/JfbMallProductList/cateMixins.js +103 -0
  41. package/src/components/JfbMallProductList/{advanced.js → cusAttr/advanced.js} +12 -4
  42. package/src/components/JfbMallProductList/cusAttr/content.js +465 -0
  43. package/src/components/JfbMallProductList/cusAttr/filter.js +333 -0
  44. package/src/components/JfbMallProductList/cusAttr/font.js +114 -0
  45. package/src/components/JfbMallProductList/cusAttr/icon.js +298 -0
  46. package/src/components/JfbMallProductList/cusAttr/style.js +91 -0
  47. package/src/components/JfbMallRecommendProduct/Attr.js +8 -366
  48. package/src/components/JfbMallRecommendProduct/JfbMallRecommendProduct.vue +218 -187
  49. package/src/components/JfbMallRecommendProduct/Mock.js +236 -693
  50. package/src/components/JfbMallRecommendProduct/cusAttr/advanced.js +79 -0
  51. package/src/components/JfbMallRecommendProduct/cusAttr/content.js +202 -0
  52. package/src/components/JfbMallRecommendProduct/cusAttr/style.js +594 -0
  53. package/src/components/JfbMallResourceShopList/Mock.js +4 -6
  54. package/src/components/JfbMallTestNormal/JfbMallTestNormal.vue +23 -2
  55. package/src/components/JfbMallTestNormal/data.js +152 -0
  56. package/src/mixins/componentsMixins.js +1 -0
  57. package/src/mixins/productCompMixins.js +29 -19
  58. package/src/components/JfbMallProductList/PosterAttr.js +0 -327
  59. package/src/components/JfbMallProductList/ProductAttr.js +0 -164
  60. package/src/components/JfbMallProductList/XdQueryBrand.vue +0 -150
@@ -0,0 +1,152 @@
1
+ 'use strict';
2
+
3
+ export default [
4
+ {
5
+ "brand_id": 14,
6
+ "brand_name": "广隆蛋挞王",
7
+ "brand_type": "MA",
8
+ "business_status": "CLOSED",
9
+ "consume_mode": ["SELL"],
10
+ "consume_mode_name": "",
11
+ "distance": "42km",
12
+ "distance_conversion": "41.9km",
13
+ "default_consume_type": "CV",
14
+ "consume_type": [
15
+ "CV"
16
+ ],
17
+ "discount_ratio" : 7500, //折扣
18
+ "is_support_jhd": true,
19
+ "address": "顺义区东六环与顺于路交叉口东150米",
20
+ "province_name": "",
21
+ "city_name": "",
22
+ "area_name": "",
23
+ "street_name": "",
24
+ "phone": "(010)89430806",
25
+ "resource_shop_id": 80034891,
26
+ "exts_params": "eyJyZXNvdXJjZV9zaG9wX2lkIjo4MDAzNDg5LCJzaG9wX2lkIjoxMTUzNTIwLCJ2ZXJzaW9uIjoyfQ",
27
+ "resource_shop_name": "六九豆浆饺子(石门市场店)",
28
+ "shop_icon": "https://cake-img-v1.jufubao.cn/uploads/20221018/5c1f49a47055a452ac6c5a3efd9d5174.jpg",
29
+ "shop_id": 1153520,
30
+ "shop_tags": [],
31
+ "stars": 0,
32
+ "time_slot_name": "-",
33
+ "business_code": ""
34
+ },
35
+ {
36
+ "brand_id": 100003,
37
+ "brand_name": "面包新语",
38
+ "brand_type": "MA",
39
+ "business_status": "OPEN_BUSINESS",
40
+ "consume_mode": [
41
+ "SELL"
42
+ ],
43
+ "consume_mode_name": "",
44
+ "distance": "55km",
45
+ "distance_conversion": "54.8km",
46
+ "default_consume_type": "QP",
47
+ "consume_type": ['QP'],
48
+ "price":9999, //价格
49
+ "is_support_jhd": false,
50
+ "address": "东城区东直门街道东城区东直门内南大街4号(东直门内第一个十字路口东南角)",
51
+ "province_name": "",
52
+ "city_name": "",
53
+ "area_name": "",
54
+ "street_name": "",
55
+ "phone": "64034959",
56
+ "resource_shop_id": 8000077,
57
+ "exts_params": "eyJyZXNvdXJjZV9zaG9wX2lkIjo4MDAwMDc3LCJzaG9wX2lkIjoxMDIzNTMwLCJ2ZXJzaW9uIjoyfQ",
58
+ "resource_shop_name": "东直门[2]",
59
+ "shop_icon": "https://cake-img-v1.jufubao.cn/uploads/20200629/1125b2379b4d8c7fefb4a8abd3dd6f0d.png",
60
+ "shop_id": 1023530,
61
+ "shop_tags": [],
62
+ "stars": 0,
63
+ "time_slot_name": "09:00-18:00",
64
+ "business_code": ""
65
+ },
66
+ {
67
+ "brand_id": 1000031,
68
+ "brand_name": "企业团建等企业福利",
69
+ "brand_type": "MA",
70
+ "business_status": "OPEN_BUSINESS",
71
+ "consume_mode": [
72
+ "SELL"
73
+ ],
74
+ "consume_mode_name": "",
75
+ "distance": "56km",
76
+ "distance_conversion": "55.5km",
77
+ "default_consume_type": "WB",
78
+ "consume_type": ["WB"],
79
+ "is_support_jhd": true,
80
+ "address": "东城区建国门街道北京inn",
81
+ "province_name": "",
82
+ "city_name": "",
83
+ "area_name": "",
84
+ "street_name": "",
85
+ "phone": "18843854566",
86
+ "resource_shop_id": 8000078,
87
+ "exts_params": "eyJyZXNvdXJjZV9zaG9wX2lkIjo4MDAwMDc4LCJzaG9wX2lkIjoxMDM3MjY2LCJ2ZXJzaW9uIjoyfQ",
88
+ "resource_shop_name": "a加盟商-185",
89
+ "shop_icon": "https://img3.jufubao.cn/uploads/20250314/41051efe77b3955bd8567f0da4488d6a.jpg",
90
+ "shop_id": 1037266,
91
+ "shop_tags": [],
92
+ "stars": 0,
93
+ "time_slot_name": "-",
94
+ "business_code": "",
95
+ "discount_ratio" : 7500, //折扣
96
+ },
97
+ {
98
+ "brand_id": 1000031,
99
+ "brand_name": "85度C",
100
+ "brand_type": "MA",
101
+ "business_status": "OPEN_BUSINESS",
102
+ "consume_mode": ["SELL"],
103
+ "consume_mode_name": "",
104
+ "distance": "56km",
105
+ "distance_conversion": "55.5km",
106
+ "default_consume_type": "JHD",
107
+ "consume_type": ["JHD"],
108
+ "is_support_jhd": true,
109
+ "address": "东城区建国门街道北京inn",
110
+ "province_name": "",
111
+ "city_name": "",
112
+ "area_name": "",
113
+ "street_name": "",
114
+ "phone": "18843854566",
115
+ "resource_shop_id": 80000781,
116
+ "exts_params": "eyJyZXNvdXJjZV9zaG9wX2lkIjo4MDAwMDc4LCJzaG9wX2lkIjoxMDM3MjY2LCJ2ZXJzaW9uIjoyfQ",
117
+ "resource_shop_name": "a加盟商-185",
118
+ "shop_icon": "https://img5-v1.jufubao.cn/uploads/20230131/35b974aa874efc336c44e86a7a028987.jpg",
119
+ "shop_id": 1037266,
120
+ "shop_tags": [],
121
+ "stars": 0,
122
+ "time_slot_name": "-",
123
+ "business_code": "",
124
+ "price":99099, //价格
125
+ },
126
+ {
127
+ cinema_id: 6780394,
128
+ resource_shop_id: 6780394,
129
+ latitude: "39.760059",
130
+ longitude: "116.545494",
131
+ address: "北京市通州区新海东路1号米拉广场6楼",
132
+ resource_shop_name: "【大地】大地影院(通州米拉家园店)",
133
+ cinema_name: "【大地】大地影院(通州米拉家园店)",
134
+ ticket_notice: "",
135
+ brand_id: 0,
136
+ about: "",
137
+ shop_icon: "https://cake-img-v1.jufubao.cn/uploads/20220628/2a3e5f7e6873657bb6c7eb14fd7b937a.jpg?x-oss-process=style/size2",
138
+ distance: "27.1km",
139
+ cinema_type: ["SEAT", 'CODE','SELL'], //
140
+ consume_mode: ["SEAT", 'CODE','SELL'], //'SELL'
141
+ status: "Y",
142
+ is_open: "Y",
143
+ default_consume_type: "QP",
144
+ show_cinema_type: "SEAT",
145
+ show_cinema_type_name: "在线选座",
146
+ brand_name: "",
147
+ area_code: "2809",
148
+ area_name: "通州区",
149
+ price:99899, //价格
150
+ },
151
+ ]
152
+
@@ -331,6 +331,7 @@ export default {
331
331
  active(val){
332
332
  if(this.$configProject.isPreview && val) this.autoHideMask();
333
333
  },
334
+
334
335
  },
335
336
 
336
337
  methods:{
@@ -6,6 +6,8 @@ export default {
6
6
  data(){
7
7
  return {
8
8
 
9
+ productConfig:{},//商品信息
10
+
9
11
  //品牌样式
10
12
  brandColor:'#999',
11
13
  brandBgColor:'',
@@ -20,15 +22,16 @@ export default {
20
22
  posterKey:'posterKey',
21
23
  posterIndex:'',
22
24
  isPoster:'N',
23
-
25
+ isOnLoaded: false,
24
26
  }
25
27
  },
26
28
 
27
29
  computed:{
28
30
  isOpenPoster(){
29
31
  //三列与一列垂直不显示广告
30
- return !(this.column_num === 3 || this.columnOneLayout === 'V');
32
+ return !(this.column_num === 3 || this.columnOneLayout === 'V') && this.isPoster === 'Y';
31
33
  },
34
+
32
35
  //广告位置样式设置
33
36
  posterSizeComp(){
34
37
  return {
@@ -78,33 +81,21 @@ export default {
78
81
 
79
82
  //商品样式设置
80
83
  contProductStyles(){
81
- // let boxShadow = this.getShadowCompatibleOldStyle(this.contShadow,{
82
- // type: this.is_shadow,
83
- // width: this.is_shadow_w,
84
- // color: this.is_shadow_bg
85
- // }, ['none',this.gStyleValue.shadow]);
86
- // debugger
87
84
  return {
88
85
  ...this.getContentStyle(),
89
- boxShadow: this.contShadow,
90
86
  border: this.contBorder,
91
- backgroundColor: this.itemBgcColor,
87
+ backgroundColor: this.itemBgcColor ||this.contBgColor ,
92
88
  }
93
89
  },
94
90
 
95
91
 
96
92
  //商品样式设置
97
93
  posterProductStyles(){
98
- // let boxShadow = this.getShadowCompatibleOldStyle(this.contShadow,{
99
- // type: this.is_shadow,
100
- // width: this.is_shadow_w,
101
- // color: this.is_shadow_bg
102
- // }, ['none',this.gStyleValue.shadow]);
103
94
  return {
104
95
  ...this.getContentStyle('poster'),
105
96
  boxShadow: this.contShadow,
106
97
  border: this.contBorder,
107
- backgroundColor: this.itemBgcColor,
98
+ backgroundColor: this.itemBgcColor ||this.contBgColor ,
108
99
  overflow:'hidden'
109
100
  }
110
101
  },
@@ -150,6 +141,12 @@ export default {
150
141
  posterNum(){
151
142
  this.onJfbUpdate()
152
143
  },
144
+ need_show_tags(value,oldValue) {
145
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
146
+ if (this.$configProject['isPreview']){
147
+ this.getList();
148
+ }
149
+ },
153
150
  },
154
151
  methods:{
155
152
  //重新加载广告位置
@@ -238,11 +235,24 @@ export default {
238
235
 
239
236
  let otherWidth = (outMarginRL + outPaddingRL + columnSpacing + isPreview + borderRL + paddingRL);
240
237
 
238
+ //设置上下编辑
239
+ let marginBottom = this.rowSpacing + 'rpx';
240
+ let marginTop = 0;
241
+ if(this['isProductTop'] === true) {
242
+ marginBottom = 0;
243
+ marginTop = this.rowSpacing + 'rpx';
244
+ }
245
+
246
+ let borderRadius = '';
247
+ if(this.radius !== undefined) borderRadius = this.radius;
248
+ else if(this.contRadius !== undefined) borderRadius = this.contRadius;
249
+
241
250
  return {
242
- marginBottom: this.rowSpacing + 'rpx',
251
+ marginBottom,
252
+ marginTop,
243
253
  width: (outWidth - otherWidth)/this.column_num + 'rpx',
244
- borderRadius: this.radius + 'rpx',
245
- boxShadow: '0 0 10rpx rgba(0,0,0,.08)',
254
+ borderRadius: borderRadius + 'rpx',
255
+ boxShadow: this.contShadow,
246
256
  padding: str,
247
257
  backgroundColor: 'rgba(255,255,255,.8)'
248
258
  };
@@ -1,327 +0,0 @@
1
- 'use strict';
2
-
3
- function checkValue(value, dValue = 0){
4
- if(value === undefined || value === '' || value === null) return dValue;
5
- return Number(value || 0);
6
- }
7
-
8
- export default (data)=>{
9
-
10
- let bodyPadding = data.bodyPadding || {};
11
- let listPadding = data.listPadding || {};
12
- let itemPadding = data.itemPadding || {}
13
- let contBorder = data.contBorder || {};
14
- let columnSpacing = 20;
15
- let column_num = 2;
16
- let height = 0;
17
- if(data.row_num) column_num = data.row_num;
18
- if(column_num === 1) height = 200;
19
- if(column_num === 2) height = 540;
20
- if(column_num === 3) height = 200;
21
-
22
- //总宽度
23
- let maxW = 750
24
-
25
- //外边距
26
- let outMargin = (Number(checkValue(bodyPadding.left, 0)) + Number(checkValue(bodyPadding.right, 0)))
27
-
28
- //列表填充
29
- let outPadding = (Number(checkValue(listPadding.left, 20)) + Number(checkValue(listPadding.right, 20)))
30
-
31
- //间距设置
32
- if(typeof data.columnSpacing === 'string' && data.columnSpacing) columnSpacing = Number(data.columnSpacing);
33
- let columnSpacings = columnSpacing * (column_num-1); //公式:列数量 * 边距 + 边距
34
-
35
- //item内容填充
36
- let paddinRL = 0//(Number(checkValue(itemPadding.left, 20)) + Number(checkValue(itemPadding.right, 20))) * column_num;
37
-
38
- //边框
39
- let borderRL = 0;
40
- if(contBorder.type === 'Y') {
41
- let value = data.contBorder.value || {}
42
- if(value.width !== undefined) {
43
- borderRL = Number(value.width) * 2;
44
- }
45
- }
46
- const width = (maxW - (outMargin + outPadding + columnSpacings + paddinRL + borderRL))/column_num;
47
-
48
- let size = {width:width,height:height};
49
- let poster = {
50
- size: size,
51
- type:'1',
52
- position: Object.assign({},data.poster && data.poster.position)
53
- };
54
-
55
- return [
56
- {
57
- label: '广告位置配置:',
58
- ele: 'xd-site-poster',
59
- valueKey: 'poster',
60
- className: 'input80',
61
- value: poster,
62
- groupKey:'content',
63
- hidden: data['isPoster'] !== 'Y',
64
- setting: {
65
- count: 1,
66
- scene: {label: '广告', value: 'normal'},
67
- sizeDisabled: {
68
- wDisabled:true,
69
- hDisabled: true,
70
- },
71
- typeDisabled: true
72
- },
73
- handleCustom({action, data}) {
74
- //设置场景参数
75
- if(data) {
76
- data.params = Object.assign({}, {scene: 'normal'}, data.params || {})
77
- }
78
-
79
- //获取显示内容
80
- if (action === 'screenList') {
81
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'editx_base_ad_split_screen'})
82
- .then(res => {
83
- data.cb(res['list'])
84
- })
85
- .catch(error => {
86
- console.error(error);
87
- });
88
- return
89
- }
90
-
91
- //获取返回参数(广告位高度必选项)
92
- if (action === 'getPosterInfo') {
93
- XdBus.getParentApi('cmsGetPublishEditxContent')(data.params)
94
- .then(res => {
95
- data.cb({list: res.list, selectId: res.selected})
96
- })
97
- .catch(error => {
98
- console.error(error);
99
- });
100
- return
101
- }
102
-
103
- //使用内容分类
104
- if (action === 'cmsPublishEditxContent') {
105
- XdBus.getParentApi('cmsPublishEditxContent')(data.params)
106
- .then(res => {
107
- data.cb(res)
108
- })
109
- .catch(error => {
110
- console.error(error);
111
- });
112
- return
113
- }
114
-
115
- let loading = XdBus.getParentApi('loading')({});
116
- //位置列表
117
- if (action === 'getListPostion') {
118
- XdBus.getParentApi('getListPosterPosition')(data.params)
119
- .then(res => {
120
- loading.close();
121
- data.cb(res)
122
- })
123
- .catch(error => {
124
- loading.close();
125
- console.error(error);
126
- });
127
- }
128
-
129
- //位置创建
130
- if (action === 'addPostion') {
131
- XdBus.getParentApi('addPosterPosition')(data.params)
132
- .then(res => {
133
- loading.close();
134
- data.cb(true)
135
- })
136
- .catch(error => {
137
- console.error(error);
138
- loading.close();
139
- data.cb(false)
140
- });
141
- }
142
-
143
- //位置编辑
144
- if (action === 'editPostion') {
145
- XdBus.getParentApi('updatePosterPosition')(data.params)
146
- .then(res => {
147
- loading.close();
148
- data.cb(true)
149
- })
150
- .catch(error => {
151
- console.error(error);
152
- loading.close();
153
- data.cb(false)
154
- });
155
- }
156
-
157
- //位置删除
158
- if (action === 'deleltePostion') {
159
- XdBus.getParentApi('deletePosterPosition')(data.params)
160
- .then(res => {
161
- loading.close();
162
- data.cb(true)
163
- })
164
- .catch(error => {
165
- console.error(error);
166
- loading.close();
167
- data.cb(false)
168
- });
169
- }
170
-
171
- //获取广告位内容列表
172
- if (action === 'getListContent') {
173
- XdBus.getParentApi('getListPosterContent')(data.params)
174
- .then(res => {
175
- loading.close();
176
- data.cb(res)
177
- })
178
- .catch(error => {
179
- loading.close();
180
- console.error(error);
181
- });
182
- }
183
-
184
- //广告内容创建
185
- if (action === 'addContent') {
186
- XdBus.getParentApi('addPosterContent')(data.params)
187
- .then(res => {
188
- loading.close();
189
- data.cb(true)
190
- })
191
- .catch(error => {
192
- console.error(error);
193
- loading.close();
194
- data.cb(false)
195
- });
196
- }
197
-
198
- //广告内容编辑
199
- if (action === 'editContent') {
200
- XdBus.getParentApi('updatePosterContent')(data.params)
201
- .then(res => {
202
- loading.close();
203
- data.cb(true)
204
- })
205
- .catch(error => {
206
- console.error(error);
207
- loading.close();
208
- data.cb(false)
209
- });
210
- }
211
-
212
- //广告内容删除
213
- if (action === 'deleteContent') {
214
- XdBus.getParentApi('deletePosterContent')(data.params)
215
- .then(res => {
216
- loading.close();
217
- data.cb(true)
218
- })
219
- .catch(error => {
220
- console.error(error);
221
- loading.close();
222
- data.cb(false)
223
- });
224
- }
225
-
226
- //获取广告内容跳转地址类型
227
- if (action === 'jumpPosterContentType') {
228
- XdBus.getParentApi('getOptionsSettingList')({setting_id: "cms_setting"})
229
- .then(res => {
230
- loading.close();
231
- data.cb(res['redirect_type'])
232
- })
233
- .catch(error => {
234
- loading.close();
235
- console.error(error);
236
- });
237
- }
238
-
239
- //发布
240
- if (action === 'publish') {
241
- console.log('publish', data.params)
242
- XdBus.getParentApi('cmsPublishContent')(data.params)
243
- .then(res => {
244
- loading.close();
245
- data.cb(res)
246
- })
247
- .catch(error => {
248
- loading.close();
249
- console.error(error);
250
- });
251
- }
252
-
253
- //获取站内页面地址
254
- if (action === 'router') {
255
- loading.close()
256
- return XdBus.getParentApi('getPagesTree');
257
-
258
- }
259
-
260
- //通知页面进行刷新
261
- if(action === 'update') {
262
- XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
263
- loading.close()
264
- }
265
- },
266
- },
267
- {
268
- label: '广告位放置位置:',
269
- ele: 'el-input',
270
- type: 'number',
271
- valueKey: 'posterIndex',
272
- groupKey:'content',
273
- value: data['posterIndex'] || '',
274
- placeholder: '请输入广告位放置位置',
275
- className: 'input40',
276
- hidden: data['isPoster'] !== 'Y',
277
- inline: false,
278
- notice: '广告位放置位置<br/>当前使用一列时,默认位置:<span style="color:red">4</span>位,<br/>当前使用二列时,默认位置:<span style="color:red">2</span>位,'
279
- },
280
- {
281
- label: '广告位置使用张数:',
282
- ele: 'el-input',
283
- type: 'number',
284
- valueKey: 'posterNum',
285
- groupKey:'content',
286
- value: data['posterNum'] || 1,
287
- placeholder: '请输入广告位置使用张数',
288
- className: 'input40',
289
- hidden: data['isPoster'] !== 'Y',
290
- unit: '张',
291
- },
292
- {
293
- label: '广告轮播周期:',
294
- ele: 'el-input',
295
- type: 'number',
296
- valueKey: 'carouselTime',
297
- groupKey:'content',
298
- value: data['carouselTime'] || 5,
299
- placeholder: '广告轮播周期,默认5秒',
300
- className: 'input40',
301
- hidden: data['isPoster'] !== 'Y',
302
- unit: '秒',
303
- },
304
- {
305
- label: '广告显示dot类型:',
306
- ele: 'xd-select-list',
307
- valueKey: 'dot_type',
308
- value: data['dot_type'] || 'round',
309
- groupKey:'content',
310
- placeholder: '请选择广告显示dot类型',
311
- multiple: false,
312
- hidden: data['isPoster'] !== 'Y',
313
- className: 'input80',
314
- list:[
315
- {label: '显示圆点', value: 'dot'},
316
- {label: '显示长方形', value: 'default'},
317
- {label: '显示圆点+长条', value: 'round'},
318
- {label: '显示索引+标题', value: 'nav'},
319
- {label: '显示索引', value: 'indexes'},
320
- {label: '不显示', value: 'normal'},
321
- ],
322
- notice: '在使用非通屏显示类型广告位之外的样式时,<span style="color: red">(显示索引+标题|显示索引)</span>使用"<span style="color: red">显示圆点</span>"',
323
- inline: false,
324
- },
325
- ]
326
- }
327
-