jufubao-movie 1.0.31 → 1.0.32-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-movie",
3
- "version": "1.0.31",
3
+ "version": "1.0.32-beta1",
4
4
  "private": false,
5
5
  "description": "聚福宝在线选座业务组件插件包",
6
6
  "main": "index.js",
@@ -90,14 +90,18 @@
90
90
  </view>
91
91
  </view>
92
92
  <view class="jfb-movie-confirm__body-movie-total-right">
93
- 共{{order_info.seat_number}}张:
94
- <xd-unit
95
- :color="mainColor"
96
- :isOld="false"
97
- :iocnSize="0.32"
98
- :fontSize="24"
99
- :price="order_info.total_price"
100
- ></xd-unit>
93
+ 共{{order_info.seat_number}}
94
+ <template v-if="is_not_show_price !== 'Y'">
95
+ :
96
+ <xd-unit
97
+ :color="mainColor"
98
+ :isOld="false"
99
+ :iocnSize="0.32"
100
+ :fontSize="24"
101
+ :price="order_info.total_price"
102
+ ></xd-unit>
103
+ </template>
104
+
101
105
  </view>
102
106
  </view>
103
107
  </view>
@@ -142,7 +146,7 @@
142
146
  </view>
143
147
  <view class="jfb-movie-confirm__body-btn-height" :style="bottomFixedStylePlaceholder"></view>
144
148
  <view class="jfb-movie-confirm__body-btn" :style="bottomFixedStyle">
145
- <view style="display: flex;align-items:center;">
149
+ <view v-if="is_not_show_price !== 'Y'" style="display: flex;align-items:center;">
146
150
  <view style="margin-right: 8rpx;">应付:</view>
147
151
  <xd-unit
148
152
  :price="orderNeedPayPrice"
@@ -151,6 +155,7 @@
151
155
  :iocn-size=".45"
152
156
  ></xd-unit>
153
157
  </view>
158
+ <view v-else></view>
154
159
  <view>
155
160
  <xd-button
156
161
  :disabled="payBtnDisabled"
@@ -168,6 +173,7 @@
168
173
  :show.sync="showCardPay"
169
174
  :payThird="!!payThird"
170
175
  :bindCard="bindCard"
176
+ :is_not_show_price="is_not_show_price"
171
177
  :payChannels="payChannels"
172
178
  :jwxSDK="jwxSDK"
173
179
  :validImageAPIUrl="validImageAPIUrl"
@@ -186,6 +192,7 @@
186
192
  :layoutInfo="layoutInfo"
187
193
  :show.sync="showCardPayChose"
188
194
  :bindCard="bindCard"
195
+ :is_not_show_price="is_not_show_price"
189
196
  :hadChoseCard="choseCard && choseCard.selectedCardList"
190
197
  :jwxSDK="jwxSDK"
191
198
  :selected_wallet_list="choseWallet ? choseWallet.selectedWalletList : []"
@@ -281,6 +288,7 @@
281
288
  choseWallet: null,
282
289
 
283
290
  xnamespace: "",
291
+ is_not_show_price: "",
284
292
 
285
293
  //提示
286
294
  notice: '',
@@ -388,6 +396,7 @@
388
396
  .then(res => {
389
397
  console.log(res, '8888888')
390
398
  this.$xdHideLoading()
399
+ this.is_not_show_price = res.is_not_show_price;
391
400
  this.is_first_use_card = res.is_first_use_card;
392
401
  this.is_use_jfb_pay = res.is_use_jfb_pay;
393
402
  this.res_total_price = res.total_price;
@@ -43,6 +43,7 @@
43
43
  :cinema-id="cinemaId"
44
44
  :seat-id="scheduleId"
45
45
  :layout-info='layoutInfo'
46
+ :is_not_show_price="is_not_show_price"
46
47
  @onGetFilm="handleGetFilm"
47
48
  @onGetSeatList="handleGetSeatList"
48
49
  @onBuy="handleBuy"></xd-online-seat>
@@ -78,6 +79,7 @@
78
79
  seatTime: 0,
79
80
  isPop: false,
80
81
  paiQiData: [],
82
+ is_not_show_price: "",
81
83
 
82
84
  //面板
83
85
  payPath: "", //三方支付路径
@@ -163,6 +165,7 @@
163
165
  ]).then(([res, res1]) => {
164
166
  this.loadingList = false;
165
167
  this.$xdHideLoading();
168
+ this.is_not_show_price = res.is_not_show_price;
166
169
  let paiqi_data = res.schedule_data.map(item => {
167
170
  item['name'] = item['date_name'];
168
171
  item['paiqi_data'] = item['paiqi'].map(pp => {
@@ -112,7 +112,7 @@
112
112
  ><text>({{ itemc["show_version"] }})</text></view
113
113
  >
114
114
  <view>{{ itemc["hall_name"] }}</view>
115
- <view>
115
+ <view v-if="is_not_show_price !== 'Y'">
116
116
  <xd-unit
117
117
  font-weight="normal"
118
118
  :price="itemc['price']"
@@ -152,7 +152,7 @@
152
152
  <xd-button @click="handleBuy" type="primary" radius="10rpx">
153
153
  <view class="xd-seat__footer-buy-box">
154
154
  <xd-unit
155
- v-if="getPrice > 0"
155
+ v-if="getPrice > 0 && is_not_show_price !== 'Y'"
156
156
  :price="getPrice"
157
157
  :font-size="36"
158
158
  :iocn-size="0.45"
@@ -244,6 +244,10 @@ export default {
244
244
  type: Number | String,
245
245
  required: true,
246
246
  },
247
+ is_not_show_price: {
248
+ type: String,
249
+ default: ""
250
+ },
247
251
 
248
252
  layoutInfo: {
249
253
  type: Object,
@@ -142,7 +142,7 @@
142
142
  <view class="_main">{{item.show_version}}</view>
143
143
  <view class="_sub">{{item.hall_name}}</view>
144
144
  </view>
145
- <view class="flex-sub">
145
+ <view v-if="is_not_show_price !== 'Y'" class="flex-sub">
146
146
  <view class="_main" style="color: red;">
147
147
  <xd-unit class="xd-unit"
148
148
  :price="item.sale_price"
@@ -217,6 +217,7 @@
217
217
  timer: null,
218
218
  cinema_id: "",
219
219
  renderSwiper: "renderSwiper",
220
+ is_not_show_price: "",
220
221
 
221
222
  //面板值
222
223
  seatChoosePath: "",
@@ -327,6 +328,7 @@
327
328
  }).then(res => {
328
329
  this.loadingList = false;
329
330
  this.$xdHideLoading();
331
+ this.is_not_show_price = res.is_not_show_price;
330
332
  this.scheduleTabList = res.schedule_data.filter(item => item.date_name).map((item, index) => {
331
333
  let date_name = item.date_name;
332
334
  let week = date_name.match(/星期./)[0];