Browse Source

样式优化

gzb
wangzhonglu 1 year ago
parent
commit
36c9f649e3
2 changed files with 6 additions and 5 deletions
  1. 2
    1
      css/index.css
  2. 4
    4
      css/news.css

+ 2
- 1
css/index.css View File

2
   display: block;
2
   display: block;
3
   width: 100%;
3
   width: 100%;
4
   height: 9.42rem;
4
   height: 9.42rem;
5
-  object-fit: cover;
5
+  /* object-fit: cover; */
6
 }
6
 }
7
 /* .home_swiper_container.swiper-container .swiper-wrapper .swiper-slide::after {
7
 /* .home_swiper_container.swiper-container .swiper-wrapper .swiper-slide::after {
8
   content: "";
8
   content: "";
93
 .home_superiority_info .superiority_item_stitle {
93
 .home_superiority_info .superiority_item_stitle {
94
   font-size: 0.16rem;
94
   font-size: 0.16rem;
95
   color: #999;
95
   color: #999;
96
+  height: 0.6rem;
96
   line-height: 0.3rem;
97
   line-height: 0.3rem;
97
 }
98
 }
98
 .home_scheme_info {
99
 .home_scheme_info {

+ 4
- 4
css/news.css View File

1
 .news_banner {
1
 .news_banner {
2
+  width: 100%;
3
+  height: 3.9rem;
2
   position: relative;
4
   position: relative;
3
   padding-top: 0.8rem;
5
   padding-top: 0.8rem;
4
-  width: 100%;
5
-  height: 4.65rem;
6
-  box-sizing: border-box;
7
 }
6
 }
8
 .news_banner img {
7
 .news_banner img {
9
   width: 100%;
8
   width: 100%;
10
   height: 100%;
9
   height: 100%;
11
-  object-fit: cover;
10
+  /* object-fit: cover; */
12
 }
11
 }
13
 .news_header_info {
12
 .news_header_info {
14
   position: absolute;
13
   position: absolute;
98
 .news_list_box {
97
 .news_list_box {
99
   margin: 0 auto;
98
   margin: 0 auto;
100
   width: 13rem;
99
   width: 13rem;
100
+  min-height: 2rem;
101
 }
101
 }
102
 .news_list_item {
102
 .news_list_item {
103
   margin-right: 0.27rem;
103
   margin-right: 0.27rem;

Loading…
Cancel
Save