.search { width: 630px; height: 87px; margin: 40px auto; } .search .tabs{ display: flex; padding-left: 18px; } .search .tabs li{ color: #F40; text-align: center; width: 36px; height: 22px; line-height: 22px; margin-right: 4px; cursor: pointer; font-size: 12px; } .tabs_active { background: linear-gradient(to right,#ff9000 0,#ff5000 100%); color: #fff !important; border-top-right-radius: 6px; border-top-left-radius: 6px; } .search .search_input{ display: flex; height: 40px; } .input_left { width: 556px; border: 2px solid #ff5000; border-top-left-radius: 20px; border-bottom-left-radius: 20px; position: relative; overflow: hidden; border-right: none; } .input_left i { position: absolute; top: 25%; color: #666; font-size: 16px; } .icon-xinbaniconshangchuan- { left: 15px; } .icon-xiangji { right: 15px; } .input_left input { width: 100%; height: 100%; box-sizing: border-box; border: none; outline: none; padding-left: 5px; padding-right: 60px; } input::-webkit-input-placeholder { padding-left: 30px; } .input_right { flex: 1; background: linear-gradient(to right,#ff9000 0,#ff5000 100%); color: #fff; text-align: center; line-height: 40px; font-size: 18px; border-top-right-radius: 20px; border-bottom-right-radius: 20px; } .search .search_key { display: flex; margin-top: 8px; } .search .search_key li{ font-size: 12px; color: #3c3c3c; margin-right: 5px; } .menu { display: flex; height: 30px; align-items: center; font-size: 16px; color: #fff; background: linear-gradient(to right,#ff9000 0,#ff5000 100%); } .menu li { margin: 0 3px; text-align: center; padding: 0 4px; position: relative; cursor: pointer; } .line { margin-left: 7px !important; font-size: 14px !important; } .menu li:hover::before { content: ""; position: absolute; width: 27.5px; height: 14px; background: url("../tm.png"); background-size: cover; top: -17px; left: 50%; /* left: calc(50% - 27.5px /2); */ transform: translateX(-50%); } .line:hover::before { content: ""; background: none !important; } .userinfo { width: 290px; height: 520px; } .login { background: url("../userback.png"); background-size: 290px 145px; background-repeat: no-repeat; background-position: 0 0; height: 137px; text-align: center; padding-top: 5px; font-size: 0; } .login img { width: 50px; height: 50px; border-radius: 100%; } .login p { font-size: 12px; color: #3c3c3c; margin-top: 4px; margin-bottom: 3px; } .login {} .login ul{ display: flex; justify-content: center; } .login li{ background: #ffe4db; display: flex; padding-right: 10px; border-radius: 9px; margin-right: 8px; } .login li:last-child { margin-right: 0 !important; } .login li .jb{ height: 16px; width: 16px; background: url("https://img.alicdn.com/tfs/TB1tyFSXm_I8KJjy0FoXXaFnVXa-48-1194.png"); background-size: 24px 597px; background-position: 0 -572.5px; margin-right: 3px; } .login li span{ font-size: 12px; color: #ff5000; } .buttons { display: flex; justify-content: center; margin-top: 9px; } .button { font-size: 14px; color: #fff; text-align: center; height: 25px; line-height: 25px; width: 75px; border-radius: 4px; background: linear-gradient(to right,#ff5000 0,#ff6f06 100%); } .login_button { width: 92px !important; } .reg_button { margin: 0 7px; } .gg { width: 100%; } .news { margin-top: 7px; padding: 0 8px; } .news_title { display: flex; justify-content: space-around; align-items: center; height: 25px; } .news_title .item{ font-size: 12px; color: #3C3C3C; } .news_content { font-size: 12px; color: #3c3c3c; padding: 6px 5px; } .jgg { margin-top: 10px; display: flex; flex-wrap: wrap; border-top: 1px solid #f4f4f4; border-left: 1px solid #f4f4f4; } .jgg li{ text-align: center; width: 25%; border-right: 1px solid #f4f4f4; border-bottom: 1px solid #f4f4f4; box-sizing: border-box; height: 75px; display: flex; flex-direction: column; justify-content: center; align-items: center; } .jgg li .jlt{ width: 24px; height: 24px; background: url("https://img.alicdn.com/tfs/TB1tyFSXm_I8KJjy0FoXXaFnVXa-48-1194.png"); background-size: 24px 597px; margin-bottom: 6px; } .jgg li:nth-child(1) .jlt{ background-position: 0 0; } .jgg li:nth-child(1) .jlt{ background-position: 0 -87px; } .jgg li p{ font-size: 12px; color: #333; }