parent
dd048c4bc1
commit
3b3064883a
@ -1,55 +1,54 @@
|
||||
<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>
|
||||
<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>
|
||||
|
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 94 KiB |
Loading…
Reference in new issue