jufubao-base 1.0.158-beta4 → 1.0.158
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
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
<view>
|
|
54
54
|
<view
|
|
55
55
|
class="jfb-base-card-info__body-info"
|
|
56
|
-
v-for="(item, index) in
|
|
56
|
+
v-for="(item, index) in showValueKey"
|
|
57
57
|
:key="index"
|
|
58
58
|
>
|
|
59
59
|
<view class="jfb-base-card-info__body-info-label">{{item.label}}</view>
|
|
@@ -175,6 +175,12 @@ export default {
|
|
|
175
175
|
return this.is_show_balance === "Y";
|
|
176
176
|
}
|
|
177
177
|
return true;
|
|
178
|
+
},
|
|
179
|
+
showValueKey(){
|
|
180
|
+
if(this.info.is_expired === "Y"){
|
|
181
|
+
return this.valueKey.filter(item => item.key !== "end_time");
|
|
182
|
+
}
|
|
183
|
+
return this.valueKey;
|
|
178
184
|
}
|
|
179
185
|
},
|
|
180
186
|
created() {},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<view>
|
|
21
21
|
<view
|
|
22
22
|
class="jfb-base-card-sweep-info__body-info"
|
|
23
|
-
v-for="(item, index) in
|
|
23
|
+
v-for="(item, index) in showValueKey"
|
|
24
24
|
:key="index"
|
|
25
25
|
>
|
|
26
26
|
<view class="jfb-base-card-sweep-info__body-info-label">{{item.label}}</view>
|
|
@@ -129,6 +129,12 @@ export default {
|
|
|
129
129
|
return this.is_show_balance === "Y";
|
|
130
130
|
}
|
|
131
131
|
return true;
|
|
132
|
+
},
|
|
133
|
+
showValueKey(){
|
|
134
|
+
if(this.info.is_expired === "Y"){
|
|
135
|
+
return this.valueKey.filter(item => item.key !== "end_time");
|
|
136
|
+
}
|
|
137
|
+
return this.valueKey;
|
|
132
138
|
}
|
|
133
139
|
},
|
|
134
140
|
created() {
|