From 1eb8a751d9c64250b861cfa7a7f76a0a30cf5f56 Mon Sep 17 00:00:00 2001 From: xuanchen <122383162@qq.com> Date: Tue, 21 Feb 2023 13:04:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/assets/index/css/style.css | 213 +++++++++++++++++++++++++- public/assets/index/img/index_nav.png | Bin 0 -> 1131 bytes resources/views/index/index.blade.php | 2 +- 3 files changed, 209 insertions(+), 6 deletions(-) create mode 100644 public/assets/index/img/index_nav.png diff --git a/public/assets/index/css/style.css b/public/assets/index/css/style.css index 88ad22b..af8a9e1 100644 --- a/public/assets/index/css/style.css +++ b/public/assets/index/css/style.css @@ -112,6 +112,9 @@ img { background: url(../img/bg.png) no-repeat; background-size: 100% auto; } +.mian{ + background-color: #fff; +} /* header */ .header{ margin-top: 16%; @@ -878,7 +881,7 @@ background-size: 100% auto; .index-mian-right-ads { display: flex; - margin: 0 -10px 40px -10px; + margin: 0 -10px 33px -10px; } .index-mian-right-ad-5 { @@ -898,7 +901,12 @@ background-size: 100% auto; .index-mian-right-ul li a { padding-right: 0; } - +.index-mian-news-ul_media{ + margin: 8px 0 !important; +} +.index-mian-news-ul_media a{ + line-height: 19px !important; +} .index-mian-right-video { margin: 20px 0 40px; position: relative; @@ -958,20 +966,21 @@ background-size: 100% auto; } .index-mian-notice-ul li { - line-height: 17px; - margin: 20px 0; + margin: 11px 0; } .index-mian-notice-ul li a{ position: relative; padding-right: 0; padding-left: 20px; + display: -webkit-box; + line-height: 23px; } .index-mian-notice-ul li a i{ position: absolute; left: 0; - top: 0; + top: 4px; } /* footer */ @@ -987,6 +996,10 @@ background-size: 100% auto; margin: 10px 0; font-size: 14px; } +footer p span , footer p a{ + color: #fff; + margin-left: 30px; +} .footer img { width: 68px; @@ -1775,3 +1788,193 @@ background-size: 100% auto; font-size: 18px; margin-bottom: 10px } +.mb{ + display: none; +} + + +@media (max-width:768px) { + .mb{ + display: block; + background: #273981; + width: 30px; + border-radius: 4px; + margin-right: 20px + } + .nav{ + display: none; + } + .mian-nav{ + width: 100%; + } + .bg{ + background-position: center 35px ; + } + .tool{ + height: 35px; + padding: 0 10px; + } + .tool-content{ + white-space: nowrap; + } + .tool-search input{ + height: 20px; + width: 120px; + } + .tool-search{ + margin: 6px 0; + } + .tool-search button{ + height: 20px; + width: 20px; + vertical-align:top; + } + .tool-herf span{ + padding: 0 2px; + } + .tool-herf a, .tool-herf span,.tool-search input{ + line-height: 35px; + font-size: 12px; + } + .container{ + width: 100%; + } + .header{ + margin-top: 23%; + } + .header-logo{ + width: 50%; + height: 50%; + } + .header-content{ + padding: 0; + } + .header-text{ + padding-left: 0; + width: 50%; + font-size: 12px; + margin-right: 8px; + } + .nav-ul{ + flex-direction: column; + } + .nav-ul-li > a{ + font-size: 12px; + } + .swiper-banner-img{ + padding-top:12%; + background-size:40%; + } + .swiper-banner-img h3{ + padding: 10px 10px 30px 10px; + font-size: 12px; + } + .swiper-pagination .swiper-pagination-bullet{ + width: 8px; + height: 8px; + } + .index-mian-left,.index-mian-news-hot, .index-mian-news-hot ~ .index-mian-news-ul,.index-mian-right{ + width: 100%; + } + .index-mian-news-hot ~ .index-mian-news-ul{ + padding: 0 10px 0 20px; + } + .index-mian-news-cover{ + padding-top: 67%; + } + .index-mian-right-video-item{ + width: 82%; + } + .index-mian-right-video-item-lg{ + width: 63%; + margin-left: 20px; + } + + .index-mian-right-video{ + padding-left: 74%; + } + .newCont{ + margin-top: 20px; + margin-left: 0; + width: 100%; + } + .index-mian-notice-ul{ + margin: 0 20px; + } + + /* 院所新闻 */ + .results-news-ul{ + margin: 0 20px; + } + .mian-content{ + width: 100%; + } + .href-flex{ + justify-content: center; + } + /* 组织机构 */ + .org-intro,.org-history{ + padding-top: 230px; + padding-left:0; + padding-right: 0; + margin: 0 20px; + } + .org-history-cover, .org-intro-cover{ + width: 100%; + } + .org-intro-more{ + padding-bottom: 10px; + } + .org-inst span{ + width: 30%; + } + .details{ + margin: 0 auto; + } + /* 领导班子 */ + .org-lead-ul{ + margin: 0 20px 20px 10px; + } + .org-lead-ul li{ + width: 100%; + } + /* 党建文化 */ + .results-news-cover span,.results-news-cover{ + width: 100%; + } + .results-news-cover ~ .results-news-ul{ + padding-left: 0; + padding-top: 225px; + } + .results-news-cover span{ + font-size: 14px; + } + .sub-title{ + padding-right: 10px; + } + /* 人才队伍 */ + .rctd-boeder:last-child,.rctd-boeder{ + margin: 0 20px; + } + .rctd-boeder{ + padding-left: 0; + padding-top: 165px; + } + .rctd2{ + width: 100%; + } + /* 文章详情 */ + .details-content p video{ + width: 100%; + height: 100%; + } + .footer p{ + display: flex; + flex-direction: column; + margin: 0; + line-height: 30px; + } + .footer p span , .footer p a{ + margin: 0; + } +} \ No newline at end of file diff --git a/public/assets/index/img/index_nav.png b/public/assets/index/img/index_nav.png new file mode 100644 index 0000000000000000000000000000000000000000..be28b43111838d722c469667cc07950224cbc928 GIT binary patch literal 1131 zcmbVM+iTNM7>^TV8yk)(czf`W2|8J>ZPzBO&bDc{qMfy?tS`dS#5fudm8R7;G28wT<^fG-ILk#3xzWjdQ{mXoMWT>-! zZ#zX%oylP(Lw4SKTep#QtmW5vvhBg~93DjzxU4#mis&d0LDEzUFauS+I{h3DP}Ek} z$mVb^bzIhv$*LZPt(Z1pQ`Ep<#a6XRh(R6}3@c23fAEk7h90KJ0x3Ra$6(PIo^jyl z%t%(7nbahm9y|gDDl$=ELac&{Ic2$WB}~`!%H-^cIU3X;crr}aoyw)sAchGug3wRpUJSyQZO+2lKVA`qFx?;<1 zB#NYrtEe_7usmm)UR*V_i!<<#8ylkCY}JNb2D+%^Xrvw!Jxwyn-R6coAn`^%;TWVS z>Xd@Ck_j!GRKhg*!s>=Di<%yQVqRsS;MbUt==U=c->)%JUJYq^zo2XW{-&Od_|afO z6haYyqCXN8gm^3@MPt!WEGWiBUpx`zo7|-3V%5@M)3!luH@Ln{xpK^bDn?Egp{ZsU zq>Bh6w}@;Yl7xaoV}_-pvfJy`s2;Kc9pfz26Am&#Ey=R6fdl^*e4VfVZ}K?e6z6ry zU!Btwk#_Ws>vKRZ>yrd6GCmHO6P*4$L}qLusYJ4s_bYE7x6Sb#M_;}vee1H8il=YC z*x|1B?LKqu(e^KW_rYu?en-D?@4)`rV6N`FwS4i_!n?WApZ4stAG2#~udiPIx^UrG z`DW**gWey2%H*qum1LV+UoLgmc;M-&C)eqdi``2*=bbD3-PYbMHMzHpfBewWK^5Aj Tmv?oo^m>wHd_-A{j-UGtf>&ng literal 0 HcmV?d00001 diff --git a/resources/views/index/index.blade.php b/resources/views/index/index.blade.php index a389adc..5a10f34 100644 --- a/resources/views/index/index.blade.php +++ b/resources/views/index/index.blade.php @@ -234,7 +234,7 @@