123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366 |
- 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;
- }
- }
- }
|