|
@@ -23,7 +23,7 @@
|
|
|
<component-zoom width="335" fontSize="34" style="margin:0 auto;">
|
|
|
<span>Your Gain Up to</span>
|
|
|
<span>$</span>
|
|
|
- <span>{{ state.detail.remainAmountValue }}</span>
|
|
|
+ <span>{{ state.detail.upGainAmountValue }}</span>
|
|
|
</component-zoom>
|
|
|
</div>
|
|
|
<div class="coin">
|
|
@@ -42,8 +42,8 @@
|
|
|
<img :src="require('@/assets/svg/icon-three-line.svg')" alt="" />
|
|
|
<span>to Hunt Treasure</span>
|
|
|
</div>
|
|
|
- <v-btn :txt="state.open_btn.txt" :font-size="'17px'" :icon="true" :disabled="state.open_btn.disabled"
|
|
|
- @onClick="clickBtn" :loading="state.btn_loading" v-click-log="state.log_click"></v-btn>
|
|
|
+ <v-btn :txt="state.open_btn.txt" :font-size="'17px'" :icon="true" :disabled="false" @onClick="clickBtn"
|
|
|
+ :loading="state.btn_loading" v-click-log="state.log_click"></v-btn>
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
@@ -89,7 +89,6 @@ chrome.runtime.onMessage.addListener((req, sender, sendResponse) => {
|
|
|
return
|
|
|
}
|
|
|
if (!req.task_done && req.task_type == 'createTweet') {
|
|
|
-
|
|
|
state.toast.txt = 'Seems something went wrong, please try again'
|
|
|
state.toast.show = true
|
|
|
state.toast.has_icon = false
|
|
@@ -107,6 +106,11 @@ chrome.runtime.onMessage.addListener((req, sender, sendResponse) => {
|
|
|
state.page = '开奖页'
|
|
|
state.start_task = res.data
|
|
|
state.btn_loading = false
|
|
|
+ } else {
|
|
|
+ state.init(() => {
|
|
|
+ state.inviteInit()
|
|
|
+ state.inviteList()
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -169,7 +173,10 @@ const startBtn = () => {
|
|
|
});
|
|
|
})
|
|
|
} else {
|
|
|
- console.log(res)
|
|
|
+ state.init(() => {
|
|
|
+ state.inviteInit()
|
|
|
+ state.inviteList()
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
}
|