You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
473 B
24 lines
473 B
4 years ago
|
<template>
|
||
4 years ago
|
广告页
|
||
4 years ago
|
</template>
|
||
|
|
||
|
<script setup>
|
||
|
setTimeout(() => {
|
||
|
// 判断是否第一次打开App
|
||
|
let openNum = uni.$storage.getStorageSync('fistOpenApp');
|
||
|
if (openNum === 'true') {
|
||
|
uni.navigateTo({
|
||
|
url: '/pages/index/index'
|
||
|
})
|
||
|
} else {
|
||
|
uni.$storage.setStorageSync('fistOpenApp', 'true');
|
||
|
uni.navigateTo({
|
||
|
url: '/pages/guide/guide'
|
||
|
})
|
||
|
}
|
||
|
}, 3000);
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
</style>
|