Przeglądaj źródła

顶部搜索调整

zhengjinyi 10 miesięcy temu
rodzic
commit
ddae10f05f

+ 1 - 2
src/main/resources/static/css/base/base.h5.css

@@ -98,8 +98,7 @@
 .baseHeadCenter .search .jqSelect:before{right:4vw;line-height:9.6vw}
 .baseHeadCenter .search .jqSelect:after{content:'';position:absolute;right:0;top:3.4vw;width:.5vw;height:2.8vw;background:#BEC2C9}
 .baseHeadCenter .search .keyword{position:absolute;right:2vw;top:0;border:none;outline:none;width:68.4vw;height:100%;line-height:9.6vw;font-size:3.7vw;color:#4A4F58;text-indent:2.6vw;border-radius: 5.8vw;}
-.baseHeadCenter .search .searchBtn{position:absolute;right:1vw;top:0}
-.baseHeadCenter .search .searchBtn:before{content:'';display:block;width:9vw;height:9vw;background-position:-24vw 1.5vw}
+.baseHeadCenter .search .searchBtn{position: absolute;right: 1vw;top: 1vw;font-size: 3vw;padding: 0 4vw;height: 7.5vw;line-height: 7.5vw;text-align: center;background: #ff5b00;border-radius: 4vw;color: #FFFFFF;font-weight: bold;}
 .baseHeadCenter.account{height:13.4vw;border-bottom:solid 1px #ebecef}
 .baseHeadCenter.account .closeAccount{float:right;padding:3.5vw 2.8vw;width:6.4vw;height:6.4vw;text-align:center}
 .baseHeadCenter.account .closeAccount:before{content:'\2715';font-size:4.5vw;font-weight:bold}

+ 6 - 5
src/main/resources/static/css/base/base.pc.css

@@ -11,8 +11,10 @@ iframe{width:320px !important;height: 280px !important}
 #globalHead.fiexd .baseHeadTop{ display: none; }
 #globalHead.fiexd .baseTopNav{ display: none; }
 #globalHead.fiexd .hotKey{ display: none; }
-#globalHead.fiexd .search{ margin-top: 15px; }
-#globalHead.fiexd .wechat_qrcode{ margin-top:5px; }
+#globalHead.fiexd .search{ margin-top: 0; }
+#globalHead.fiexd .wechat_qrcode{ margin-top:5px;display: none; }
+#globalHead.fiexd .baseHeadCenter .wrap{ padding: 10px 0;height: auto; }
+#globalHead.fiexd .baseHeadCenter .logo{ width: 140px;height: 44px;margin-right: 162px; }
 .impowerBox{width:320px !important;}
 .impowerBox .qrcode {width: 200px !important;}
 .impowerBox .title {display: none;}
@@ -123,15 +125,14 @@ iframe{width:320px !important;height: 280px !important}
 .baseHeadCenter .wrap{height: 100px;box-sizing: border-box;padding: 10px 0;}
 .baseHeadCenter .logo{float:left;width:228px;height:76px;margin-right:75px;}
 .baseHeadCenter .searchBox{width:668px;float:left}
-.baseHeadCenter .search{width:100%;height:44px;line-height:44px;border:1px solid #FF5B00;position:relative;border-radius: 22px;}
+.baseHeadCenter .search{width:100%;height:44px;line-height:44px;border:2px solid #FF5B00;position:relative;border-radius: 10px;}
 .baseHeadCenter .search:before{content:'';position:absolute;left:90px;top:12px;height:20px;border-right:2px solid #e1e1e1}
 .baseHeadCenter .search .jqSelect{width:80px;height:44px;line-height:44px;border:none;text-align: center;}
 .baseHeadCenter .search .jqSelect:before{right:4px}
 .baseHeadCenter .search .jqSelect ul{z-index:999;}
 .baseHeadCenter .keyword{width:86%;height:44px;line-height:44px;text-indent:15px;position:absolute;right:0;top:0;border:none;outline:none;border-radius: 22px;}
 .baseHeadCenter .keyword:focus{outline:none;border:none}
-.baseHeadCenter .searchBtn{position:absolute;right: 0;top: 0;font-size:0;padding: 7px 12px;height: 30px;line-height: 30px;}
-.baseHeadCenter .searchBtn:before{width: 30px;height: 30px;background-position: 4px 4px;}
+.baseHeadCenter .searchBtn{position: absolute;right: 3px;top: 3px;font-size: 14px;padding: 0 22px;height: 38px;line-height: 38px;text-align: center;background: #ff5b00;border-radius: 8px;color: #FFFFFF;font-weight: bold;}
 .baseHeadCenter .hotKey{color:#50607A;font-size:12px;line-height:36px;box-sizing: border-box;padding-left: 24px;}
 .baseHeadCenter .hotKey .word{padding:0 8px;font-style:normal;cursor:pointer;}
 .baseHeadCenter .hotKey .word:hover{color:#FF5B00}

+ 1 - 1
src/main/resources/templates/components/header.html

@@ -106,7 +106,7 @@
                         </select>
                     </div>
                     <input class="keyword" type="text" placeholder="请输入搜索关键词" maxlength="30" />
-                    <a class="searchBtn icon mIcon" href="javascript:void(0);" onclick="_czc.push(['_trackEvent','顶部导航','搜索按钮','点击','','Um_Event_SearchButton'])"></a>
+                    <a class="searchBtn" href="javascript:void(0);">搜索</a>
                 </div>
                 <!--                <div class="supplierH5" v-if="!isPC && (userIdentity !== 4 && userIdentity !== 2)">-->
                 <!--                    <a class="mIcon supplier_H5" href="/supplier-login/index.html" title="供应商服务" rel="nofollow"></a>-->