jufubao-movie 1.0.29 → 1.0.30-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 (45) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbMovieAfterOrder/JfbMovieAfterOrder.vue +4 -3
  3. package/src/components/JfbMovieAfterOrder/JfbMovieAfterOrderLess.less +18 -19
  4. package/src/components/JfbMovieAfterOrderDetail/JfbMovieAfterOrderDetail.vue +4 -3
  5. package/src/components/JfbMovieAfterOrderDetail/JfbMovieAfterOrderDetailLess.less +18 -19
  6. package/src/components/JfbMovieCenter/JfbMovieCenter.vue +4 -3
  7. package/src/components/JfbMovieCenter/JfbMovieCenterLess.less +18 -19
  8. package/src/components/JfbMovieCode/JfbMovieCode.vue +7 -6
  9. package/src/components/JfbMovieCode/JfbMovieCodeLess.less +18 -19
  10. package/src/components/JfbMovieCodeChoose/Attr.js +84 -67
  11. package/src/components/JfbMovieCodeChoose/JfbMovieCodeChoose.vue +52 -118
  12. package/src/components/JfbMovieCodeChoose/JfbMovieCodeChooseLess.less +18 -19
  13. package/src/components/JfbMovieConfirm/Attr.js +11 -10
  14. package/src/components/JfbMovieConfirm/JfbMovieConfirm.vue +5 -4
  15. package/src/components/JfbMovieConfirm/JfbMovieConfirmLess.less +18 -19
  16. package/src/components/JfbMovieLineCinema/Attr.js +17 -14
  17. package/src/components/JfbMovieLineCinema/JfbMovieLineCinema.vue +3 -2
  18. package/src/components/JfbMovieLineCinema/JfbMovieLineCinemaLess.less +18 -19
  19. package/src/components/JfbMovieLineCinemaChoose/Attr.js +7 -7
  20. package/src/components/JfbMovieLineCinemaChoose/JfbMovieLineCinemaChoose.vue +3 -2
  21. package/src/components/JfbMovieLineCinemaChoose/JfbMovieLineCinemaChooseLess.less +18 -19
  22. package/src/components/JfbMovieLineFilm/Attr.js +15 -25
  23. package/src/components/JfbMovieLineFilm/JfbMovieLineFilm.vue +3 -2
  24. package/src/components/JfbMovieLineFilm/JfbMovieLineFilmLess.less +18 -19
  25. package/src/components/JfbMovieLineFilmInfo/Attr.js +5 -3
  26. package/src/components/JfbMovieLineFilmInfo/JfbMovieLineFilmInfo.vue +3 -3
  27. package/src/components/JfbMovieLineFilmInfo/JfbMovieLineFilmInfoLess.less +18 -19
  28. package/src/components/JfbMovieLineLineSeat/Attr.js +11 -10
  29. package/src/components/JfbMovieLineLineSeat/JfbMovieLineLineSeat.vue +6 -5
  30. package/src/components/JfbMovieLineLineSeat/JfbMovieLineLineSeatLess.less +18 -19
  31. package/src/components/JfbMovieLineLineSeat/Mock.js +2 -2
  32. package/src/components/JfbMovieLineSchedule/Attr.js +13 -8
  33. package/src/components/JfbMovieLineSchedule/JfbMovieLineSchedule.vue +9 -8
  34. package/src/components/JfbMovieLineSchedule/JfbMovieLineScheduleLess.less +18 -19
  35. package/src/components/JfbMovieOrder/JfbMovieOrder.vue +4 -3
  36. package/src/components/JfbMovieOrder/JfbMovieOrderLess.less +18 -19
  37. package/src/components/JfbMovieOrderDetail/JfbMovieOrderDetail.vue +4 -3
  38. package/src/components/JfbMovieOrderDetail/JfbMovieOrderDetailLess.less +18 -19
  39. package/src/components/JfbMoviePay/JfbMoviePay.vue +4 -3
  40. package/src/components/JfbMoviePay/JfbMoviePayLess.less +18 -19
  41. package/src/components/JfbMovieTestApi/Api.js +0 -57
  42. package/src/components/JfbMovieTestApi/Attr.js +0 -45
  43. package/src/components/JfbMovieTestApi/JfbMovieTestApi.vue +0 -77
  44. package/src/components/JfbMovieTestApi/JfbMovieTestApiLess.less +0 -80
  45. package/src/components/JfbMovieTestApi/JfbMovieTestApiMixin.js +0 -30
