1178232204@qq.com 3 lat temu
rodzic
commit
37fdd314d1

+ 4 - 2
src/css/homeStatic.less

@@ -56,6 +56,7 @@
       border-radius: 8px;
       width: 100%;
       padding: 0 30px;
+      padding-left: 150px;
     }
     .searchBtn {
       width: 88px;
@@ -102,10 +103,11 @@
   width: 146px;
   height: 60px;
   background: #ffffff;
-  border-radius: 4px;
+  border-top-left-radius: 4px;
+  border-bottom-left-radius: 4px;
   position: absolute;
-  left: -156px;
   cursor: pointer;
+  border-right: 1px solid #979797;
   .arrow {
     width: 17px;
     height: 17px;

+ 1 - 1
src/css/searchStaticList.less

@@ -341,7 +341,7 @@
   cursor: pointer;
   text-align: center;
   top: 80px;
-  z-index: 99;
+  z-index: 2;
   .arrow {
     width: 17px;
     height: 17px;

+ 1 - 0
src/js/homeStatic.js

@@ -81,6 +81,7 @@ $(function () {
     $(this).addClass('active').siblings().removeClass('active');
     $(".seleName").html($(this).text())
     $(".selc-list").css('display', 'none')
+    $('.code-list li').eq(0).css({ borderColor: '#fff' }).siblings().css({ borderColor: '#2A9BD5' })
     $(".selectItem .arrow").attr("src", iconDown)
     if(codeVal == 1){
       $(".staticTopTab .code-list").css('display','none')

+ 2 - 0
src/js/staticSearch.js

@@ -36,6 +36,8 @@ $(".header-tab li").click(function () {
     $(".staticSearchT input").val('')
     $(this).attr("class", "choice")
     $(this).siblings().attr("class", "")
+    $('.radio-list').find('input[value=1]').prop("checked", true)
+    console.log(123);
     // 获取tab ID
     if (tabid == 1) {
         $(".radio-list").css('display', 'none')