jufubao-base 1.0.177-beta1 → 1.0.177-beta3

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.177-beta1",
3
+ "version": "1.0.177-beta3",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -67,7 +67,7 @@
67
67
  </view>
68
68
  <view>
69
69
  <view>{{ item.card_number }}</view>
70
- <view>有效期至:--</view>
70
+ <view>有效期至:{{item['is_show_baseinfo'] === 'Y'? item['end_time'] :'--'}}</view>
71
71
  </view>
72
72
  </view>
73
73
  <view class="jfb-base-card-disabled__body-card-item-right-bottom">
@@ -75,7 +75,7 @@
75
75
  <view
76
76
  style="color: #b8b7be"
77
77
  class="jfb-base-card-disabled__body-card-item-right-bottom-info-residue"
78
- >剩余{{ item.unit }}数:--{{ item.unit }}</view>
78
+ >剩余{{ item.unit }}数:{{item['is_show_baseinfo'] === 'Y'? `${item['card_point']} ${item.unit}`:'--'}}</view>
79
79
  </view>
80
80
  <view
81
81
  @click.stop="handleUnBindCard(item)"
@@ -10,9 +10,7 @@
10
10
  :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-base-card-disabled-entry__edit-icon" @click="delEdit"
14
- >删除</view
15
- >
13
+ <view class="jfb-base-card-disabled-entry__edit-icon" @click="delEdit">删除</view>
16
14
  </view>
17
15
  <!-- #endif -->
18
16
  <view class="jfb-base-card-disabled-entry__body">
@@ -46,16 +44,19 @@
46
44
  </div>
47
45
  <view class="card-list__date">
48
46
  <text>有效期:</text>
49
- <text>--</text>
47
+ <text>{{item['is_show_baseinfo'] === 'Y'? item['end_time'] :'--'}}</text>
50
48
  </view>
51
49
  <view class="card-list__yue">
52
50
  <text>余额:</text>
53
- <text>--</text>
51
+ <text>{{item['is_show_baseinfo'] === 'Y'? `${item['card_point']} ${item.unit}`:'--'}}</text>
54
52
  </view>
55
- <view class="card-list__other" v-if="item.other_card_point && item.card_point_type === 2 ">
53
+ <view
54
+ class="card-list__other"
55
+ v-if="item.other_card_point && item.card_point_type === 2 "
56
+ >
56
57
  <view>
57
58
  <text>购买其他物品可抵:</text>
58
- <text>--</text>
59
+ <text>{{item['is_show_baseinfo'] === 'Y' ? item['other_card_point'] :'--'}}</text>
59
60
  </view>
60
61
  </view>
61
62
  <template>
@@ -200,7 +201,6 @@ export default {
200
201
  this.$xdShowLoading({});
201
202
  jfbRootExec("getDisableCardListEntry", {vm: this, data: {is_all: "Y", is_show_entry_settings: 'Y'},})
202
203
  .then((res) => {
203
- //this.isShowUnbind = (res["is_can_unbind"] === 'Y' || res["is_can_unbind"] === undefined);
204
204
  res.list = res.list.map((item) => {
205
205
  return {
206
206
  ...item,
@@ -13,7 +13,7 @@ export default {
13
13
  valueKey: 'get_url',
14
14
  groupKey:'advanced',
15
15
  placeholder: '请选择领取地址',
16
- value: null,
16
+ value: data['get_url']||null,
17
17
  setting: {
18
18
  router: XdBus.getParentApi('getPagesTree'),
19
19
  },
@@ -13,7 +13,7 @@ export default {
13
13
  valueKey: 'use_url',
14
14
  groupKey: 'advanced',
15
15
  placeholder: '请选择使用地址',
16
- value: null,
16
+ value: data['use_url'] || null,
17
17
  setting: {
18
18
  router: XdBus.getParentApi('getPagesTree'),
19
19
  },
@@ -59,7 +59,7 @@ export default {
59
59
  valueKey: 'receive_get_url',
60
60
  groupKey:'advanced',
61
61
  placeholder: '请选择领取跳转地址',
62
- value: null,
62
+ value: data['receive_get_url']||null,
63
63
  setting: {
64
64
  router: XdBus.getParentApi('getPagesTree'),
65
65
  },