pull/182/head
home孙 2024-11-02 23:19:42 +08:00
parent f97446f3ac
commit a32e92b3f7
5 changed files with 45 additions and 4 deletions

View File

@ -409,12 +409,31 @@ textarea {
position: relative; position: relative;
width: 373px; width: 373px;
height: 78px; height: 78px;
display: flex;
align-items: center;
padding: 10px;
} }
.index .header .header-left > img { .index .header .header-left .logo-img {
position: relative;
z-index: 2;
margin-right: 10px;
}
.index .header .header-left .logo-bg {
width: 373px; width: 373px;
height: 99px; height: 99px;
cursor: pointer; cursor: pointer;
position: absolute;
left: 0;
top: 0;
z-index: 1;
}
.index .header .header-left .logo-title {
position: relative;
z-index: 2;
font-size: 35px;
} }
.index .header .header-center { .index .header .header-center {

View File

@ -423,11 +423,26 @@ textarea{
position: relative; position: relative;
width: 373px; width: 373px;
height: 78px; height: 78px;
display: flex;
>img { align-items: center;
padding: 10px;
.logo-img{
position: relative;
z-index: 2;
margin-right: 10px;
}
.logo-bg {
width: 373px; width: 373px;
height: 99px; height: 99px;
cursor: pointer; cursor: pointer;
position: absolute;
left: 0;
top: 0;
z-index: 1;
}
.logo-title{
position: relative;z-index: 2;
font-size: 35px;
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -2,7 +2,11 @@
<div class="index"> <div class="index">
<div class="header"> <div class="header">
<div class="header-left"> <div class="header-left">
<img src="../assets/image/logo.png" alt=""> <img class="logo-img" src="../assets/image/logo-img.png" alt="">
<img class="logo-bg" src="../assets/image/logo.png" alt="">
<div class="logo-title" v-if="mainData">
{{mainData.projectName}}
</div>
</div> </div>
<div class="header-center"> <div class="header-center">
@ -146,6 +150,7 @@ export default {
limitUserId: [], limitUserId: [],
statusData: [], statusData: [],
roleId:2, roleId:2,
mainData:null,
} }
}, },
watch: { watch: {
@ -230,6 +235,8 @@ export default {
] }, ] },
] ]
} }
this.mainData=res.data.data.project
} }
}) })
}, },