<template> <div class="app-content"> <div class="welcome_page"> <div class="title"> <div class="welcome home-font"><span>欢迎登录!</span></div> <div class="systemName home-font"><span>{{systemTitle}}</span></div> </div> <div class="img"> </div> </div> </div> </template> <script> export default { name: 'dashboardPerson', components: { }, data () { return { systemTitle: process.env.VUE_APP_SYSTEM_TITLE, }; }, created () { }, methods: { }, }; </script> <style scoped lang="less"> .app-content { .welcome_page { position: relative; width: 750px; height: 100%; padding-top: 3%; margin: 0 auto; overflow: hidden; .title { .welcome { line-height: 74px; } .systemName { margin-top: 10px; line-height: 74px; } .home-font { color: #0079fe; font-family: "PingFang SC"; font-style: normal; font-weight: 600; font-size: 40px; } } .img { margin-top: 20px; width: 688px; height: 476px; background: url("../../../../static/images/example.png"); } } } </style>