jufubao-movie 1.0.57-beta2 → 1.0.57-beta4
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 +1 -1
- package/src/components/JfbMovieConfirm/JfbMovieConfirm.vue +8 -3
- package/src/components/JfbMovieLineSchedule/JfbMovieLineSchedule.vue +1 -1
- package/src/components/JfbMovieTfkFilmRecommend/Attr.js +34 -0
- package/src/components/JfbMovieTfkFilmRecommend/JfbMovieTfkFilmRecommend.vue +15 -11
package/package.json
CHANGED
|
@@ -162,11 +162,12 @@
|
|
|
162
162
|
<view v-if="otherPayMethod.length" class="jfb-movie-confirm__body-card">
|
|
163
163
|
<template v-for="item in otherPayMethod">
|
|
164
164
|
<xd-list-item v-if="item.method === 'card'" :key="item.method" :label="item.show_name" paddingLR="0" size="small" :showRight="!(choseCoupon && choseCoupon.cardPayPrice)" @click="toChoseCard">
|
|
165
|
+
<view slot="label">{{item.show_name}} <text v-if="choseCard && choseCard.cardPayPrice" style="color:red;margin-left: 4px;">(已选{{ choseCard.selectedCardList.length }}张)</text></view>
|
|
165
166
|
<view v-if="(choseCoupon && choseCoupon.cardPayPrice)">
|
|
166
167
|
<view style="color:#CCCCCC;font-size: 20rpx">已使用其他票券,不可用</view>
|
|
167
168
|
</view>
|
|
168
169
|
<view v-else>
|
|
169
|
-
<view v-if="choseCard && choseCard.cardPayPrice" slot="label">{{item.show_name}} <text style="color:red;margin-left: 4px;">(已选{{ choseCard.selectedCardList.length }}张)</text></view>
|
|
170
|
+
<!-- <view v-if="choseCard && choseCard.cardPayPrice" slot="label">{{item.show_name}} <text style="color:red;margin-left: 4px;">(已选{{ choseCard.selectedCardList.length }}张)</text></view> -->
|
|
170
171
|
<template v-if="choseCard && choseCard.cardPayPrice">
|
|
171
172
|
<xd-unit v-if="choseCard.unit == '次'" :price="choseCard.cardPayPoint" :isOld="false" :fontSize="24" :iconSize="0.3" :unit="choseCard.unit"></xd-unit>
|
|
172
173
|
<xd-unit v-else :price="choseCard.cardPayPrice" :isOld="false" :fontSize="24" :iconSize="0.3" :unit="choseCard.unit || ''"></xd-unit>
|
|
@@ -589,8 +590,12 @@
|
|
|
589
590
|
},
|
|
590
591
|
//确认订单价格改变,清空选择
|
|
591
592
|
clearCheckedWhenPriceChange(){
|
|
592
|
-
this.$refs['xdCardPayChose']
|
|
593
|
-
|
|
593
|
+
if(this.$refs['xdCardPayChose']){
|
|
594
|
+
this.$refs['xdCardPayChose'].clearChecked();
|
|
595
|
+
}
|
|
596
|
+
if(this.$refs['xdWalletChose']){
|
|
597
|
+
this.$refs['xdWalletChose'].clearChecked();
|
|
598
|
+
}
|
|
594
599
|
},
|
|
595
600
|
handleChoseVipCard(vip_card_id){
|
|
596
601
|
this.vip_card_id = vip_card_id;
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
:isShowIcon="false"
|
|
169
169
|
:font-size="24"/> -->
|
|
170
170
|
<!-- {{item.sale_price}} -->
|
|
171
|
-
<CusPrice :
|
|
171
|
+
<CusPrice :isPlus="is_plus_site" :showPrice="item.show_prices" range="起" type="schedule"></CusPrice>
|
|
172
172
|
</view>
|
|
173
173
|
<!-- <view class="_sub"> <xd-coins class="xd-coins" :size="0.2"></xd-coins> 起</view> -->
|
|
174
174
|
</view>
|
|
@@ -449,6 +449,40 @@ export default {
|
|
|
449
449
|
inline: false,
|
|
450
450
|
notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
|
|
451
451
|
},
|
|
452
|
+
{
|
|
453
|
+
label: "影片标题样式:",
|
|
454
|
+
ele: "xd-font",
|
|
455
|
+
valueKey: "contTitle",
|
|
456
|
+
value: data['contTitle'] || {},
|
|
457
|
+
groupKey:'style',
|
|
458
|
+
setting: {
|
|
459
|
+
color:true,
|
|
460
|
+
decoration: true,
|
|
461
|
+
weight: true,
|
|
462
|
+
fontSize: false,
|
|
463
|
+
icon: false,
|
|
464
|
+
style:false,
|
|
465
|
+
align:false,
|
|
466
|
+
lineHeight: false, //行高
|
|
467
|
+
isEmpty: true,
|
|
468
|
+
default:{
|
|
469
|
+
color:'#333',
|
|
470
|
+
decoration:'none',
|
|
471
|
+
weight:'bold'
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
handleCustom({action, data}) {
|
|
475
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
|
|
476
|
+
.then(res => {
|
|
477
|
+
data.cb(res.list)
|
|
478
|
+
})
|
|
479
|
+
.catch(error => {
|
|
480
|
+
data.cb([])
|
|
481
|
+
console.error(error);
|
|
482
|
+
});
|
|
483
|
+
},
|
|
484
|
+
|
|
485
|
+
},
|
|
452
486
|
{
|
|
453
487
|
label: '是否有投影:',
|
|
454
488
|
ele: 'xd-radio',
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
<view class="tfk-scroll-item-image" :style="{borderRadius:contItemRradius + 'rpx'}">
|
|
115
115
|
<image :src="item.poster" :alt="item.show_name" mode="scaleToFill" @error="handleError(item)"></image>
|
|
116
116
|
</view>
|
|
117
|
-
<view class="tfk-scroll-item-title">{{item.show_name}}</view>
|
|
117
|
+
<view class="tfk-scroll-item-title" :style="[contTitle]">{{item.show_name}}</view>
|
|
118
118
|
<view class="tfk-scroll-item-btn">
|
|
119
119
|
<template v-if="type === 'hot'">
|
|
120
120
|
<xd-button
|
|
@@ -247,6 +247,7 @@
|
|
|
247
247
|
isContShadow:'N',
|
|
248
248
|
isContShadowColor:'#eee',
|
|
249
249
|
isContShadowWidth:'0',
|
|
250
|
+
contTitle:{},
|
|
250
251
|
|
|
251
252
|
buyPath:'',
|
|
252
253
|
fimeDetailPath:'',
|
|
@@ -287,19 +288,21 @@
|
|
|
287
288
|
|
|
288
289
|
|
|
289
290
|
titleMarginComp(){
|
|
290
|
-
|
|
291
|
-
str = `${
|
|
292
|
-
str = `${str} ${this.checkValue(this.titleMargin.
|
|
293
|
-
str = `${str} ${this.checkValue(this.titleMargin.
|
|
294
|
-
|
|
291
|
+
return this.getMarginAndPadding(this.titleMargin, 20)
|
|
292
|
+
// let str = `${this.checkValue(this.titleMargin.top, 20)}rpx`;
|
|
293
|
+
// str = `${str} ${this.checkValue(this.titleMargin.right, 20)}rpx`;
|
|
294
|
+
// str = `${str} ${this.checkValue(this.titleMargin.bottom, 20)}rpx`;
|
|
295
|
+
// str = `${str} ${this.checkValue(this.titleMargin.left, 20)}rpx`;
|
|
296
|
+
// return str
|
|
295
297
|
},
|
|
296
298
|
|
|
297
299
|
contPaddingComp(){
|
|
298
|
-
|
|
299
|
-
str = `${
|
|
300
|
-
str = `${str} ${this.checkValue(this.contMargin.
|
|
301
|
-
str = `${str} ${this.checkValue(this.contMargin.
|
|
302
|
-
|
|
300
|
+
return this.getMarginAndPadding(this.contMargin, 20)
|
|
301
|
+
// let str = `${this.checkValue(this.contMargin.top, 20)}rpx`;
|
|
302
|
+
// str = `${str} ${this.checkValue(this.contMargin.right, 20)}rpx`;
|
|
303
|
+
// str = `${str} ${this.checkValue(this.contMargin.bottom, 20)}rpx`;
|
|
304
|
+
// str = `${str} ${this.checkValue(this.contMargin.left, 20)}rpx`;
|
|
305
|
+
// return str
|
|
303
306
|
}
|
|
304
307
|
},
|
|
305
308
|
watch: {
|
|
@@ -448,6 +451,7 @@
|
|
|
448
451
|
this.isContShadow = getContainerPropsValue(container, 'content.isContShadow', 'N');
|
|
449
452
|
this.isContShadowWidth = getContainerPropsValue(container, 'content.isContShadowWidth', '10');
|
|
450
453
|
this.isContShadowColor = getContainerPropsValue(container, 'content.isContShadowColor', '#eee');
|
|
454
|
+
this.contTitle = getContainerPropsValue(container,'content.contTitle',{color:'#333',fontWeight:'bold',textDecoration:'none'});
|
|
451
455
|
|
|
452
456
|
//链接
|
|
453
457
|
this.buyPath = getContainerPropsValue(container, 'content.buyPath', {value: ""}).value;
|