调整试用用户弹窗文案
This commit is contained in:
@@ -397,10 +397,12 @@ export default defineComponent({
|
||||
let hours = Math.floor((diffInMilliseconds % (24 * 60 * 60 * 1000)) / (60 * 60 * 1000)); // 计算小时数
|
||||
let minutes = Math.floor((diffInMilliseconds % (60 * 60 * 1000)) / (60 * 1000)); // 计算分钟数
|
||||
if(days < 30){
|
||||
let text = {
|
||||
str:`${this.t('HomeView.jsContent4',{days:days,hours:hours,minutes:minutes})}<a href="https://code-create.com.hk/aida/" target="_blank"><i class="fi fi-br-link-alt"></i></a>`,
|
||||
}
|
||||
this.affiche(text)
|
||||
setTimeout(() => {
|
||||
let text = {
|
||||
str:`${this.t('HomeView.jsContent4',{days:days,hours:hours,minutes:minutes})}<a href="https://code-create.com.hk/aida/" target="_blank"><i class="fi fi-br-link-alt"></i></a>`,
|
||||
}
|
||||
this.affiche(text)
|
||||
}, 500);
|
||||
}else{
|
||||
openGuide()
|
||||
}
|
||||
@@ -412,12 +414,15 @@ export default defineComponent({
|
||||
})
|
||||
})
|
||||
}else if(!isModalOne && isTest){
|
||||
text = {
|
||||
str:`${this.t('HomeView.jsContent5')}<a href="https://code-create.com.hk/aida/" target="_blank"><i class="fi fi-br-link-alt"></i></a>`,
|
||||
}
|
||||
this.affiche(text)
|
||||
setTimeout(() => {
|
||||
text = {
|
||||
str:`${this.t('HomeView.jsContent7')}<br>${this.t('HomeView.jsContent5')}<a href="https://code-create.com.hk/aida/" target="_blank">https://code-create.com.hk/aida/</a>${this.t('HomeView.jsContent6')}`,
|
||||
}
|
||||
this.affiche(text)
|
||||
}, 500);
|
||||
}else{
|
||||
|
||||
|
||||
|
||||
}
|
||||
// console.log(this.store.state.UserHabit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user