@@ -31,31 +31,23 @@
31
31
  borderRadius: radius + 'rpx',
32
32
  boxShadow: shadowBox,
33
33
  marginBottom: padding + 'rpx',
34
+ padding: outMargin
34
35
  }"
35
36
  >
36
37
  <view class="jfb-movie-code-choose__body-info-name">
37
38
  <image :src="cinemaInfo.cinema_logo"></image>
38
39
  <view>
39
- <view class="jfb-movie-code-choose__body-info-name-name">{{
40
- cinemaInfo.cinema_name
41
- }}</view>
42
- <view class="jfb-movie-code-choose__body-info-name-distance">{{
43
- cinemaInfo.distance
44
- }}</view>
40
+ <view class="jfb-movie-code-choose__body-info-name-name" :style="{color: textColor}">{{cinemaInfo.cinema_name }}</view>
41
+ <view class="jfb-movie-code-choose__body-info-name-distance" :style="{color:subTextColor}">{{cinemaInfo.distance }}</view>
45
42
  </view>
46
43
  </view>
47
- <view
48
- class="jfb-movie-code-choose__body-info-detail"
49
- v-html="cinemaInfo.about"
50
- >
44
+ <view class="jfb-movie-code-choose__body-info-detail" v-html="cinemaInfo.about">
51
45
  </view>
52
- <view style="border: 0.5px solid #eee; margin-top: 40rpx"></view>
46
+ <view :style="{margin:(padding + 'rpx 0'),height: '1px', backgroundColor: textLineColor}"></view>
53
47
  <view class="jfb-movie-code-choose__body-info-shop">
54
48
  <view style="align-items: center;" class="jfb-movie-code-choose__body-info-shop-item">
55
- <view>门店电话</view>
56
- <view>
57
- {{ cinemaInfo.phone }}
58
- </view>
49
+ <view :style="{color:subTextColor}">门店电话</view>
50
+ <view :style="{color: textColor}">{{ cinemaInfo.phone }}</view>
59
51
  <xd-font-icon
60
52
  @click="handleCall"
61
53
  width="48"
@@ -65,10 +57,8 @@
65
57
  ></xd-font-icon>
66
58
  </view>
67
59
  <view style="padding: 24rpx 0 0 0;" class="jfb-movie-code-choose__body-info-shop-item">
68
- <view>门店地址</view>
69
- <view>
70
- {{ cinemaInfo.address }}
71
- </view>
60
+ <view :style="{color:subTextColor}">门店地址</view>
61
+ <view :style="{color: textColor}">{{ cinemaInfo.address }}</view>
72
62
  </view>
73
63
  </view>
74
64
  </view>
@@ -77,6 +67,7 @@
77
67
  border: listBorderBox,
78
68
  borderRadius: listRadius + 'rpx',
79
69
  boxShadow: listShadowBox,
70
+ padding: outMargin
80
71
  }">
81
72
  <view class="jfb-movie-code-choose__body-product-title">
82
73
  <xd-font-icon
@@ -85,8 +76,9 @@
85
76
  height="44"
86
77
  :color="mainColor"
87
78
  ></xd-font-icon>
88
- <view>商品名</view>
79
+ <view :style="{color:listTextColor}">商品名</view>
89
80
  </view>
81
+ <view :style="{margin:(padding + 'rpx 0'),height: '1px', backgroundColor: subListTextColor}"></view>
90
82
  <view class="jfb-movie-code-choose__body-product-list">
91
83
  <view
92
84
  class="jfb-movie-code-choose__body-product-list-item"
@@ -96,8 +88,7 @@
96
88
  >
97
89
  <image :src="item.thumb"></image>
98
90
  <view class="jfb-movie-code-choose__body-product-list-item-info">
99
- <view>{{ item.list_title }}</view>
100
- <!-- <view>商品信息补充要求说明</view>-->
91
+ <view :style="{color:listTextColor}">{{ item.list_title }}</view>
101
92
  <xd-unit :price="item.sale_price"></xd-unit>
