jufubao-base 1.0.125 → 1.0.126
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
|
@@ -27,11 +27,9 @@
|
|
|
27
27
|
<view class="jfb-base-card-sweep-info__body-info-value">{{info[item.key]}}</view>
|
|
28
28
|
</view>
|
|
29
29
|
<view class="jfb-base-card-sweep-info__body-residue">
|
|
30
|
-
<view class="jfb-base-card-sweep-info__body-residue-wrap">
|
|
30
|
+
<view class="jfb-base-card-sweep-info__body-residue-wrap" v-if="isShowBalance">
|
|
31
31
|
<view class="jfb-base-card-sweep-info__body-residue-label">
|
|
32
|
-
<view :style="{ color: '#242424', fontSize: '28rpx' }"
|
|
33
|
-
>剩余元宝</view
|
|
34
|
-
>
|
|
32
|
+
<view :style="{ color: '#242424', fontSize: '28rpx' }">剩余元宝</view>
|
|
35
33
|
</view>
|
|
36
34
|
<view class="jfb-base-card-sweep-info__body-residue-value">
|
|
37
35
|
<xd-unit
|
|
@@ -45,15 +43,12 @@
|
|
|
45
43
|
<view
|
|
46
44
|
v-if="info.other_card_point && info.card_point_type !== 1"
|
|
47
45
|
class="jfb-base-card-sweep-info__body-residue-reach"
|
|
48
|
-
|
|
49
|
-
>
|
|
46
|
+
>购买其他物品可抵:{{ info.other_card_point }}</view>
|
|
50
47
|
</view>
|
|
51
48
|
<view
|
|
52
49
|
class="jfb-base-card-sweep-info__body-residue-business"
|
|
53
50
|
v-if="info.card_point_type !== 1"
|
|
54
|
-
>
|
|
55
|
-
所属业务线:{{ info.main_business_code_name }}
|
|
56
|
-
</view>
|
|
51
|
+
>所属业务线:{{ info.main_business_code_name }}</view>
|
|
57
52
|
</view>
|
|
58
53
|
<view :style="{ height: '100rpx' }"></view>
|
|
59
54
|
</view>
|
|
@@ -61,9 +56,7 @@
|
|
|
61
56
|
class="jfb-base-card-sweep-info__body-footer"
|
|
62
57
|
:style="prod_bottom"
|
|
63
58
|
>
|
|
64
|
-
<xd-button type="primary" width="360rpx" @click="handleToLink"
|
|
65
|
-
>立即绑定</xd-button
|
|
66
|
-
>
|
|
59
|
+
<xd-button type="primary" width="360rpx" @click="handleToLink">立即绑定</xd-button>
|
|
67
60
|
</view>
|
|
68
61
|
</view>
|
|
69
62
|
</view>
|
|
@@ -117,6 +110,7 @@ export default {
|
|
|
117
110
|
backUrl: "",
|
|
118
111
|
|
|
119
112
|
inCallbackUrlOrg:'',//是否带有回调地址
|
|
113
|
+
is_show_balance: "N", //是否显示余额
|
|
120
114
|
};
|
|
121
115
|
},
|
|
122
116
|
watch: {
|
|
@@ -130,6 +124,12 @@ export default {
|
|
|
130
124
|
return this.fixedStyle({ height: 0, zIndex: 111 });
|
|
131
125
|
},
|
|
132
126
|
...mapState(["jfbAuthorize"]),
|
|
127
|
+
isShowBalance(){
|
|
128
|
+
if(this.info.is_expired === "Y"){
|
|
129
|
+
return this.is_show_balance === "Y";
|
|
130
|
+
}
|
|
131
|
+
return true;
|
|
132
|
+
}
|
|
133
133
|
},
|
|
134
134
|
created() {
|
|
135
135
|
this.init(this.container);
|
|
@@ -175,6 +175,7 @@ export default {
|
|
|
175
175
|
},
|
|
176
176
|
init() {
|
|
177
177
|
this.backUrl = getContainerPropsValue( this.container, "content.back_url", { value: "" }).value;
|
|
178
|
+
this.is_show_balance = getContainerPropsValue(this.container, 'content.is_show_balance', "N");
|
|
178
179
|
},
|
|
179
180
|
onJfbLoad(options) {
|
|
180
181
|
this.pa = options.pa;
|