jufubao-movie 1.0.57 → 1.0.59

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.57",
3
+ "version": "1.0.59",
4
4
  "private": false,
5
5
  "description": "聚福宝在线选座业务组件插件包",
6
6
  "main": "index.js",
@@ -16,6 +16,17 @@ export default {
16
16
  {label: '否', value: 'N'},
17
17
  ]
18
18
  },
19
+ {
20
+ label: "支付时是否跳过补差提示:",
21
+ ele: 'xd-radio',
22
+ valueKey: "skipTip",
23
+ value: data['skipTip'] || 'N',
24
+ groupKey:'content',
25
+ list: [
26
+ {label: '是', value: 'Y'},
27
+ {label: '否', value: 'N'},
28
+ ],
29
+ },
19
30
  {
20
31
  label: '去支付路径:',
21
32
  ele: 'xd-select-pages-path',
@@ -791,7 +791,9 @@
791
791
  }else{
792
792
  //支持补差, 提示是否使用补差
793
793
  if(this.payThird){
794
- await this.handleConfirmAllWxPay();
794
+ if(this.skipTip === 'N'){
795
+ await this.handleConfirmAllWxPay();
796
+ }
795
797
  }else{
796
798
  //不支持补差,仅提示
797
799
  return this.$xdAlert({content: "请选择兑换方式"})
@@ -944,6 +946,7 @@
944
946
  init(container) {
945
947
  this.bgColor = this.$colorChange(this.mainColor).alpha(0.1).toString();
946
948
  this.skipToPay = getContainerPropsValue(container, 'content.skipToPay', 'N');
949
+ this.skipTip = getContainerPropsValue(container, "content.skipTip", "N");
947
950
  this.payPath = getContainerPropsValue(container, 'content.payPath', {value: ''}).value;
948
951
  this.paySuccessPath = getContainerPropsValue(container, 'content.paySuccessPath', {value: "/pages/order/success"}).value;
949
952
  this.bindCard = getContainerPropsValue(container,"content.bindCard","1");
@@ -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
- let str = `${this.checkValue(this.titleMargin.top, 20)}rpx`;
291
- str = `${str} ${this.checkValue(this.titleMargin.right, 20)}rpx`;
292
- str = `${str} ${this.checkValue(this.titleMargin.bottom, 20)}rpx`;
293
- str = `${str} ${this.checkValue(this.titleMargin.left, 20)}rpx`;
294
- return str
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
- let str = `${this.checkValue(this.contMargin.top, 20)}rpx`;
299
- str = `${str} ${this.checkValue(this.contMargin.right, 20)}rpx`;
300
- str = `${str} ${this.checkValue(this.contMargin.bottom, 20)}rpx`;
301
- str = `${str} ${this.checkValue(this.contMargin.left, 20)}rpx`;
302
- return str
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;