parent
dd048c4bc1
commit
3b3064883a
@ -1,55 +1,54 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="enter">
|
<view class="enter">
|
||||||
<view class="logo">
|
<view class="logo">
|
||||||
<u-image src="/static/enter/logo.png" width="646rpx" height="646rpx"></u-image>
|
<u-image src="/static/enter/logo.png" width="646rpx" height="646rpx"></u-image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (this.vuex_my_role === 1) {
|
if (this.vuex_my_role === 1) {
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: "/pages/todayNursing/todayNursing",
|
url: "/pages/todayNursing/todayNursing",
|
||||||
complete: (res) => {
|
complete: (res) => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: "/package_sub/pages/index/index"
|
url: "/package_sub/pages/index/index"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}, 3000)
|
}, 3000)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.enter {
|
.enter {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background-color: #197DFB;
|
background-color: #197DFB;
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
transform: translateX(-50%) translateY(-50%);
|
transform: translateX(-50%) translateY(-50%);
|
||||||
|
position: fixed;
|
||||||
position: fixed;
|
top: 50%;
|
||||||
top: 50%;
|
left: 50%;
|
||||||
left: 50%;
|
}
|
||||||
}
|
}
|
||||||
}
|
</style>
|
||||||
</style>
|
|
||||||
|
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 94 KiB |
Loading…
Reference in new issue