body { min-height: 100vh; font-size: 16px; color: #272727; font-family: 'Microsoft YaHei', SimSun, Arial, Helvetica, sans-serif; } h1, h2, h3, h4, h5, h6, p { margin: 0; font-size: 16px; } ul, ol { margin: 0; padding: 0; } li { padding: 0; list-style-type: none; } a { text-decoration: none; color: #272727; } ::-webkit-scrollbar { width: 8px; height: 8px; background-color: #f5f5f5; } ::-webkit-scrollbar-thumb { border-radius: 4px; background-color: #cccecf; } .container { width: 1200px; margin: 0 auto; } .flex { display: flex; justify-content: space-between; align-items: center; } .fl { float: left !important; } .fr { float: right !important; } .clearfix::after { content: ''; display: block; clear: both; } .mt18 { margin-top: 18px; } .mr18 { margin-right: 18px; } .mb18 { margin-bottom: 18px; } .ml18 { margin-left: 18px; } .banner { position: relative; width: 100%; min-width: 1200px; height: 530px; overflow: hidden; img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } } // 导航菜单 .header { position: sticky; width: 100%; left: 0; top: 0; z-index: 99; background-color: #fff; .logo { h1 { font-size: 0; } img { display: block; height: 42px; } } .nav { & > li { float: left; position: relative; margin-right: 56px; &:last-child { margin-right: 0; } &:hover { & > a { color: #0688d2; } &::after { display: block; } .menu { display: block; } } & > a { display: block; line-height: 68px; } &::after { content: ''; position: absolute; display: none; width: 32px; height: 3px; background: #0688d2; left: 50%; bottom: 0; transform: translateX(-50%); } &.active { & > a { color: #0688d2; } &::after { display: block; } } } .menu { display: none; position: absolute; background: #fff; border: 1px solid #f8f8f8; min-width: 128px; left: 50%; top: 68px; transform: translateX(-50%); & > li { &:hover { background: #0688d2; & > a { color: #fff; } .submenu { display: block; } } & > a { display: block; font-size: 14px; text-align: center; line-height: 50px; } &.dropdown > a { background: url(/img/icon-arrow-right.png) no-repeat; background-position: 88% center; background-size: 16px; } } .submenu { display: none; position: absolute; top: 0; right: 0; background: #fff; width: 306px; min-height: 200px; border: 1px solid #f8f8f8; border-left-color: #e8e8e8; transform: translateX(100%) translateX(-1px); box-sizing: border-box; padding: 16px 24px; & > li { float: left; margin: 16px 16px 0 0; &:nth-child(2n) { margin-right: 0; } &:nth-child(-n + 2) { margin-top: 0; } & > a { display: block; font-size: 14px; width: 120px; text-align: center; line-height: 32px; background: #f7f7f7; &:hover { background: #eff9ff; color: #0688d2; } } } } } } } // 底部区域 .footer { margin-top: 120px; padding-top: 38px; padding-bottom: 24px; background: #1b1b1b; .container { .section { margin-right: 180px; .item { position: relative; color: rgba(255, 255, 255, 0.5); margin-top: 20px; padding-left: 30px; font-size: 12px; &::before { content: ''; display: block; width: 20px; height: 20px; background-color: #fff; position: absolute; left: 0; top: 50%; transform: translateY(-50%); } &.mobile { span { &:last-child { margin-left: 16px; } } } } } .nav { margin-left: 110px; li { margin-top: 25px; text-align: center; &:first-child { margin-top: 12px; } a { font-size: 14px; color: rgba(255, 255, 255, 0.5); &:hover { color: #0688d2; } } } } .qrcode { padding: 7px; background: rgba(255, 255, 255, 0.06); img { display: block; width: 94px; height: 94px; background-color: #fff; } .tip { font-size: 12px; color: #ffffff; margin-top: 5px; text-align: center; } } } .line { width: 100%; height: 1px; background-color: rgba(255, 255, 255, 0.3); margin: 32px 0 24px; } .link { display: flex; justify-content: center; align-items: center; i { display: block; height: 10px; width: 1px; background-color: rgba(255, 255, 255, 0.4); margin: 0 16px; } a { color: rgba(255, 255, 255, 0.4); font-size: 12px; &:hover { color: #0688d2; } } } .copyright { margin-top: 20px; text-align: center; color: rgba(255, 255, 255, 0.4); font-size: 12px; a { color: rgba(255, 255, 255, 0.8); text-decoration: underline; } * { margin: 0 24px; } } }