jufubao-base 1.0.165-beta1 → 1.0.165-beta4

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.165-beta1",
3
+ "version": "1.0.165-beta4",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -69,11 +69,23 @@
69
69
  :color="item.iconColor"
70
70
  :icon="item.icon"
71
71
  ></xd-font-icon>
72
- <view class="btn">
72
+ <view class="btn" v-if="item.can_take_num!=='Y'">
73
73
  <xd-button
74
+ v-if="item.remain_card_count == 0"
75
+ size="small"
76
+ type="primary"
77
+ :disabled="true"
78
+ :style="{
79
+ backgroundImage: item.btnImage,
80
+ backgroundSize: '100% 100%',
81
+ }"
82
+ @click="getCoupont(item)"
83
+ >{{ item.btn_txt }}</xd-button
84
+ >
85
+ <xd-button
86
+ v-else
74
87
  size="small"
75
88
  type="primary"
76
- :disabled="item.remain_card_count == 0"
77
89
  :style="{
78
90
  backgroundImage: item.btnImage,
79
91
  backgroundSize: '100% 100%',