代码提交

This commit is contained in:
lixiaobang 2023-02-10 17:19:29 +08:00
commit 6dad24c3ba
22 changed files with 30 additions and 28 deletions

View File

@ -1,3 +1,4 @@
<template> <template>
<div id="app"> <div id="app">
<div class="top"> <div class="top">
@ -11,12 +12,19 @@
</div> </div>
</div> </div>
<div class="topCenter"> <div class="topCenter">
<div class="topText" text="国网南京雨花供电营业厅"> <div class="topText">
国网南京雨花供电营业厅 <img src="./assets/images/topText.png"/>
</div> </div>
</div> </div>
<div class="topRight"></div> <div class="topRight">
<div>
天气&nbsp;:&nbsp;
<img src="./assets/weather/sun.png"/>
多云
</div>
<div style="color:rgb(57,173,194)">|&nbsp;&nbsp;5~25</div>
</div>
</div> </div>
<div class="main"> <div class="main">
<router-view /> <router-view />
@ -52,7 +60,7 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.top{ .top{
width: 100%; width: 100%;
height: 93px; height: 8.6%;
display: flex; display: flex;
jjustify-content: space-evenly; jjustify-content: space-evenly;
.topLeft{ .topLeft{
@ -74,29 +82,24 @@ export default {
justify-content: center; justify-content: center;
.topText{ .topText{
height: 65%; height: 65%;
font-size: 35px;
display: flex; display: flex;
align-items: center; align-items: center;
color: #ffffff;
}
.topText:before{
content: attr(text);
position: absolute;
z-index: 10;
color:rgb(86, 254, 246);
-webkit-mask:linear-gradient(to top , transparent,);
} }
} }
.topRight{ .topRight{
width: 11%; width: 12%;
height: 100%; height: 50%;
border: 1px solid blue; color:#ffffff;
display: flex;
justify-content: space-evenly;
align-items: center;
color: #fff;
} }
} }
.main{ .main{
height: calc(1080px - 93px); height: calc(100% - 8.6%);
width: 100%; width: 100%;
position: relative; position: relative;
top: -40px; top: -3.8%;
} }
</style> </style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
src/assets/weather/gale.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
src/assets/weather/hail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
src/assets/weather/moon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
src/assets/weather/rain.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
src/assets/weather/sand.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
src/assets/weather/smog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
src/assets/weather/snow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
src/assets/weather/sun.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -51,16 +51,15 @@ methods:{
<style> <style>
.content{ .content{
/* width: 100%; width: 100%;
*/
height: 100%; height: 100%;
position: relative; position: relative;
} }
.left-content,.right-content{ .left-content,.right-content{
position: absolute; position: absolute;
width: 396px; width: 20.6%;
top: 0; top: 0;
height: 980px; height: 100%;
/* background-color: aqua; */ /* background-color: aqua; */
} }
/* 内容板块背景 */ /* 内容板块背景 */
@ -70,23 +69,23 @@ methods:{
margin-bottom: 5px; margin-bottom: 5px;
} }
.left-content .business-hall{ .left-content .business-hall{
height: 378px; height: 38.2%;
} }
.left-content .passenger-flow{ .left-content .passenger-flow{
height: 392px; height: 39.7%;
} }
.left-content .hall-statistics{ .left-content .hall-statistics{
height: 197px; height: 20.4%;
} }
.right-content .payment{ .right-content .payment{
height: 378px; height: 38.3%;
} }
.right-content .business-acceptance{ .right-content .business-acceptance{
height: 296px; height: 30%;
} }
.right-content .service{ .right-content .service{
height: 296px; height: 30%;
} }
.right-content{ .right-content{
right: 0; right: 0;