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.

56 lines
885 B

<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(() => {
if (this.vuex_my_role === 1) {
uni.switchTab({
url: "/pages/todayNursing/todayNursing",
complete: (res) => {
console.log(res);
}
})
} else {
uni.redirectTo({
url: "/package_sub/pages/index/index"
})
}
}, 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>