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.

102 lines
1.7 KiB

4 months ago
<template>
<view class="wrap">
12 months ago
<image src="@/static/bg.jpg" class="bkg" alt="" />
<view class="main">
<view class="main-wrap">
<image src="@/static/index_logo.png" class="logo" alt="" />
<image src="@/static/index_words.png" class="words" alt="" />
</view>
4 months ago
</view>
<view class="support">
技术支撑江苏有线苏州分公司
</view>
</view>
</template>
12 months ago
<script>
4 months ago
import {isNull} from "@/common/util.js"
export default {
data() {
return {
userInfo: {}
}
},
onLoad() {
setTimeout(() => {
this.getUserInfo()
}, 2000)
},
methods: {
12 months ago
async getUserInfo() {
const res = await this.$u.api.user()
this.$u.vuex('vuex_user', res);
this.userInfo = res;
if (isNull(res.mobile)) {
uni.redirectTo({
url: '/pages/login/index'
})
4 months ago
}else{
uni.redirectTo({
url: '/pages/me/me'
})
12 months ago
}
4 months ago
}
}
}
</script>
12 months ago
<style scoped lang="scss">
4 months ago
.wrap {
12 months ago
width: 100vw;
height: 100vh;
position: relative;
font-size: 0;
.bkg {
width: 100vw;
height: 100vh;
position: absolute;
top: 0;
left: 0;
1 year ago
}
12 months ago
.main{
width: 100vw;
height: 100vh;
overflow: scroll;
position: relative;
z-index:9;
&-wrap{
position: relative;
z-index:8;
margin-top:100rpx;
&>image{
margin:0 auto;
display: block;
margin-top:40rpx;
}
.logo{
4 months ago
width:250rpx;
height:70rpx;
margin-left: 40rpx;
12 months ago
}
.words{
4 months ago
width:205rpx;
height:664rpx;
margin-top:200rpx
12 months ago
}
}
}
.support {
position: absolute;
bottom: 10rpx;
width: 100%;
font-size: 24rpx;
color: #888;
font-family: '宋体';
opacity: 1;
text-align: center;
z-index:9
1 year ago
}
4 months ago
}
1 year ago
</style>