jufubao-base 1.0.218-beta9 → 1.0.219

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.218-beta9",
3
+ "version": "1.0.219",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -87,7 +87,7 @@
87
87
  ></xd-unit>
88
88
  </view>
89
89
  <view
90
- v-if="info.other_card_point && info.card_point_type !== 1"
90
+ v-if="info.is_bind_show_other_point === 'Y' && info.other_card_point && info.card_point_type !== 1"
91
91
  class="jfb-base-card-info__body-residue-reach"
92
92
  >购买其他物品可抵:{{ info.other_card_point }}</view>
93
93
  </view>
@@ -88,7 +88,7 @@
88
88
  <text>余额:</text>
89
89
  <text>{{info.card_point}} {{ info.unit }}</text>
90
90
  </view>
91
- <view class="card-list__other" v-if="info.other_card_point && info.card_point_type === 2">
91
+ <view class="card-list__other" v-if="info.is_bind_show_other_point === 'Y' && info.other_card_point && info.card_point_type === 2">
92
92
  <view><text>购买其他物品可抵:</text><text>{{info.other_card_point}} {{ info.unit }}</text></view>
93
93
  </view>
94
94
  </view>
@@ -97,9 +97,12 @@
97
97
  </view>
98
98
  <!-- #endif -->
99
99
  <!-- #ifdef MP-WEIXIN -->
100
- <view v-if="showQuickEntry==='Y'" @click="handleQuickEntry" :style="{backgroundColor:quickBackgroundColor}" class="quick">
100
+ <view v-if="showQuickEntry==='Y'&&quickEntryType!=='service'" @click="handleQuickEntry" :style="{backgroundColor:quickBackgroundColor}" class="quick">
101
101
  <xd-font-icon size="32" :style="{color:quickTextColor||mainColor}" :icon="quickIcon"></xd-font-icon>
102
102
  </view>
103
+ <button v-if="showQuickEntry==='Y'&&quickEntryType==='service'" :style="{backgroundColor:quickBackgroundColor}" class="quick-button" open-type="contact">
104
+ <xd-font-icon size="32" :style="{color:quickTextColor||mainColor}" :icon="quickIcon"></xd-font-icon>
105
+ </button>
103
106
  <!-- #endif -->
104
107
  </view>
105
108
  </view>
@@ -316,22 +319,9 @@
316
319
  },
317
320
 
318
321
  handleQuickEntry() {
319
- // #ifdef H5
320
- this.$xdUniHelper.navigateTo({
321
- url: this.quickEntryPath
322
- })
323
- // #endif
324
- // #ifdef MP-WEIXIN
325
- if(this.quickEntryType!=='service') {
326
322
  this.$xdUniHelper.navigateTo({
327
323
  url: this.quickEntryPath
328
324
  })
329
- } else {
330
- var button = document.createElement("button");
331
- button.setAttribute("open-type", "contact");
332
- button.onclick();
333
- }
334
- // #endif
335
325
  },
336
326
 
337
327
  onJfbBack(options) {
@@ -376,6 +366,18 @@
376
366
  border-radius: 36rpx;
377
367
  margin-left: 16rpx;
378
368
  }
369
+ .quick-button {
370
+ display: flex;
371
+ align-items: center;
372
+ justify-content: center;
373
+ padding: 12rpx 24rpx;
374
+ border-radius: 36rpx;
375
+ margin-left: 16rpx;
376
+ line-height: inherit;
377
+ }
378
+ .quick-button::after{
379
+ border: none !important;
380
+ }
379
381
 
380
382
  &-back {
381
383
  padding-left: unit(20, rpx);