调整试用用户弹窗文案

This commit is contained in:
X1627315083
2024-01-28 23:36:26 +08:00
parent 77bdacc5d3
commit 58c75e4b7c
13 changed files with 47 additions and 24 deletions

View File

@@ -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);