|
@@ -68,7 +68,7 @@
|
|
|
<div class="validity">Validity</div>
|
|
|
<div class="time">{{ data.detail.validity || '' }}</div>
|
|
|
</div>
|
|
|
- <div class="btn" @click="clickGetGiveways">Get Giveaways</div>
|
|
|
+ <div class="btn" @click="clickGetGiveaways">Get Giveaways</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -397,7 +397,7 @@ function myReceivedState() {
|
|
|
// 大红包不能领取了
|
|
|
if (data.detail.receiveTimeExpired) {
|
|
|
data.status = 'close'
|
|
|
- data.close_title = `This Giveways`
|
|
|
+ data.close_title = `This Giveaways`
|
|
|
data.close_text = `expired on ${moment(data.detail.endTimestamp).format('MM-DD')}`
|
|
|
}
|
|
|
// 任务已经被领完了
|
|
@@ -425,7 +425,7 @@ function init() {
|
|
|
case "0":
|
|
|
data.srcContentId = res.data.srcContentId
|
|
|
// if (data.tweetId != data.srcContentId) {
|
|
|
- // data.error_txt = 'Giveways link Error'
|
|
|
+ // data.error_txt = 'Giveaways link Error'
|
|
|
// data.status = 'error'
|
|
|
// return
|
|
|
// }
|
|
@@ -446,7 +446,7 @@ function init() {
|
|
|
// 大红包不可以领取了
|
|
|
if (data.detail.receiveTimeExpired) {
|
|
|
data.status = 'close'
|
|
|
- data.close_title = `This Giveways`
|
|
|
+ data.close_title = `This Giveaways`
|
|
|
data.close_text = `expired on ${moment(data.detail.endTimestamp).format('MM-DD')}`
|
|
|
}
|
|
|
// 任务已经被领完了
|
|
@@ -463,7 +463,7 @@ function init() {
|
|
|
myReceivedState()
|
|
|
} else {
|
|
|
data.status = 'close'
|
|
|
- data.close_title = `This Giveways`
|
|
|
+ data.close_title = `This Giveaways`
|
|
|
data.close_text = `expired on ${moment(data.detail.endTimestamp).format('MM-DD')}`
|
|
|
}
|
|
|
}
|
|
@@ -559,7 +559,7 @@ function checkIsLogin() {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-async function clickGetGiveways() {
|
|
|
+async function clickGetGiveaways() {
|
|
|
let _userInfo = await checkIsLogin()
|
|
|
if (_userInfo) {
|
|
|
handleFinishRedPacket()
|