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.

50 lines
672 B

3 years ago
<template>
<view class="enter">
<view class="logo">
<u-image src="/static/enter/logo.png" width="646rpx" height="646rpx"></u-image>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
},
computed: {
},
onShow() {
setTimeout(() => {
uni.switchTab({
url: "/pages/home/home",
complete: (res) => {
console.log(res);
}
})
}, 3000)
}
}
</script>
<style scoped lang="scss">
.enter {
width: 100vw;
height: 100vh;
background-color: #197DFB;
.logo {
transform: translateX(-50%) translateY(-50%);
position: fixed;
top: 50%;
left: 50%;
}
}
</style>