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; } .section-title { position: relative; text-align: center; height: 66px; img { display: block; height: 50px; margin: 0 auto; } h3 { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-size: 34px; font-weight: normal; } } // 导航菜单 .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 { display: flex; align-items: center; height: 68px; li { position: relative; height: 100%; margin-left: 56px; &:hover { &::after { opacity: 1; } a { color: #0688d2; } } &:first-child { margin-left: 0; } &::after { content: ''; opacity: 0; width: 100%; height: 3px; position: absolute; left: 0; bottom: 0; background-color: #0688d2; transition: all .2s; } &.active { &::after { opacity: 1; } a { color: #0688d2; } } a { display: block; line-height: 68px; transition: all .2s; } } } } // 底部区域 .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; } } }