jufubao-base 1.0.51 → 1.0.52
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
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<!-- #endif -->
|
|
16
16
|
<view class="jfb-base-card-v3__body">
|
|
17
17
|
<view class="v3_title">选择登入票券</view>
|
|
18
|
-
<view class="card_list">
|
|
18
|
+
<view class="card_list" v-if="cardList.length">
|
|
19
19
|
<xd-card-v2 v-for="(item, index) in cardList"
|
|
20
20
|
:mainColor="mainColor"
|
|
21
21
|
:key="index"
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
@bindLogin="handleBindLogin(item)"
|
|
27
27
|
></xd-card-v2>
|
|
28
28
|
</view>
|
|
29
|
+
<view v-else class="empty_data">暂时没有票券</view>
|
|
29
30
|
<view class="bottom_fix" :style="button_bottom">
|
|
30
31
|
<xd-button type="primary" @click="toBindCard">绑定新票券</xd-button>
|
|
31
32
|
</view>
|
|
@@ -221,6 +222,12 @@
|
|
|
221
222
|
.card_list{
|
|
222
223
|
padding-bottom: 100rpx;
|
|
223
224
|
}
|
|
225
|
+
.empty_data{
|
|
226
|
+
line-height: 250rpx;
|
|
227
|
+
text-align: center;
|
|
228
|
+
font-size: 24rpx;
|
|
229
|
+
color: #999999;
|
|
230
|
+
}
|
|
224
231
|
.bottom_fix{
|
|
225
232
|
position: fixed;
|
|
226
233
|
right: 0;
|
|
@@ -247,7 +247,11 @@ export default {
|
|
|
247
247
|
this.type = options.type;
|
|
248
248
|
this.p_getPayOrderDetail();
|
|
249
249
|
this.p_getListUserPayChannel();
|
|
250
|
-
|
|
250
|
+
|
|
251
|
+
//充值不进行检查订单状态
|
|
252
|
+
if(this.type !== 'recharge') {
|
|
253
|
+
this.p_getBaseOrderDetail();
|
|
254
|
+
}
|
|
251
255
|
},
|
|
252
256
|
/**
|
|
253
257
|
* @description 监听事件变化
|
|
@@ -74,6 +74,7 @@ export default {
|
|
|
74
74
|
card_point: "",
|
|
75
75
|
payPath: "",
|
|
76
76
|
amount: "",
|
|
77
|
+
timer:null
|
|
77
78
|
};
|
|
78
79
|
},
|
|
79
80
|
watch: {
|
|
@@ -81,10 +82,12 @@ export default {
|
|
|
81
82
|
this.init(value);
|
|
82
83
|
},
|
|
83
84
|
card_point(value) {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
if(this.timer) clearTimeout(this.timer);
|
|
86
|
+
this.timer = setTimeout(()=>{
|
|
87
|
+
if (value && value != 0) {
|
|
88
|
+
this.handleGetPrice();
|
|
89
|
+
}
|
|
90
|
+
}, 500)
|
|
88
91
|
},
|
|
89
92
|
},
|
|
90
93
|
created() {
|