jufubao-movie 1.0.29 → 1.0.30-beta2

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 (49) 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/Attr.js +2 -7
  5. package/src/components/JfbMovieAfterOrderDetail/JfbMovieAfterOrderDetail.vue +4 -3
  6. package/src/components/JfbMovieAfterOrderDetail/JfbMovieAfterOrderDetailLess.less +18 -19
  7. package/src/components/JfbMovieCenter/JfbMovieCenter.vue +4 -3
  8. package/src/components/JfbMovieCenter/JfbMovieCenterLess.less +18 -19
  9. package/src/components/JfbMovieCode/Attr.js +0 -7
  10. package/src/components/JfbMovieCode/JfbMovieCode.vue +7 -6
  11. package/src/components/JfbMovieCode/JfbMovieCodeLess.less +18 -19
  12. package/src/components/JfbMovieCodeChoose/Attr.js +84 -68
  13. package/src/components/JfbMovieCodeChoose/JfbMovieCodeChoose.vue +52 -118
  14. package/src/components/JfbMovieCodeChoose/JfbMovieCodeChooseLess.less +18 -19
  15. package/src/components/JfbMovieConfirm/Attr.js +11 -10
  16. package/src/components/JfbMovieConfirm/JfbMovieConfirm.vue +5 -4
  17. package/src/components/JfbMovieConfirm/JfbMovieConfirmLess.less +18 -19
  18. package/src/components/JfbMovieLineCinema/Attr.js +17 -14
  19. package/src/components/JfbMovieLineCinema/JfbMovieLineCinema.vue +3 -2
  20. package/src/components/JfbMovieLineCinema/JfbMovieLineCinemaLess.less +18 -19
  21. package/src/components/JfbMovieLineCinemaChoose/Attr.js +7 -7
  22. package/src/components/JfbMovieLineCinemaChoose/JfbMovieLineCinemaChoose.vue +3 -2
  23. package/src/components/JfbMovieLineCinemaChoose/JfbMovieLineCinemaChooseLess.less +18 -19
  24. package/src/components/JfbMovieLineFilm/Attr.js +15 -25
  25. package/src/components/JfbMovieLineFilm/JfbMovieLineFilm.vue +3 -2
  26. package/src/components/JfbMovieLineFilm/JfbMovieLineFilmLess.less +18 -19
  27. package/src/components/JfbMovieLineFilmInfo/Attr.js +5 -3
  28. package/src/components/JfbMovieLineFilmInfo/JfbMovieLineFilmInfo.vue +3 -3
  29. package/src/components/JfbMovieLineFilmInfo/JfbMovieLineFilmInfoLess.less +18 -19
  30. package/src/components/JfbMovieLineLineSeat/Attr.js +11 -10
  31. package/src/components/JfbMovieLineLineSeat/JfbMovieLineLineSeat.vue +6 -5
  32. package/src/components/JfbMovieLineLineSeat/JfbMovieLineLineSeatLess.less +18 -19
  33. package/src/components/JfbMovieLineLineSeat/Mock.js +2 -2
  34. package/src/components/JfbMovieLineSchedule/Attr.js +13 -8
  35. package/src/components/JfbMovieLineSchedule/JfbMovieLineSchedule.vue +9 -8
  36. package/src/components/JfbMovieLineSchedule/JfbMovieLineScheduleLess.less +18 -19
  37. package/src/components/JfbMovieOrder/JfbMovieOrder.vue +4 -3
  38. package/src/components/JfbMovieOrder/JfbMovieOrderLess.less +18 -19
  39. package/src/components/JfbMovieOrderDetail/Attr.js +0 -7
  40. package/src/components/JfbMovieOrderDetail/JfbMovieOrderDetail.vue +4 -3
  41. package/src/components/JfbMovieOrderDetail/JfbMovieOrderDetailLess.less +18 -19
  42. package/src/components/JfbMoviePay/Attr.js +4 -7
  43. package/src/components/JfbMoviePay/JfbMoviePay.vue +4 -3
  44. package/src/components/JfbMoviePay/JfbMoviePayLess.less +18 -19
  45. package/src/components/JfbMovieTestApi/Api.js +0 -57
  46. package/src/components/JfbMovieTestApi/Attr.js +0 -45
  47. package/src/components/JfbMovieTestApi/JfbMovieTestApi.vue +0 -77
  48. package/src/components/JfbMovieTestApi/JfbMovieTestApiLess.less +0 -80
  49. package/src/components/JfbMovieTestApi/JfbMovieTestApiMixin.js +0 -30
