You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
< script setup >
/**
* name:
* user: sa0ChunLuyu
* date: 2022-04-19 14:58:23
*/
import {
ref
} from 'vue'
import config from '@/config.js'
< / script >
< template >
< view class = "home_wrapper u-text-center" >
< view class = "home_logo_wrapper" >
< u -image width = "200rpx" height = "200rpx" src = "/static/logo.png" > < / u - i m a g e >
< / view >
< view class = "home_title_wrapper" > { { config . title } } < / view >
< / view >
< / template >
< style scoped >
. home _title _wrapper {
margin : 10 rpx 0 ;
}
. home _logo _wrapper {
width : 200 rpx ;
height : 200 rpx ;
margin : 0 auto ;
}
. home _wrapper {
position : absolute ;
top : 50 % ;
left : 50 % ;
transform : translate ( - 50 % , - 50 % ) ;
}
< / style >