Pārlūkot izejas kodu

fix:登录按钮样式&学堂首页、帮助中心样式调整

yangfeng 2 gadi atpakaļ
vecāks
revīzija
81dd770bd9

+ 95 - 4
src/web/staticres/public-pc/css/header-nav.css

@@ -838,12 +838,12 @@
   opacity: 0!important;
 }
 .public-nav.light-bg-dark-color .loginBtn{
-  color: #1D1D1D!important;
-  border: 1px solid rgb(224, 224, 224)!important;
+  /* color: #1D1D1D!important; */
+  /* border: 1px solid rgb(224, 224, 224)!important; */
 }
 .public-nav.light-bg-dark-color .loginBtn:hover{
-  color: #2CB7CA!important;
-  border: 1px solid #2CB7CA!important;
+  /* color: #2CB7CA!important;
+  border: 1px solid #2CB7CA!important; */
 }
 
 /* 透明背景白色字体 */
@@ -869,3 +869,94 @@
   position: relative;
   z-index: 9;
 }
+
+.head-search{
+  position: relative;
+  display: flex;
+  align-items: center;
+  margin-top: 14px;
+  width: 360px;
+  height: 36px;
+  padding: 0 8px 0 16px;
+  background: #F5F6F7;
+  border-radius: 8px;
+  border: 1px solid #F5F6F7;
+}
+.head-search >input{
+  flex: 1;
+  height: 100%;
+  padding: 0;
+  font-size: 14px;
+  border: 0;
+  background: transparent;
+}
+.head-search .head-search-icon{
+  flex-shrink: 0;
+  width: 20px;
+  height: 20px;
+  background-position: center;
+  background-repeat: no-repeat;
+  background-size: contain;
+  background-image: url(/site/common/image/head-search-default.png);
+  cursor: pointer;
+}
+.head-search >input::placeholder{
+  color: #999999;
+}
+.head-search.focus {
+  border: 1px solid#2CB7CA;
+  background-color: #fff;
+}
+.head-search.focus .head-search-icon{
+  background-image: url(/site/common/image/head-search-active.png);
+}
+.search-nav-tab{
+  display: none;
+  position: absolute;
+  left: 0;
+  top: 58px;
+  background: #FFFFFF;
+  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
+  border-radius: 8px;
+  width: 212px;
+  height: 54px;
+  line-height: 54px;
+}
+.search-nav-tab span{
+  position: relative;
+  display: inline-block;
+  padding: 0 16px;
+  font-size: 14px;
+  color: #686868;
+  cursor: pointer;
+  transition: all 0.6s;
+}
+.search-nav-tab span.tab-active{
+  color: #2CB7CA;
+  transition: all 0.6s;
+}
+.search-nav-tab span.tab-active::after{
+  position: absolute;
+  content: '';
+  bottom: 0;
+  left: 50%;
+  width: 28px;
+  height: 2px;
+  transform: translateX(-50%);
+  background: #2CB7CA;
+}
+.useronline{
+  height: 100%!important;
+  margin-top: 0;
+}
+.useronline .user-avatar{
+  margin-top: 14px!important;
+}
+.useronline > button{
+  height: 100%!important;
+  background: #2ABED1!important;
+  margin: unset!important;
+  border: 0;
+  color: #fff!important;
+  border-radius: 0;
+}

+ 15 - 5
src/web/staticres/site/common/css/pc-school-head.css

@@ -949,11 +949,21 @@ right: -14px;
   transform: translateX(-50%);
   background: #2CB7CA;
 }
-
-
-
-
-
+.useronline{
+  height: 100%!important;
+  margin-top: 0;
+}
+.useronline .user-avatar{
+  margin-top: 14px!important;
+}
+.useronline > button{
+  height: 100%!important;
+  background: #2ABED1!important;
+  margin: unset!important;
+  border: 0;
+  color: #fff!important;
+  border-radius: 0;
+}
 .tips_none{
   display: none!important;
 }

+ 12 - 0
src/web/staticres/site/page/helpCenter/css/index.css

@@ -142,10 +142,22 @@
   margin-top: 8px;
   font-size: 16px;
   line-height: 24px;
+  display: flex;
+  align-items: center;
+  
 }
 .faq-feedback .f-content li > a{
   color: #1D1D1D;
 }
+
+.faq-feedback .f-content li > a:nth-child(1) {
+  max-width: 264px;
+  display: inline-block;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+  overflow: hidden;
+}
+
 .faq-feedback .f-content li > a:hover{
   color: #2ABED1;
 }

+ 2 - 1
src/web/templates/site/common/pc-school-head.html

@@ -1,4 +1,5 @@
-<link rel="stylesheet" href='{{Msg "seo" "cdn"}}/site/common/css/pc-school-head.css?v={{Msg "seo" "version"}}'>
+<!-- <link rel="stylesheet" href='{{Msg "seo" "cdn"}}/site/common/css/pc-school-head.css?v={{Msg "seo" "version"}}'> -->
+<link rel="stylesheet" href='{{Msg "seo" "cdn"}}/public-pc/css/header-nav.css?v={{Msg "seo" "version"}}'>
 <link rel="stylesheet" href='{{Msg "seo" "cdn"}}/common-module/ad/css/index.css?v={{Msg "seo" "version"}}'>
 
 <section class="public-nav" id="public-nav" style="display: none">

+ 1 - 1
src/web/templates/site/page/helpCenter/index.html

@@ -69,7 +69,7 @@
           <div class="feedback">
             <h3 class="f-title">意见反馈</h3>
             <div class="f-content">请把您的意见与建议反馈给我们</div>
-            <a class="feedback-btn" href="/helpCenter/feedback">立即反馈</a>
+            <a class="feedback-btn" target="_blank" href="/helpCenter/feedback">立即反馈</a>
           </div>
         </div>
         <div class="hot-handel">

+ 3 - 1
src/web/templates/site/page/jySchool/index.html

@@ -128,7 +128,9 @@
                 <div class="s-b-item" onclick="window.location.href='/jySite/{{$n._id}}.html'">
                   {{$n.s_pic1}}
                   <img class="s-b-item-bg" src='{{Msg "seo" "cdn"}}{{$n.s_pic1}}?v={{Msg "seo" "version"}}' alt="{{$n.s_title}}">
-                  <p class="s-b-item-bar">{{$n.s_title}}</p>
+                  <div class="s-b-item-bar">
+                    <p class="ellipsis-2">{{$n.s_title}}</p>
+                  </div>
                   <div class="shade-bg">
                     <img class="shade-more" src='{{Msg "seo" "cdn"}}/site/page/jySchool/image/more.png?v={{Msg "seo" "version"}}' alt="">
                   </div>