@@ -9,13 +9,13 @@ export default {
9
9
  ele: 'xd-margin-padding',
10
10
  valueKey: 'margin',
11
11
  value: data['margin'] || null,
12
- disabled: false,
12
+ groupKey:'style',
13
13
  setting: {
14
14
  type: 'margin',
15
15
  },
16
16
  placeholder: '请设置外边距',
17
17
  inline: false,
18
- notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:0像素',
18
+ notice: '设置外边距,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span>像素',
19
19
  },
20
20
  {
21
21
  label: '间距:',
@@ -25,11 +25,16 @@ export default {
25
25
  value: data.padding || '',
26
26
  placeholder: '请输入间距',
27
27
  className: 'input80',
28
+ groupKey:'style',
29
+ inline: false,
30
+ notice: '设置列表之间间距,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span>像素',
28
31
  },
32
+
29
33
  {
30
34
  ele: 'title',
31
35
  label: '门店详情配置',
32
- size: 'small', //default/mini/small
36
+ size: 'small',
37
+ groupKey:'style',
33
38
  },
34
39
  {
35
40
  label: '背景颜色:',
@@ -38,11 +43,35 @@ export default {
38
43
  value: data['backgroundColor'] || null,
39
44
  placeholder: '请选择背景颜色',
40
45
  classNmae: 'input80',
46
+ groupKey:'style',
41
47
  },
42
48
  {
43
- ele: 'title',
44
- label: '投影设置',
45
- size: 'small', //default/mini/small
49
+ label: '文字颜色:',
50
+ ele: 'xd-color',
51
+ valueKey: 'textColor',
52
+ value: data['textColor'] || null,
53
+ placeholder: '请选择背景颜色',
54
+ classNmae: 'input80',
55
+ groupKey:'style',
56
+ },
57
+ {
58
+ label: '内容圆角设置:',
59
+ ele: 'xd-site-select-list',
60
+ valueKey: 'radius',
61
+ value: data['radius'] || '',
62
+ placeholder: '请选择内容圆角设置',
63
+ multiple: false,
64
+ className: 'input80',
65
+ groupKey:'style',
66
+ handleCustom({action, data}) {
67
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
68
+ .then(res => {
69
+ data.cb(res.list)
70
+ })
71
+ .catch(error => {
72
+ console.error(error);
73
+ });
74
+ },
46
75
  },
47
76
  {
48
77
  label: '是否有投影:',
@@ -52,6 +81,7 @@ export default {
52
81
  placeholder: '请选择是否投影',
53
82
  multiple: false,
54
83
  className: 'input80',
84
+ groupKey:'style',
55
85
  list: [
56
86
  {label: '是', value: 'Y'},
57
87
  {label: '否', value: 'N'},
@@ -64,6 +94,7 @@ export default {
64
94
  value: data['is_shadow_bg'] || '',
65
95
  placeholder: '请选择投影颜色',
66
96
  classNmae: 'input80',
97
+ groupKey:'style',
67
98
  },
68
99
  data['is_shadow'] === 'Y' && {
69
100
  label: '投影范围:',
@@ -71,6 +102,7 @@ export default {
71
102
  valueKey: 'is_shadow_w',
72
103
  value: data['is_shadow_w'] || '10',
73
104
  placeholder: '请选择投影范围',
105
+ groupKey:'style',
74
106
  multiple: false,
75
107
  className: 'input80',
76
108
  handleCustom({action, data}) {
@@ -86,11 +118,6 @@ export default {
86
118
  });
87
119
  },
88
120
  },
89
- {
90
- ele: 'title',
91
- label: '边框设置',
92
- size: 'small', //default/mini/small
93
- },
94
121
  {
95
122
  label: '是否有边框:',
96
123
  ele: 'xd-radio',
@@ -98,6 +125,7 @@ export default {
98
125
  value: data['is_border'] || 'N',
99
126
  placeholder: '请选择是否有边框',
100
127
  multiple: false,
128
+ groupKey:'style',
101
129
  className: 'input80',
102
130
  list: [
103
131
  {label: '是', value: 'Y'},
@@ -111,24 +139,52 @@ export default {
111
139
  value: data['is_border_c'] || '',
112
140
  placeholder: '请选择边框颜色',
113
141
  classNmae: 'input80',
142
+ groupKey:'style',
114
143
  },
115
144
  data['is_border'] === 'Y' && {
116
145
  label: '边框大小:',
117
146
  ele: 'el-input',
118
147
  type: 'number',
148
+ groupKey:'style',
119
149
  valueKey: 'is_border_w',
120
150
  value: data['is_border_w'] || '',
121
151
  placeholder: '请输入边框颜色',
122
152
  className: 'input80',
123
153
  },
154
+
155
+ {
156
+ ele: 'title',
157
+ label: '商品列表配置',
158
+ size: 'small',
159
+ groupKey:'style',
160
+ },
161
+ {
162
+ label: '背景颜色:',
163
+ ele: 'xd-color',
164
+ valueKey: 'listBackgroundColor',
165
+ value: data['listBackgroundColor'] || null,
166
+ placeholder: '请选择背景颜色',
167
+ classNmae: 'input80',
168
+ groupKey:'style',
169
+ },
170
+ {
171
+ label: '文字颜色:',
172
+ ele: 'xd-color',
173
+ valueKey: 'listTextColor',
174
+ value: data['listTextColor'] || null,
175
+ placeholder: '请选择背景颜色',
176
+ classNmae: 'input80',
177
+ groupKey:'style',
178
+ },
124
179
  {
125
180
  label: '内容圆角设置:',
126
181
  ele: 'xd-site-select-list',
127
- valueKey: 'radius',
128
- value: data['radius'] || '',
182
+ valueKey: 'listRadius',
183
+ value: data['listRadius'] || '',
129
184
  placeholder: '请选择内容圆角设置',
130
185
  multiple: false,
131
186
  className: 'input80',
187
+ groupKey:'style',
132
188
  handleCustom({action, data}) {
133
189
  XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
134
190
  .then(res => {
@@ -139,24 +195,6 @@ export default {
139
195
  });
140
196
  },
141
197
  },
142
- {
143
- ele: 'title',
144
- label: '商品列表配置',
145
- size: 'small', //default/mini/small
146
- },
147
- {
148
- label: '背景颜色:',
149
- ele: 'xd-color',
150
- valueKey: 'listBackgroundColor',
151
- value: data['listBackgroundColor'] || null,
152
- placeholder: '请选择背景颜色',
153
- classNmae: 'input80',
154
- },
155
- {
156
- ele: 'title',
157
- label: '投影设置',
158
- size: 'small', //default/mini/small
159
- },
160
198
  {
161
199
  label: '是否有投影:',
162
200
  ele: 'xd-radio',
@@ -164,26 +202,29 @@ export default {
164
202
  value: data['list_is_shadow'] || 'N',
165
203
  placeholder: '请选择是否投影',
166
204
  multiple: false,
205
+ groupKey:'style',
167
206
  className: 'input80',
168
207
  list: [
169
208
  {label: '是', value: 'Y'},
170
209
  {label: '否', value: 'N'},
171
210
  ]
172
211
  },
173
- data['is_shadow'] === 'Y' && {
212
+ data['list_is_shadow'] === 'Y' && {
174
213
  label: '投影颜色:',
175
214
  ele: 'xd-color',
176
215
  valueKey: 'list_is_shadow_bg',
177
216
  value: data['list_is_shadow_bg'] || '',
178
217
  placeholder: '请选择投影颜色',
179
218
  classNmae: 'input80',
219
+ groupKey:'style',
180
220
  },
181
- data['is_shadow'] === 'Y' && {
221
+ data['list_is_shadow'] === 'Y' && {
182
222
  label: '投影范围:',
183
223
  ele: 'xd-site-select-list',
184
224
  valueKey: 'list_is_shadow_w',
185
225
  value: data['list_is_shadow_w'] || '10',
186
226
  placeholder: '请选择投影范围',
227
+ groupKey:'style',
187
228
  multiple: false,
188
229
  className: 'input80',
189
230
  handleCustom({action, data}) {
@@ -199,11 +240,6 @@ export default {
199
240
  });
200
241
  },
201
242
  },
202
- {
203
- ele: 'title',
204
- label: '边框设置',
205
- size: 'small', //default/mini/small
206
- },
207
243
  {
208
244
  label: '是否有边框:',
209
245
  ele: 'xd-radio',
@@ -211,63 +247,43 @@ export default {
211
247
  value: data['list_is_border'] || 'N',
212
248
  placeholder: '请选择是否有边框',
213
249
  multiple: false,
250
+ groupKey:'style',
214
251
  className: 'input80',
215
252
  list: [
216
253
  {label: '是', value: 'Y'},
217
254
  {label: '否', value: 'N'},
218
255
  ]
219
256
  },
220
- data['is_border'] === 'Y' && {
257
+ data['list_is_border'] === 'Y' && {
221
258
  label: '边框颜色:',
222
259
  ele: 'xd-color',
223
260
  valueKey: 'list_is_border_c',
224
261
  value: data['list_is_border_c'] || '',
225
262
  placeholder: '请选择边框颜色',
263
+ groupKey:'style',
226
264
  classNmae: 'input80',
227
265
  },
228
- data['is_border'] === 'Y' && {
266
+ data['list_is_border'] === 'Y' && {
229
267
  label: '边框大小:',
230
268
  ele: 'el-input',
269
+ groupKey:'style',
231
270
  type: 'number',
232
271
  valueKey: 'list_is_border_w',
233
272
  value: data['list_is_border_w'] || '',
234
273
  placeholder: '请输入边框颜色',
235
274
  className: 'input80',
236
275
  },
276
+
237
277
  {
238
- label: '内容圆角设置:',
239
- ele: 'xd-site-select-list',
240
- valueKey: 'listRadius',
241
- value: data['listRadius'] || '',
242
- placeholder: '请选择内容圆角设置',
243
- multiple: false,
244
- className: 'input80',
245
- handleCustom({action, data}) {
246
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
247
- .then(res => {
248
- data.cb(res.list)
249
- })
250
- .catch(error => {
251
- console.error(error);
252
- });
253
- },
254
- },
255
- {
256
- ele: 'title',
257
- label: '其他',
258
- size: 'small', //default/mini/small
259
- },
260
- {
261
- label: '商品详情路径:', //label
262
- ele: 'xd-select-pages-path', //package 名称
263
- valueKey: 'detailPath', //form[valueKey]
278
+ label: '商品详情路径:',
279
+ ele: 'xd-select-pages-path',
280
+ valueKey: 'detailPath',
264
281
  placeholder: '请选择商品详情路径',
265
282
  value: data['detailPath'] || null,
283
+ groupKey:'advanced',
266
284
  setting: {
267
285
  router: XdBus.getParentApi('getPagesTree'),
268
-
269
286
  },
270
- inline: false,
271
287
  },
272
288
  ].filter(i=>i)
273
289
  },
@@ -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**/