102
93
  </view>
103
94
  <view class="btn">
@@ -121,6 +112,7 @@ import extsMixins from "@/mixins/extsMixins";
121
112
  import { getContainerPropsValue } from "@/utils/xd.base";
122
113
  import { mapState } from "vuex";
123
114
  import getServiceUrl from "@/common/getServiceUrl";
115
+ import Color from "color";
124
116
 
125
117
  export default {
126
118
  name: "JfbMovieCodeChoose",
@@ -137,18 +129,19 @@ export default {
137
129
  productList: [],
138
130
  detailPath: "",
139
131
  //其他
140
- margin: {
141
- top: 0,
142
- left: 0,
143
- right: 0,
144
- bottom: 0,
145
- },
132
+ margin: {top: 0, left: 0, right: 0, bottom: 0,},
146
133
  //基础
147
134
  radius: 0,
148
135
  backgroundColor: "",
149
136
  padding: 0,
150
137
  listRadius: 0,
151
138
  listBackgroundColor: "",
139
+ textColor:'',
140
+ subTextColor:'',
141
+ textLineColor:'',
142
+ listTextColor:'',
143
+ subListTextColor:'',
144
+ listTextLineColor:'',
152
145
 
153
146
  //投影
154
147
  is_shadow: "Y",
@@ -168,8 +161,9 @@ export default {
168
161
  };
169
162
  },
170
163
  watch: {
171
- container(value) {
172
- this.init(value);
164
+ container(value,oldValue) {
165
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
166
+ if (this.$configProject['isPreview']) this.init(value)
173
167
  },
174
168
  },
175
169
  computed: {
@@ -215,93 +209,33 @@ export default {
215
209
  * @param container {object} 业务组件对象自己
216
210
  */
217
211
  init(container) {
218
- this.detailPath = getContainerPropsValue(
219
- container,
220
- "content.detailPath",
221
- { value: "" }
222
- ).value;
223
- this.margin = getContainerPropsValue(container, "content.margin", {
224
- top: 0,
225
- left: 0,
226
- right: 0,
227
- bottom: 0,
228
- });
212
+ this.detailPath = getContainerPropsValue(container, "content.detailPath", { value: "" }).value;
213
+ this.margin = getContainerPropsValue(container, "content.margin", {top: 0, left: 0, right: 0, bottom: 0,});
229
214
  this.padding = getContainerPropsValue(container, "content.padding", 20);
230
- this.radius = getContainerPropsValue(container, "content.radius", 0);
231
- this.backgroundColor = getContainerPropsValue(
232
- container,
233
- "content.backgroundColor",
234
- "#f8f8f8"
235
- );
236
- this.is_shadow = getContainerPropsValue(
237
- container,
238
- "content.is_shadow",
239
- "N"
240
- );
241
- this.is_shadow_bg = getContainerPropsValue(
242
- container,
243
- "content.is_shadow_bg",
244
- "#fff"
245
- );
246
- this.is_shadow_w = getContainerPropsValue(
247
- container,
248
- "content.is_shadow_w",
249
- "10"
250
- );
251
215
 
252
- this.is_border = getContainerPropsValue(
253
- container,
254
- "content.is_border",
255
- "N"
256
- );
257
- this.is_border_c = getContainerPropsValue(
258
- container,
259
- "content.is_border_c",
260
- "#fff"
261
- );
262
- this.is_border_w = getContainerPropsValue(
263
- container,
264
- "content.is_border_w",
265
- 2
266
- );
216
+ this.radius = getContainerPropsValue(container, "content.radius", 0);
217
+ this.backgroundColor = getContainerPropsValue(container, "content.backgroundColor", "#f8f8f8");
218
+ this.is_shadow = getContainerPropsValue(container, "content.is_shadow", "N");
219
+ this.is_shadow_bg = getContainerPropsValue(container, "content.is_shadow_bg", "#fff");
220
+ this.is_shadow_w = getContainerPropsValue(container, "content.is_shadow_w", "10");
221
+ this.is_border = getContainerPropsValue(container, "content.is_border", "N");
222
+ this.is_border_c = getContainerPropsValue(container, "content.is_border_c", "#fff");
223
+ this.is_border_w = getContainerPropsValue(container, "content.is_border_w", 2);
224
+ this.textColor = getContainerPropsValue(container, "content.textColor", '#333');
225
+ this.textLineColor = Color(this.backgroundColor).lighten(0.2).toString();
226
+ this.subTextColor = Color(this.textColor).alpha(.6).toString();
267
227
 
268
228
  this.listRadius = getContainerPropsValue(container, "content.listRadius", 0);
269
- this.listBackgroundColor = getContainerPropsValue(
270
- container,
271
- "content.listBackgroundColor",
272
- "#f8f8f8"
273
- );
274
- this.list_is_shadow = getContainerPropsValue(
275
- container,
276
- "content.list_is_shadow",
277
- "N"
278
- );
279
- this.list_is_shadow_bg = getContainerPropsValue(
280
- container,
281
- "content.list_is_shadow_bg",
282
- "#fff"
283
- );
284
- this.list_is_shadow_w = getContainerPropsValue(
285
- container,
286
- "content.list_is_shadow_w",
287
- "10"
288
- );
289
-
290
- this.list_is_border = getContainerPropsValue(
291
- container,
292
- "content.list_is_border",
293
- "N"
294
- );
295
- this.list_is_border_c = getContainerPropsValue(
296
- container,
297
- "content.list_is_border_c",
298
- "#fff"
299
- );
300
- this.list_is_border_w = getContainerPropsValue(
301
- container,
302
- "content.list_is_border_w",
303
- 2
304
- );
229
+ this.listTextColor = getContainerPropsValue(container, "content.listTextColor", '#333');
230
+ this.subListTextColor = Color(this.listTextColor).alpha(.6).toString();
231
+ this.listBackgroundColor = getContainerPropsValue(container, "content.listBackgroundColor", "#f8f8f8");
232
+ this.subListTextColor = Color(this.listBackgroundColor).lighten(0.2).toString();
233
+ this.list_is_shadow = getContainerPropsValue(container, "content.list_is_shadow", "N");
234
+ this.list_is_shadow_bg = getContainerPropsValue(container, "content.list_is_shadow_bg", "#fff");
235
+ this.list_is_shadow_w = getContainerPropsValue(container, "content.list_is_shadow_w", "10");
236
+ this.list_is_border = getContainerPropsValue(container, "content.list_is_border", "N");
237
+ this.list_is_border_c = getContainerPropsValue(container, "content.list_is_border_c", "#fff");
238
+ this.list_is_border_w = getContainerPropsValue(container, "content.list_is_border_w", 2);
305
239
  },
306
240
 
307
241
  p_getCinemaInfo() {
@@ -317,7 +251,7 @@ export default {
317
251
  })
318
252
  .then((res) => {
319
253
  const { cinema_data } = res;
320
-
254
+
321
255
  cinema_data['cinema_logo'] = getServiceUrl(cinema_data.cinema_logo);
322
256
  this.cinemaInfo = cinema_data;
323
257
  resolve();
@@ -384,7 +318,6 @@ export default {
384
318
  .jfb-movie-code-choose {
385
319
  &__body {
386
320
  &-info {
387
- padding: unit(40,rpx);
388
321
  &-name {
389
322
  display: flex;
390
323
  align-items: center;
@@ -441,7 +374,6 @@ export default {
441
374
  &-product {
442
375
  border-radius: unit(20, rpx);
443
376
  background: #ffffff;
444
- padding: unit(40, rpx);
445
377
 
446
378
  &-title {
447
379
  display: flex;
@@ -460,7 +392,9 @@ export default {
460
392
  display: flex;
461
393
  justify-content: space-between;
462
394
  margin-bottom: unit(40, rpx);
463
-
395
+ &:last-child {
396
+ margin-bottom: 0;
397
+ }
464
398
 
465
399
  image {
466
400
  width: unit(144, rpx);
@@ -486,7 +420,7 @@ export default {
486
420
  font-size: unit(24, rpx);
487
421
  }
488
422
  }
489
-
423
+
490
424
  & .btn {
491
425
  height: unit(144, rpx);
492
426
  flex-shrink: 0;
@@ -13,9 +13,7 @@
13
13
 
14
14
  //start
15
15
  .jfb-movie-code-choose {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(100, rpx);
19
17
 
20
18
  &__body{
21
19
  position: relative;
@@ -23,21 +21,22 @@
23
21
  z-index: 2
24
22
  }
25
23
 
26
- &.editx {
24
+ &.editx,&.editx:hover {
27
25
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
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
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-movie-code-choose {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -6,26 +6,28 @@ export default {
6
6
  content: (data)=>{
7
7
  return [
8
8
  {
9
- label: '去支付路径:', //label
10
- ele: 'xd-select-pages-path', //package 名称
11
- valueKey: 'payPath', //form[valueKey]
9
+ label: '去支付路径:',
10
+ ele: 'xd-select-pages-path',
11
+ valueKey: 'payPath',
12
12
  placeholder: '请选择支付路径',
13
13
  value: data['payPath'],
14
14
  setting: {
15
15
  router: XdBus.getParentApi('getPagesTree'),
16
16
  },
17
- inline: false,
17
+ groupKey:'advanced',
18
+ className: 'input80',
18
19
  },
19
20
  {
20
- label: '支付成功路径:', //label
21
- ele: 'xd-select-pages-path', //package 名称
22
- valueKey: 'paySuccessPath', //form[valueKey]
21
+ label: '支付成功路径:',
22
+ ele: 'xd-select-pages-path',
23
+ valueKey: 'paySuccessPath',
23
24
  placeholder: '请选择支付成功路径',
24
25
  value: data['paySuccessPath'],
25
26
  setting: {
26
27
  router: XdBus.getParentApi('getPagesTree'),
27
28
  },
28
- inline: false,
29
+ groupKey:'advanced',
30
+ className: 'input80',
29
31
  },
30
32
  {
31
33
  label: '购票须知:',
@@ -44,6 +46,7 @@ export default {
44
46
  type: ['jpg', 'png', 'jpeg']
45
47
  },
46
48
  },
49
+ groupKey:'content',
47
50
  handleCustom({action, data}) {
48
51
  if (data && data.params) {
49
52
  //当一个插件中出现使用内容分类时候需要设置code值,在页面引用时候容器id + code进行拼接
@@ -237,8 +240,6 @@ export default {
237
240
  loading.close()
238
241
  }
239
242
  },
240
- inline: false,
241
- notice: '',
242
243
  },
243
244
  ]
244
245
  }
@@ -209,7 +209,7 @@
209
209
  @onChose="handleWalletChose"
210
210
  @onAlert="() => hasAlertCardChose = true"
211
211
  ></xd-wallet-chose>
212
-
212
+
213
213
  </view>
214
214
  </view>
215
215
  </template>
@@ -288,9 +288,10 @@
288
288
  }
289
289
  },
290
290
  watch: {
291
- container(value) {
292
- this.init(value)
293
- }
291
+ container(value,oldValue) {
292
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
293
+ if (this.$configProject['isPreview']) this.init(value)
294
+ },
294
295
  },
295
296
  computed: {
296
297
  ...mapState({
@@ -13,9 +13,7 @@
13
13
 
14
14
  //start
15
15
  .jfb-movie-confirm {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(100, rpx);
19
17
 
20
18
  &__body{
21
19
  position: relative;
@@ -23,21 +21,22 @@
23
21
  z-index: 2
24
22
  }
25
23
 
26
- &.editx {
24
+ &.editx,&.editx:hover {
27
25
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
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
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-movie-confirm {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -9,6 +9,7 @@ export default {
9
9
  ele: 'xd-site-select-list',
10
10
  valueKey: 'sort_consume_mode',
11
11
  value: data['sort_consume_mode'] || '',
12
+ groupKey:'content',
12
13
  placeholder: '请选择排序方式',
13
14
  multiple: false,
14
15
  className: 'input80',
@@ -26,35 +27,37 @@ export default {
26
27
  },
27
28
  },
28
29
  {
29
- label: '选择排期路径:', //label
30
- ele: 'xd-select-pages-path', //package 名称
31
- valueKey: 'schedule_choose_path', //form[valueKey]
30
+ label: '选择排期路径:',
31
+ ele: 'xd-select-pages-path',
32
+ valueKey: 'schedule_choose_path',
32
33
  placeholder: '请选择排期路径',
33
- value: data.schedule_choose_path || null,
34
+ className: 'input80',
35
+ value: data['schedule_choose_path'] || null,
36
+ groupKey:'advanced',
34
37
  setting: {
35
38
  router: XdBus.getParentApi('getPagesTree'),
36
-
37
39
  },
38
- inline: false,
39
40
  },
40
41
  {
41
- label: '选择城市路径:', //label
42
- ele: 'xd-select-pages-path', //package 名称
43
- valueKey: 'choseCityPath', //form[valueKey]
42
+ label: '选择城市路径:',
43
+ ele: 'xd-select-pages-path',
44
+ valueKey: 'choseCityPath',
44
45
  placeholder: '选择城市路径路径',
45
46
  value: data.choseCityPath || null,
47
+ className: 'input80',
48
+ groupKey:'advanced',
46
49
  setting: {
47
50
  router: XdBus.getParentApi('getPagesTree'),
48
-
49
51
  },
50
- inline: false,
51
52
  },
52
53
  {
53
- label: '电子码兑换:', //label
54
- ele: 'xd-select-pages-path', //package 名称
55
- valueKey: 'codeChoosePath', //form[valueKey]
54
+ label: '电子码兑换:',
55
+ ele: 'xd-select-pages-path',
56
+ valueKey: 'codeChoosePath',
56
57
  placeholder: '请选择电子码兑换路径',
57
58
  value: data.codeChoosePath || null,
59
+ className: 'input80',
60
+ groupKey:'advanced',
58
61
  setting: {
59
62
  router: XdBus.getParentApi('getPagesTree'),
60
63
  },
@@ -209,8 +209,9 @@ export default {
209
209
  },
210
210
  },
211
211
  watch: {
212
- container(value) {
213
- this.init(value);
212
+ container(value,oldValue) {
213
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
214
+ if (this.$configProject['isPreview']) this.init(value)
214
215
  },
215
216
  stateCity(n, o) {
216
217
  if (n && JSON.stringify(n) != JSON.stringify(o)) {
@@ -13,9 +13,7 @@
13
13
 
14
14
  //start
15
15
  .jfb-movie-line-cinema {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(100, rpx);
19
17
 
20
18
  &__body{
21
19
  position: relative;
@@ -23,21 +21,22 @@
23
21
  z-index: 2
24
22
  }
25
23
 
26
- &.editx {
24
+ &.editx,&.editx:hover {
27
25
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
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
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-movie-line-cinema {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -11,7 +11,7 @@ export default {
11
11
  valueKey: 'sort_consume_mode',
12
12
  value: data['sort_consume_mode'] || '',
13
13
  placeholder: '请选择排序方式',
14
- multiple: false,
14
+ groupKey:'content',
15
15
  className: 'input80',
16
16
  handleCustom({ action, data }) {
17
17
  XdBus.getParentApi('getOptionsSettingList')({
@@ -27,16 +27,16 @@ export default {
27
27
  },
28
28
  },
29
29
  {
30
- label: '选择排期路径:', //label
31
- ele: 'xd-select-pages-path', //package 名称
32
- valueKey: 'schedule_choose_path', //form[valueKey]
30
+ label: '选择排期路径:',
31
+ ele: 'xd-select-pages-path',
32
+ valueKey: 'schedule_choose_path',
33
33
  placeholder: '请选择排期路径',
34
- value: data.schedule_choose_path || null,
34
+ value: data['schedule_choose_path'] || null,
35
+ groupKey:'advanced',
36
+ className: 'input80',
35
37
  setting: {
36
38
  router: XdBus.getParentApi('getPagesTree'),
37
-
38
39
  },
39
- inline: false,
40
40
  },
41
41
  ].filter(i=>i)
42
42
  },
@@ -164,8 +164,9 @@ export default {
164
164
  },
165
165
  },
166
166
  watch: {
167
- container(value) {
168
- this.init(value);
167
+ container(value,oldValue) {
168
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
169
+ if (this.$configProject['isPreview']) this.init(value)
169
170
  },
170
171
  },
171
172
  created() {