67 lines
1.0 KiB
Vue
67 lines
1.0 KiB
Vue
<template>
|
|
<view class="app">
|
|
<image src="../../static/logo.png" mode=""></image>
|
|
<view class="title">
|
|
泉医到家
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import {
|
|
existPatientInfo
|
|
} from '@/api/startup/index.js'
|
|
export default {
|
|
data() {
|
|
return {
|
|
|
|
};
|
|
},
|
|
onShow() {
|
|
setTimeout(() => {
|
|
uni.reLaunch({
|
|
url: '/pages/homepage/homepage'
|
|
});
|
|
}, 2000);
|
|
// const value = uni.getStorageSync('openid');
|
|
// if (value) {
|
|
// existPatientInfo(value).then(res => {
|
|
// if (res.code == 200) {
|
|
// if (res.msg == 'LOGIN') {
|
|
// uni.setStorageSync("LOGIN", res.msg)
|
|
// } else {}
|
|
// } else {}
|
|
// })
|
|
// } else {}
|
|
},
|
|
methods: {},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.app {
|
|
height: 100vh;
|
|
}
|
|
|
|
image {
|
|
width: 50%;
|
|
height: 200rpx;
|
|
position: absolute;
|
|
left: 25%;
|
|
top: 28%;
|
|
}
|
|
|
|
.title {
|
|
width: 80%;
|
|
height: 48rpx;
|
|
font-size: 49rpx;
|
|
text-align: center;
|
|
font-family: DengXian;
|
|
font-weight: bold;
|
|
color: #000000;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 10%;
|
|
}
|
|
</style>
|