jufubao-mall 2.0.44-beta1 → 2.0.44-beta2

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-mall",
3
- "version": "2.0.44-beta1",
3
+ "version": "2.0.44-beta2",
4
4
  "private": false,
5
5
  "description": "聚福宝商城业务组件插件包",
6
6
  "main": "index.js",
@@ -66,17 +66,9 @@
66
66
  </view>
67
67
  <view class="shop_addr">
68
68
  <view class="addr_foot">
69
- <view id="textRef">{{shopInfo.brand_about}}福司令渠道门店品牌描述内容福司令渠道门店品牌描述内容
70
- 福司令渠道门店品牌描述内容福司令渠道门店品牌描述内容
71
- 福司令渠道门店品牌描述品牌描述描述福司令渠道门店品牌描述品牌描述描述福司令渠道门店品牌描述品牌描述描述
72
-
73
-
69
+ <view id="textRef">{{shopInfo.brand_about}}
74
70
  </view>
75
- <view id="textRefHidden">{{shopInfo.brand_about}}福司令渠道门店品牌描述内容福司令渠道门店品牌描述内容
76
- 福司令渠道门店品牌描述内容福司令渠道门店品牌描述内容
77
- 福司令渠道门店品牌描述品牌描述描述福司令渠道门店品牌描述品牌描述描述福司令渠道门店品牌描述品牌描述描述
78
-
79
-
71
+ <view id="textRefHidden">{{shopInfo.brand_about}}
80
72
  </view>
81
73
  <view v-if="isTextOverflow" class="addr_more" @click="handleShowBrandDetail">品牌详情<xd-font-icon style="margin-left: 4rpx;" size="22" icon="iconxiangyou_xian"></xd-font-icon> </view>
82
74
  </view>
@@ -449,11 +441,11 @@
449
441
  },
450
442
  },
451
443
  created() {
452
- this.init(this.container);
453
444
  this.is_plus_site = this.projectAttr.headers['X-Site-Group']==="vip";
454
445
  this.alphaColor = Color(this.mainColor).alpha(0.1).toString();
455
446
  this.isPreview = this.$configProject.isPreview;
456
447
  console.log(this.isPreview, 'isPreview')
448
+ this.init(this.container);
457
449
  },
458
450
  mounted() {
459
451
  this.$nextTick(()=>{
@@ -552,7 +544,7 @@
552
544
  }else{
553
545
  this.showTake = gCPVal(container, 'showTake', 'Y');
554
546
  }
555
- console.log("this.showTake", this.showTake)
547
+ console.log("this.showTake",this.takeBtnName,this.takeName, this.showTake)
556
548
  this.takeRemark = getContainerPropsValue(container, 'content.takeRemark', '');
557
549
  this.takePath = getContainerPropsValue(container, 'content.takePath', {value: ""}).value;
558
550
  this.showMovie = gCPVal(container, 'showMovie', ['Y',"N"], {isOld: true});
@@ -43,7 +43,7 @@
43
43
  </xd-no-data>
44
44
  </view>
45
45
  <view class="qrcode_choose" @click="handleChooseCard">
46
- <view class="qrcode_choose_name"><xd-font-icon style="margin-right: 4rpx;" size="30" icon="iconpiao"></xd-font-icon>{{card_name}}</view>
46
+ <view class="qrcode_choose_name"><xd-font-icon style="margin-right: 24rpx;" size="32" icon="iconpiao"></xd-font-icon>{{card_name}}</view>
47
47
  <view><xd-font-icon style="margin-left: 4rpx;" size="22" icon="iconxiangyou_xian"></xd-font-icon></view>
48
48
  </view>
49
49
  <xd-down-drawer
@@ -57,7 +57,7 @@
57
57
  <view v-for="(item,index) in cardTypeData" :key="index" :style="[activeIndex===index?activityType:'']" @click="handleChangeType(index)">{{item.label}}</view>
58
58
  </view>
59
59
  <view class="ticket_content">
60
- <view class="ticket_list" :key="renderChecked">
60
+ <view class="ticket_list" :key="renderChecked" v-if="showCardList.length">
61
61
  <view
62
62
  class="ticket_item"
63
63
  v-for="ticket in showCardList"
@@ -113,6 +113,15 @@
113
113
  </view>
114
114
  </view>
115
115
  </view>
116
+ <view v-else>
117
+ <xd-no-data height="600rpx" :scaleSize=2>
118
+ <slot>
119
+ <view class="empty_txt">
120
+ 暂无可用票券
121
+ </view>
122
+ </slot>
123
+ </xd-no-data>
124
+ </view>
116
125
  <view class="bottom_btn" v-if="showCardDialog" :style="{bottom: layoutInfo.bottom+'rpx'}">
117
126
  <xd-button
118
127
  width="670rpx"
@@ -235,16 +244,20 @@
235
244
  }
236
245
  }).then(res => {
237
246
  console.log(res,'res')
247
+ this.showCardList = res.list;
248
+ console.log(this.showCardList,'showCardList')
249
+ this.renderChecked = Date.now();
238
250
  if(!res.list.length){
239
251
  this.card_name = '无可用票券'
240
252
  return;
241
253
  }
242
- this.showCardList = res.list;
243
- this.renderChecked = Date.now();
254
+
244
255
  }).catch(err => {});
245
256
  },
246
257
  handleRefresh(){
247
-
258
+ clearInterval(this.timeer);
259
+ this.detail();
260
+ this.refrush();
248
261
  },
249
262
  handleChooseCard(){
250
263
  this.showCardDialog = true;
@@ -275,6 +288,13 @@
275
288
  this.activeIndex = index;
276
289
  },
277
290
  handleChooseConfirm(){
291
+ this.timeStr = ""
292
+ if (this.timeer) {
293
+ clearTimeout(this.timeer);
294
+ }
295
+ if (this.refrushTimeer) {
296
+ clearTimeout(this.refrushTimeer);
297
+ }
278
298
  this.card_number = this.chooseData[0].card_number;
279
299
  if(this.$configProject.isPreview) {
280
300
  this.timeStr = "01分19秒"
@@ -487,6 +507,7 @@
487
507
  color: #666666;
488
508
  border-top: 1px solid #F8F8F8;
489
509
  &_name{
510
+ font-size: unit(28,rpx);
490
511
  display: flex;
491
512
  justify-content: flex-start;
492
513
  }
@@ -575,4 +596,7 @@
575
596
  }
576
597
  }
577
598
  }
599
+ ::v-deep .xd-up-drawer{
600
+ z-index: 9999!important;
601
+ }
578
602
  </style>
@@ -89,7 +89,7 @@
89
89
  // import componentsMixins from "@/mixins/componentsMixins";
90
90
  import extsMixins from "@/mixins/extsMixins";
91
91
  import {isWechat,isWechatTools} from "@/utils/xd.base";
92
- import { getContainerPropsValue, gCPVal, toProductDetail } from "@/utils/xd.base";
92
+ import { getContainerPropsValue , toProductDetail, gCPVal} from "@/utils/xd.base";
93
93
  import { mapState } from "vuex";
94
94
  export default {
95
95
  name: "JfbCashierEasyPay",
@@ -197,7 +197,7 @@
197
197
  * @description 监听事件变化
198
198
  * @param container {object} 业务组件对象自己
199
199
  */
200
- init(container) {
200
+ async init(container) {
201
201
  this.successPath = getContainerPropsValue(container, 'content.successPath', {value: ""}).value;
202
202
  },
203
203
  handleRefreshCode(){