jufubao-base 1.0.214 → 1.0.215

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-base",
3
- "version": "1.0.214",
3
+ "version": "1.0.215",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -248,6 +248,18 @@
248
248
  class="jfb-base-order-detail__body-settle-list"
249
249
  >{{ item.label }}:{{ item.value }}</view>
250
250
  </view>
251
+ <!--取票码提示文案-->
252
+ <view
253
+ class="ticket_method_msg"
254
+ v-if="ticket_method_msg"
255
+ :style="{
256
+ border: borderBox,
257
+ borderRadius: radius + 'rpx',
258
+ boxShadow: shadowBox,
259
+ marginBottom: padding + 'rpx',
260
+ }"
261
+ >{{ticket_method_msg}}</view>
262
+ <!--取票码提示文案-->
251
263
  <view v-if="info.codes && info.codes.length > 0">
252
264
  <view
253
265
  :style="{
@@ -843,6 +855,7 @@ export default {
843
855
  brandTextColor:'',
844
856
  is_show_support_shop: "",
845
857
  is_show_delete_order:'N', //删除订单
858
+ ticket_method_msg:'', //取票提示文案
846
859
 
847
860
  showPassword: false,
848
861
  dialogPassword: "",
@@ -1101,6 +1114,19 @@ export default {
1101
1114
  return item;
1102
1115
  });
1103
1116
 
1117
+ //检查是否用取票信息
1118
+ if(res.codes instanceof Array) {
1119
+ let ticket_method_msg = '';
1120
+ if(res.codes.length > 0) {
1121
+ res.codes.map(item=>{
1122
+ if(item['ticket_method_msg'] && ticket_method_msg === ''){
1123
+ ticket_method_msg = item['ticket_method_msg'];
1124
+ }
1125
+ })
1126
+ };
1127
+ this.ticket_method_msg = ticket_method_msg;
1128
+ }
1129
+
1104
1130
  if (res.film_show && Object.keys(res.film_show).length > 0) {
1105
1131
  res.film_show.show_time = this.$xdUniHelper.getDate(
1106
1132
  res.film_show.show_time * 1000
@@ -1892,6 +1918,16 @@ export default {
1892
1918
  }
1893
1919
 
1894
1920
  }
1921
+ .ticket_method_msg {
1922
+ background-color: #FFEAE6;
1923
+ font-size: 24rpx;
1924
+ font-weight: 500;
1925
+ line-height: 32rpx;
1926
+ padding:18rpx 30rpx;
1927
+ border-radius: 10rpx;
1928
+ color: rgba(249, 101, 65, 1);
1929
+ text-align: left;
1930
+ }
1895
1931
  .dialog_password{
1896
1932
  text-align: center;
1897
1933
  font-size: unit(32, rpx);
@@ -22,9 +22,7 @@
22
22
  v-if="noUserLoding === true"
23
23
  class="jfb-base-success__body-nouser"
24
24
  :style="{ margin: jfbListMarginComputed }"
25
- >
26
- 请关闭当前浏览器,返回原界面查看结果
27
- </view>
25
+ >请关闭当前浏览器,返回原界面查看结果</view>
28
26
  <template v-if="noUserLoding === false && info !== null">
29
27
  <view :style="{ margin: jfbListMarginComputed }">
30
28
  <view
@@ -71,6 +69,18 @@
71
69
  </view>
72
70
  </view>
73
71
  <!--settle end-->
72
+ <!--取票码提示文案-->
73
+ <view
74
+ class="ticket_method_msg"
75
+ v-if="ticket_method_msg"
76
+ :style="{
77
+ marginBottom: jfbListSpacing + 'rpx',
78
+ boxShadow: jfbListShadowComputed,
79
+ border: jfbListBorderComputed,
80
+ borderRadius: jfbListRadius + 'rpx',
81
+ }"
82
+ >{{ticket_method_msg}}</view>
83
+ <!--取票码提示文案-->
74
84
  <view class="jfb-base-success__body-other">
75
85
  <view
76
86
  v-if="info.codes && info.codes.length > 0 && is_show_code === 'Y'"
@@ -416,6 +426,7 @@ export default {
416
426
  boxBgColor:'',
417
427
  payBgColor:'',
418
428
  bgColor:'',
429
+ ticket_method_msg:'', //取票提示文案
419
430
 
420
431
  //按钮
421
432
  btnTextColor:'',
@@ -631,6 +642,19 @@ export default {
631
642
  return item;
632
643
  });
633
644
 
645
+ //检查是否用取票信息
646
+ if(info.codes instanceof Array) {
647
+ let ticket_method_msg = '';
648
+ if(info.codes.length > 0) {
649
+ info.codes.map(item=>{
650
+ if(item['ticket_method_msg'] && ticket_method_msg === ''){
651
+ ticket_method_msg = item['ticket_method_msg'];
652
+ }
653
+ })
654
+ };
655
+ this.ticket_method_msg = ticket_method_msg;
656
+ }
657
+
634
658
  //设置预览内容
635
659
  info["productDetail"] = null;
636
660
  if (info.product) {
@@ -751,6 +775,17 @@ export default {
751
775
 
752
776
  .jfb-base-success {
753
777
  &__body {
778
+ .ticket_method_msg {
779
+ background-color: #FFEAE6;
780
+ font-size: 24rpx;
781
+ font-weight: 500;
782
+ line-height: 32rpx;
783
+ padding:18rpx 30rpx;
784
+ border-radius: 10rpx;
785
+ color: rgba(249, 101, 65, 1);
786
+ text-align: left;
787
+ }
788
+
754
789
  &-nouser {
755
790
  padding: 20rpx;
756
791
  //background: #f5f5f5;
@@ -841,7 +876,7 @@ export default {
841
876
  }
842
877
  }
843
878
  &-icon {
844
- height: unit(320, rpx) !important;
879
+ min-height: unit(320, rpx) !important;
845
880
  display: flex;
846
881
  justify-content: center;
847
882
  align-items: center;