|
@@ -67,9 +67,9 @@
|
|
|
<view class="boxContent">
|
|
|
<view class="boxLeft">
|
|
|
<view class="row1">
|
|
|
- <view class="text">连击 × {{ combos }}</view>
|
|
|
+ <view class="text">连击 × {{ combos || 0 }}</view>
|
|
|
<view class="text">
|
|
|
- {{ combos }}
|
|
|
+ {{ combos || 0 }}
|
|
|
<span class="text1">/300</span>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -249,7 +249,6 @@ export default {
|
|
|
this.raffleId = query.id
|
|
|
this.init()
|
|
|
}
|
|
|
- this.paymentSuccess()
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -299,14 +298,15 @@ export default {
|
|
|
// 获取卡包详情
|
|
|
this.getDetail()
|
|
|
this.tabClick(1)
|
|
|
- this.getCombos()
|
|
|
- //ssssss
|
|
|
+ // 判断是否登录
|
|
|
+ let hasLogin = getApp().globalData.hasLogin
|
|
|
+ if (hasLogin) {
|
|
|
+ this.getCombos()
|
|
|
+ }
|
|
|
},
|
|
|
// 支付成功后回调
|
|
|
paymentSuccess() {
|
|
|
- let _this = this
|
|
|
- this.getCombos()
|
|
|
- this.tabClick(1)
|
|
|
+ this.init()
|
|
|
},
|
|
|
clickDrawCard() {
|
|
|
this.$refs.paymentPopup.show(this.raffleId, this.selectIndex, this.detail)
|