/* header */ .main_header { position: fixed; left: 50%; top: 0; width: 100%; height: 1rem; margin: 0 auto; background: rgba(0, 0, 0, 0.1); transform: translateX(-50%); z-index: 99; } .head_center { width: 16rem; height: 1rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; } /* logo */ .main_header .logo { width: 2.3rem; height: 0.59rem; } .main_header .logo_img { width: 100%; height: 100%; } /* 鍙充晶瀵艰埅銆佹寜閽 */ .head_right_box { display: flex; align-items: center; } .head_right_box .navs { height: 1rem; margin-right: 0.46rem; } .head_right_box .nav_item { display: inline-block; height: 1rem; margin: 0 0.31rem; font-size: 0.2rem; font-family: Microsoft YaHei; color: #FFFFFF; line-height: 1rem; } .head_right_box .nav_active { font-weight: bold; border-bottom: 0.05rem solid #fff; } /* buttons */ .head_right_box .buttons { display: flex; align-items: center; } .head_right_box .head_btn { width: 0.45rem; height: 0.45rem; margin-right: 0.2rem; } .head_right_box .head_btn_img { width: 100%; height: 100%; } .head_right_box .btn_language { position: relative; width: 0.95rem; height: 0.44rem; background: #FFFFFF; border-radius: 0.22rem; display: flex; align-items: center; justify-content: center; } .head_right_box .font_en { margin-right: 0.09rem; font-size: 0.16rem; font-family: Arial; color: #004282; line-height: 0.32rem; } .head_right_box .btn_img { width: 0.16rem; height: 0.09rem; } /*涓嫳鏂囧垏鎹?/ .toggle_box { position: absolute; left: 0; bottom: -0.9rem; width: 0.95rem; /*height: 0.44rem;*/ padding: 0.1rem; background: #FFFFFF; text-align: center; border-radius: 0.05rem; display: none; } .toggle_box .lang { display: block; margin-top: 0.1rem; font-size: 0.16rem; font-family: Arial; color: #004282; } /*08.25淇敼---鍐呴〉鐨勬椂鍊欙紝瀵艰埅鏀瑰彉*/ .head_center_in { width: 16rem; height: 1rem; margin: 0 auto; /*margin-top: 0.08rem;*/ display: flex; align-items: center; justify-content: space-between; /*background-color: transparent;*/ } /* logo */ .head_center_in .logo { width: 2.3rem; height: 0.59rem; } .head_center_in .logo_img { width: 100%; height: 100%; } /* 鍙充晶瀵艰埅銆佹寜閽 */ .head_center_in .navs_add { height: 1rem; margin-right: 0.46rem; } .head_center_in .nav_item { display: inline-block; height: 1rem; margin: 0 0.31rem; font-size: 0.2rem; font-family: Microsoft YaHei; color: #0A2266; line-height: 1rem; } .head_center_in .nav_active { font-weight: bold; color: #0A2266; border-bottom: 0.05rem solid #0A2266; } /* buttons */ .head_center_in .buttons { display: flex; align-items: center; } .head_center_in .head_btn { width: 0.45rem; height: 0.45rem; margin-right: 0.2rem; } .head_center_in .head_btn_img { width: 100%; height: 100%; } .head_center_in .btn_language { position: relative; width: 0.95rem; height: 0.44rem; background: #E9E9E9; border-radius: 0.22rem; display: flex; align-items: center; justify-content: center; } .head_center_in .font_en { margin-right: 0.09rem; font-size: 0.16rem; font-family: Arial; color: #004282; line-height: 0.32rem; } .head_center_in .btn_img { width: 0.16rem; height: 0.09rem; } /*涓嫳鏂囧垏鎹?/ .head_center_in .toggle_box { position: absolute; left: 0; bottom: -0.9rem; width: 0.95rem; /*height: 0.44rem;*/ padding: 0.1rem; background: #E9E9E9; text-align: center; border-radius: 0.05rem; display: none; } .head_center_in .toggle_box .lang { display: block; margin-top: 0.1rem; font-size: 0.16rem; font-family: Arial; color: #004282; } .common-phone-header, .side-wrap{ display: none; } @media only screen and (max-width: 1024px) { /* body { padding: 0.9rem 0 1rem !important; } */ .main_header { display: none; } .header-wrap { display: none; } .common-phone-header { display: block !important; } .side-wrap { display: block !important; } /* 閹靛婧€鐎佃壈鍩 */ .common-phone-header { position: fixed; z-index: 10000; top: 0; left: 0; width: 100%; background: rgb(0, 66, 130); } .common-phone-header-inner { display: flex; height: 50px; /*border-bottom: 1px solid #eee;*/ padding: 0 15px; justify-content: space-between; align-items: center; } .header-menu-phone{ height: 30px; } .header-logo-phone { height: 30px; } .header-search-phone { height: 30px; } /* 閹兼粎鍌ㄥ锟 */ .header-search-box-phone { display: none; } .header-search-input-phone { border-radius: 20px; height: 35px; border-width: 1px; border: 1px solid #333; padding: 0 10px; font-size: 14px; } /* 娓氀嗙珶閺嶅繐顕遍懜锟 */ .side-modal { display: none; position: fixed; z-index: 99999; left: 0; top: 0; height: 100vh; width: 100vw; background:rgba(0, 0, 0, .5); } .side-container { display: none; position: fixed; z-index: 100000; left: 0; top: 0; height: 100vh; width: 6.4rem; background-color: #fff; color: #000; border-left: 1px solid #eee; animation: ani_side 1s; } .side-container.shown { display: block; } @keyframes ani_side{ from { display: none; width: 3rem; } to { display: block; width: 6.4rem; } } .side-wrap { width: 100%; } .side-top { display: flex; height: 60px; padding: 0 20px 0 30px; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; background: rgb(0, 66, 130); } .side-logo { width: 2rem; } .side-close { width:.48rem; } .side-bottom { padding: 0 .48rem 0 .72rem; } .side-bottom .side-nav-list{ width: 100%; height: 95vh; overflow-y: scroll; } .nav-item-inner { display: flex; justify-content: space-between; align-items: center; /* padding: .27rem .48rem .27rem .72rem; */ padding: .27rem 0 .27rem 0; border-bottom: 1px solid #eee; } .nav-item-inner span{ display: flex; align-items: center; font-size: 14px; } .nav-item-inner img{ /* width: .48rem; */ width: .4rem; } .side-nav-list .nav-item a{ color: #000; font-size: .26rem; width: 100%; display: inline-block !important; } .side-nav-list .side-local-img { width: .3rem; margin-right: .2rem; vertical-align: text-bottom; } .side-nav-list-sub { display: none; } .side-nav-list-sub .side-back-img { width: .3rem; margin-right: .2rem; vertical-align: text-bottom; } .side-nav-list-main .nav-item:first-child{ /*display: none;*/ } .side-nav-list-main .nav-item:last-child{ /* display: none; */ }