jufubao-movie 1.0.57 → 1.0.58
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
|
@@ -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;
|