Browse Source

commit

master
徐辉辉 3 years ago
parent
commit
d2c104a880
  1. 45
      04.系统编码/Frontend/src/components/Login.vue
  2. 2
      04.系统编码/Frontend/src/router/index.ts

45
04.系统编码/Frontend/src/components/Login.vue

@ -3,13 +3,18 @@
<div class="login"> <div class="loginInput">
<div class="litter"><img src="/images/logo.png"/> </div> <div class="litterSemicircle"><img src="/images/logo.png"/> </div>
<div class="import"> <div class="importInput">
<h3>南京生态环境评估决策平台</h3> <div>
<h1>南京生态环境评估决策平台</h1>
<el-input v-model="input4" placeholder="请输入账户" class="input">
<template #prefix>
<el-icon class="el-input__icon"><search /></el-icon>
</template>
</el-input>
</div>
</div> </div>
@ -29,9 +34,10 @@ export default {
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.box {
.login{ .loginInput {
width: 651px; width: 651px;
height: 689px; height: 689px;
background: #FFFFFF; background: #FFFFFF;
@ -39,11 +45,12 @@ export default {
opacity: 1; opacity: 1;
border-radius: 10px; border-radius: 10px;
position: relative; position: relative;
left: 635px; left: 50%;
top: 255px; top: 255px;
transform: translateX(-50%);
.litter{ .litterSemicircle {
position: relative; position: absolute;
width: 239px; width: 239px;
height: 239px; height: 239px;
background: #FFFFFF; background: #FFFFFF;
@ -52,37 +59,41 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
left: 50%; left: 50%;
transform: translate(-50%,-50%); transform: translate(-50%, -50%);
} }
.import{
.importInput {
width: 651px; width: 651px;
height: 689px; height: 689px;
background: #FFFFFF; background: #FFFFFF;
border: 1px solid #707070; border: 1px solid #707070;
opacity: 1; opacity: 1;
border-radius: 10px; border-radius: 10px;
display: flex;
justify-content: center;
h3{ h1 {
width: 393px; width: 393px;
height: 40px;
font-size: 30px; font-size: 30px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-weight: bold; font-weight: bold;
line-height: 40px; line-height: 40px;
color: #222222; color: #222222;
text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16); text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
opacity: 1; opacity: 1;
margin-top: 120px;
} }
} }
img{
img {
width: 157.33px; width: 157.33px;
height: 157.15px; height: 157.15px;
margin-top: 35px; margin-top: 35px;
} }
} }
}

2
04.系统编码/Frontend/src/router/index.ts

@ -1,7 +1,7 @@
import {createRouter, createWebHashHistory} from 'vue-router'; import {createRouter, createWebHashHistory} from 'vue-router';
const routes: any = [ const routes: any = [
{ path: '/', redirect: '/MicrowaveRadiation'}, { path: '/', redirect: '/Login'},
// { // {
// path: '/MicrowaveRadiation', // path: '/MicrowaveRadiation',
// component: () => import('../components/MicrowaveRadiation/Index.vue'), // component: () => import('../components/MicrowaveRadiation/Index.vue'),

Loading…
Cancel
Save