jufubao-movie 1.0.54-beta1 → 1.0.54

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-movie",
3
- "version": "1.0.54-beta1",
3
+ "version": "1.0.54",
4
4
  "private": false,
5
5
  "description": "聚福宝在线选座业务组件插件包",
6
6
  "main": "index.js",
@@ -26,25 +26,6 @@ export default {
26
26
  });
27
27
  },
28
28
  },
29
- {
30
- label: "是否显示到店使用:",
31
- ele: "xd-radio",
32
- valueKey: "is_show_sell",
33
- value: data['is_show_sell'] || 'N',
34
- groupKey: 'content',
35
- list: [
36
- { label: '显示', value: "Y" },
37
- { label: '不显示', value: "N" },
38
- ]
39
- },
40
- {
41
- label: "到店使用名称自定义:",
42
- ele: "el-input",
43
- valueKey: "sellName",
44
- value: data['sellName'] || '',
45
- groupKey: 'content',
46
- placeholder: "不填写时默认 到店使用",
47
- },
48
29
  {
49
30
  label: '选择排期路径:',
50
31
  ele: 'xd-select-pages-path',
@@ -82,19 +63,6 @@ export default {
82
63
  },
83
64
  inline: false,
84
65
  },
85
- {
86
- label: '到店使用路径:',
87
- ele: 'xd-select-pages-path',
88
- valueKey: 'sellPath',
89
- placeholder: '请选择到店使用路径',
90
- value: data.sellPath || null,
91
- className: 'input80',
92
- groupKey:'advanced',
93
- setting: {
94
- router: XdBus.getParentApi('getPagesTree'),
95
- },
96
- inline: false,
97
- },
98
66
  ].filter(i=>i)
99
67
  },
100
68
  advanced: [],
@@ -119,11 +119,6 @@
119
119
  >
120
120
  <!-- seat_index code_index -->
121
121
  <view style="display: flex;">
122
- <view
123
- v-if="is_show_sell === 'Y' && item.sell_index > -1"
124
- :style="{background: mainColor}"
125
- class="cinema_item-btn"
126
- @click.stop="toSellPath(item)">{{ sellName }}</view>
127
122
  <view
128
123
  v-if="item.code_index > -1"
129
124
  :style="{background: mainColor}"
@@ -184,9 +179,6 @@ export default {
184
179
  loadingList: true,
185
180
 
186
181
  //面板
187
- is_show_sell: "",
188
- sellName: "",
189
- sellPath: "",
190
182
  scheduleChoosePath: "",
191
183
  codeChoosePath: "",
192
184
  choseCityPath: "",
@@ -259,10 +251,7 @@ export default {
259
251
  "content.choseCityPath",
260
252
  { value: "" }
261
253
  ).value;
262
- this.sellPath = getContainerPropsValue(container, "content.sellPath", {value: ""}).value;
263
254
  this.sort_consume_mode = getContainerPropsValue(container, 'content.sort_consume_mode', '');
264
- this.is_show_sell = getContainerPropsValue(container, 'content.is_show_sell', '');
265
- this.sellName = getContainerPropsValue(container, 'content.sell_name', '到店使用');
266
255
  },
267
256
  toChooseSchedule(item) {
268
257
  if(item.seat_index > -1) this.toSchedulePath(item);
@@ -273,15 +262,6 @@ export default {
273
262
  url: this.codeChoosePath + `?cinema_id=${item.cinema_id}`,
274
263
  });
275
264
  },
276
- toSellPath(item){
277
- let params = {
278
- 'x-params': Base64.encodeURI(`shop_id:${item.cinema_id}`),
279
- }
280
- let options = this.$xdUniHelper.jsonToParams(params);
281
- this.$xdUniHelper.navigateTo({
282
- url: this.sellPath + `?${options}`,
283
- });
284
- },
285
265
  toSchedulePath(item){
286
266
  this.$xdUniHelper.navigateTo({
287
267
  url: this.scheduleChoosePath + `?cinema_id=${item.cinema_id}`,
@@ -311,7 +291,6 @@ export default {
311
291
  let sell_index = item.cinema_type.findIndex(ii => ii == 'SELL'); //线下核销
312
292
  let seat_index = item.cinema_type.findIndex(ii => ii == 'SEAT'); //在线选座
313
293
  let code_index = item.cinema_type.findIndex(ii => ii == 'CODE'); //电子码
314
- item['sell_index'] = sell_index;
315
294
  item['code_index'] = code_index;
316
295
  item['seat_index'] = seat_index;
317
296
  return item;
@@ -14,7 +14,7 @@ module.exports = {
14
14
  about: "",
15
15
  shop_icon: "",
16
16
  distance: "27.1km",
17
- cinema_type: ["SEAT", 'CODE', 'SELL'],
17
+ cinema_type: ["SEAT"],
18
18
  cinema_type_name: ["在线选座"],
19
19
  status: "Y",
20
20
  is_open: "Y",
@@ -350,6 +350,7 @@
350
350
  },
351
351
  handleChange(e){
352
352
  this.curFilmIndex = e.detail.current;
353
+ this.p_getCinemaSchedule();
353
354
  },
354
355
  p_getCinemaSchedule(){
355
356
  console.log(this.$configProject.isPreview, '1111')