Bläddra i källkod

edit css

master
chutingting 1 år sedan
förälder
incheckning
f2c025f189
2 ändrade filer med 3 tillägg och 35 borttagningar
  1. +2
    -2
      src/components/hotNews/index.vue
  2. +1
    -33
      src/views/information/index.vue

+ 2
- 2
src/components/hotNews/index.vue Visa fil

@@ -82,7 +82,7 @@ export default {
font-size: 18px;
font-weight: bold;
color: #FFFFFF;
line-height: 48px;
line-height: 80px;
width: 100%;
background-color: #0000007e;
}
@@ -188,7 +188,7 @@ export default {
font-size: 18px;
font-weight: bold;
color: #FFFFFF;
line-height: 48px;
line-height: 80px;
width: 100%;
background-color: #0000007e;
}


+ 1
- 33
src/views/information/index.vue Visa fil

@@ -216,7 +216,7 @@ export default {
font-size: 18px;
font-weight: bold;
color: #FFFFFF;
line-height: 48px;
line-height: 80px;
width: 90%;
background-color: #0000007e;
}
@@ -303,38 +303,6 @@ export default {
min-height: 100px;
.content {
margin-top: 20px;
.top {
margin-bottom: 30px;
background-color: #FFFFFF;
display: flex;
background-image: url('../../assets/hotTopLeft.png');
background-position: 101% 0; /* 调整这些值来改变显示的部分 */
background-size: 30% 50%; /* 使用 'cover' 或 'contain',或者设置具体尺寸 */
background-repeat: no-repeat;
#imgtxt {
width: 560px;
position: relative;
display: flex;
justify-content: center;
align-items: center;
margin-left: 20px;
img {
width: 560px;
}
.newsTitle{
position: absolute;
bottom: 5%;
left: 0;
display: inline-block;
font-size: 18px;
font-weight: bold;
color: #FFFFFF;
line-height: 48px;
width: 100%;
background-color: #0000007e;
}
}
}
}
}


Laddar…
Avbryt
Spara