From 26ab0bead647c0e26ac5e40d857283c95f535d2d Mon Sep 17 00:00:00 2001 From: ll <48448919+llsccm@users.noreply.github.com> Date: Tue, 7 Apr 2026 17:35:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=99=BE=E5=BA=A6=20`new-pmd`=20?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- newcss/baiduCommonStyle.less | 14 ++++++++------ newcss/baiduOnePageStyle.less | 21 ++++++++++----------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/newcss/baiduCommonStyle.less b/newcss/baiduCommonStyle.less index 59a5a61..257ba47 100644 --- a/newcss/baiduCommonStyle.less +++ b/newcss/baiduCommonStyle.less @@ -397,7 +397,7 @@ body #wrapper #content_left a[href*='official'] { position: unset; // 避免重叠在一起 } -.c-container .c-result-content {} +// .c-container .c-result-content {} #wrapper #content_left>.c-container article { padding-top: 15px; @@ -436,9 +436,11 @@ body.showRight { opacity: 1; } } -body[baidu] .new-pmd .c-img-s{ + +/*body[baidu] .new-pmd .c-img-s{ display: none; -} +}*/ + body[baidu].pc-fresh-wrapper-con .new-pmd .c-span12 { width: unset; } @@ -457,9 +459,9 @@ body[baidu].pc-fresh-wrapper-con .new-pmd .c-span12 { div[class*='tag-wrapper'] { margin-left: unset; - div[class*='tag-scroll'] { - text-align: center; - } + // div[class*='tag-scroll'] { + // text-align: center; + // } } } } diff --git a/newcss/baiduOnePageStyle.less b/newcss/baiduOnePageStyle.less index b8aaa30..d9632ce 100644 --- a/newcss/baiduOnePageStyle.less +++ b/newcss/baiduOnePageStyle.less @@ -103,7 +103,7 @@ body.showRight #wrapper #container.sam_newgrid #content_left { } body.showRight #wrapper #content_right { - right: calc(40vw - 500px); + right: 8vw; } @media screen and (max-width: 1280px) { @@ -149,7 +149,7 @@ body.showRight #wrapper #content_right { .s_form_wrapper { display: flex; - justify-content: center; + /*justify-content: center;*/ } #wrapper #s_tab { @@ -170,7 +170,7 @@ form.fm .s_ipt_wr.bg { min-width: calc(37.5vw - 150px); } -.result-molecule.new-pmd:has(#s_tab) { +#wrapper > .result-molecule.new-pmd { position: relative; z-index: 233; margin-top: 6px; @@ -181,13 +181,13 @@ form.fm .s_ipt_wr.bg { .showRight { .result-molecule.new-pmd { - &[tpl='app/rs'] { - margin-left: 44% !important; - } + // &[tpl='app/rs'] { + // margin-left: 44% !important; + // } &[tpl='app/page'] { padding-bottom: 20px; - margin-left: 48% !important; + /*margin-left: 48% !important;*/ } &[tpl='app/footer'] { @@ -198,8 +198,9 @@ form.fm .s_ipt_wr.bg { .new-pmd #rs_new { background-color: white; - width: calc(100% - 20px); + margin-left: 40%; padding: 10px 0 10px 20px; + transform: translateX(-50%); } .result-molecule #page>div { @@ -224,7 +225,7 @@ form.fm .s_ipt_wr.bg { margin-left: calc(-31.25vw + 840.00px); } -body[baidu] #chat-input-main { +#chat-input-main { width: calc(46.88vw - 300px); } @@ -298,8 +299,6 @@ body[baidu] #chat-input-main { .s_form>.s_form_wrapper { margin-left: calc(-45.13vw + 916.43px); - /** 1366=300px;1920=50px **/ - ; } }