header { width: 100%; height: 60px; position: relative; background: #202020; position: fixed; top: 0; z-index: 1000; min-width: 1200px; .left { float: left; width: 230px; height: 100%; background: #202020; position: relative; margin-left: 24px; .ku { width: 110px; cursor: pointer; display: inline-block; vertical-align: middle; } } .search_input { position: relative; height: 100%; width: 110px; display: inline-block; vertical-align: middle; .clearText { position: absolute; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); right: 80px; color: #666; cursor: pointer; } .search_img { height: 100%; color: #fff; line-height: 60px; margin-left:20px; .platform_name{ color: #ffffff; cursor: pointer; font-size: 14px; } .selectBox { padding: 6px 0; background: #fff; position: absolute; top: 60px; left: 0; box-shadow: 0 2px 12px 0 rgba(0,0,0,.2); border-radius: 4px; display: none; &::before { content: ""; position: absolute; top: -17px; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); width: 0; height: 0; border: 10px solid; border-color: transparent; border-bottom-color: #fff; } li { font-size: 14px; padding: 0 20px; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #606266; height: 34px; line-height: 34px; -webkit-box-sizing: border-box; box-sizing: border-box; cursor: pointer; a{ color: #606266; } &:hover { background: #f5f7fa; } img { width: 20px; height: 20px; margin-right: 5px; } } } .el-icon-caret-bottom { background: transparent; transition: transform .3s; } &:hover { .selectBox { display: inline-block; } .el-icon-caret-bottom { transform: rotate(180deg); } } .imgDiv{ display: inline-block; margin-right: 10px; cursor: pointer; &.active{ &::after{ content: ""; display: block; height: 2px; width: 23px; border-radius: 2px; margin: auto; margin-top: 5px; background: #2662FF; } } } .line{ width: 2px; height: 27px; background: #2662FF; display: inline-block; margin: 0 6px; vertical-align: middle; } img{ width: 17px; display: inline-block; vertical-align: middle; background: #fff; border-radius: 4px; } } input { height: 100%; width: calc(100% - 150px); padding-left: 80px; border: none; font-size: 14px; } button{ color: #2662FF; font-size: 14px; border: none; height: 100%; width: 80px; float: right; } } .type { width: calc(100% - 250px); float: left; font-size: 16px; text-align: left; .oneLevel { display: inline-block; line-height: 60px; color: #fff; padding:0 16px; cursor: pointer; position: relative; text-align: center; } .type-active { color: #2662FF; &::after{ content: ''; display: block; width: 20%; height: 2px; background: #2662FF; position: absolute; top: 48px; left: 0; right: 0; margin:auto; } } } .right { float: right; width: calc(100% - 255px); padding-left: 20px; text-align: right; position: relative; box-sizing: border-box; user-select:none; .name { color: #ffffff; font-size: 15px; float: right; height: 60px; display: flex; align-items: center; margin-right: 10px; cursor: pointer; position: relative; z-index: 9; .userName{ display: inline-block; max-width: 90px; padding-right: 5px; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; text-align: center; } #login-el-icon-arrow-down{ display: none; } img{ width: 24px; vertical-align: sub; display: inline-block; margin-right: 10px; } .status { i{ margin-right:7px; font-size: 18px; vertical-align: middle; } } } .center { width: 25%; height: 35px; background: #fff; float: left; right: 170px; position: absolute; top: 0; bottom: 0; margin: auto; text-align: left; background:rgba(255,255,255,0.136); .select { display: inline-block; width: 78px; line-height: 23px; text-align: center; height: 100%; padding: 6px 0 6px 4px; color: #fff; font-size: 15px; vertical-align: middle; cursor: pointer; position: relative; } .select i { margin-left: 3px; } .active { color: #2662FF; } input { width: 80%; font-size: 12px; outline: none; border: none; padding-left: 21px; height: 100%; background: transparent; color: #fff; } button { width: 76px; height: 100%; border: none; position: absolute; right: 0; top: 0; background: #595959; .goole { width: 16px; height: 16px; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); } } } } .worker { height: 60px; line-height: 60px; color: #fff; margin-right: 20px; img { width: 20px!important; height: 20px!important; vertical-align: middle!important; } } .active { color: #2662FF; } .login_info{ float: right; button{ width: 76px; height: 35px; background: #2662FF; color: #fff; border: none; font-size: 15px; line-height: 35px; margin-right: 20px; margin-top: 12.5px; border-radius: 2px; } } .downIconActive { transform: rotate(180deg); } } #homeCantiner { margin-top: 60px; #home_banner{ width: 100%; min-width: 1170px; position: relative; .homeBanner{ width: 100%; } .el-carousel--horizontal{ overflow-y: hidden; height: 100%; .el-carousel__container{ height: 100%; } } .homeContent{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; text-align: center; h2{ font-size: 50px; line-height: 70px; color: #ffffff; margin-top: 43px; // letter-spacing:0.3em; } .title_hint{ color: #FFFFFF; font-size: 26px; line-height: 37px; margin-top: 37px; } .search_div{ margin-top: 50px; .search_type{ display: inline-block; width: 900px; margin: auto; li{ display: inline-block; color: #ffffff; font-size: 14px; height: 30px; line-height: 30px; width: 90px; position: relative; cursor: pointer; &.active{ background: #fff; color: #0174F0; border-radius: 4px; } &.active::after { content: ""; position: absolute; bottom: -17px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border: 10px solid; border-color: #ffffff transparent transparent transparent; } } } .search_item{ width: 962px; height: 56px; border-radius: 4px; background: #fff; margin: auto; margin-top: 20px; .search_icon{ width: 26px; height: 26px; float: right; margin-top: 15px; margin-right: 23px; cursor: pointer; } } .search_input { position: relative; height: 100%; .clearText { position: absolute; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); right: 80px; color: #666; cursor: pointer; } .search_img { height: 100%; position: absolute; top: 50%; margin-top: -10px; left: 15px; img{ width: 22px; height: 22px; display: inline-block; vertical-align: middle; } } input { height: 100%; width: calc(100% - 150px); padding-left: 15px; border: none; font-size: 14px; } } } } } .rankBigBox{ .bigTitle{ color: #222222; font-size: 26px; line-height: 37px; font-weight: 500; text-align: center; margin-top: 60px; } .rankTime{ color: #999999; font-size: 16px; line-height: 22px; margin-top: 14px; text-align: center; height: 22px; } .liveBoardBox,.rankBox,.moreFunction{ width: 962px; margin: auto; } .rankBox{ .itemBox{ width: 303px; height: 506px; background-color: #FFFFFF; box-shadow: 0 2px 13px 0 rgba(150,175,255,0.2); padding:30px; background-image: url('https://kx-bigdata.oss-cn-beijing.aliyuncs.com/newIcon/home/live.png'); background-repeat: no-repeat; background-size:36% ; display: inline-block; vertical-align: middle; margin-right: 21px; margin-top: 21px; &:nth-of-type(3n + 3){ margin-right: 0; } .rankTitle{ .title{ float: left; color: #111111; font-size: 14px; line-height: 25px; font-weight: 500; } .more{ color: #2662FF; font-size: 14px; line-height: 25px; float: right; cursor: pointer; } } .table_title .info1,.table_info .left{ float: left; } .table_title .info2,.table_info .right{ float: right; } .table_title{ color: #666666; font-size: 12px; line-height: 17px; padding: 10px 0; } .table_info{ padding: 10px 0; border-top: 1px solid #E9EFFF; display: block; cursor: pointer; .left{ .imgBox{ width: 42px; height: 60px; border-radius: 4px; background: url('https://kx-bigdata.oss-cn-beijing.aliyuncs.com/blur_bg.png') no-repeat; background-size:100% 100%; position: relative; overflow: hidden; display: inline-block; vertical-align: middle; img{ width: 100%; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; } } .name{ color: #111111; font-size: 12px; line-height: 17px; width: 100px; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; display: inline-block; vertical-align: middle; margin-left: 10px; } } .right{ color: #666666; font-size: 12px; font-weight: bold; line-height: 60px; } } } .itemBox_dr{ background-image: url('https://kx-bigdata.oss-cn-beijing.aliyuncs.com/newIcon/home/dr.png'); } .itemBox_goods{ background-image: url('https://kx-bigdata.oss-cn-beijing.aliyuncs.com/newIcon/home/goods.png'); } .itemBox_video{ background-image: url('https://kx-bigdata.oss-cn-beijing.aliyuncs.com/newIcon/home/video.png'); } .itemBox_music{ background-image: url('https://kx-bigdata.oss-cn-beijing.aliyuncs.com/newIcon/home/music.png'); } .itemBox_comment{ background-image: url('https://kx-bigdata.oss-cn-beijing.aliyuncs.com/newIcon/home/huifu.png'); } } .liveBoard{ width: 100%; height: 183px; background: url('https://kx-bigdata.oss-cn-beijing.aliyuncs.com/wxVideo/home_bg_1.png') no-repeat; background-size:100% ; margin-top: 106px; .liveBoardBox{ padding-top: 75px; .self_selet_button{ width: 118px; height: 56px; background: #2662FF; border-radius: 4px; color: #FFFFFF; font-size: 16px; border: none; float: right; } .self_select{ width: 820px; float: left; position: relative; .self_select_input{ width: 100%; background-color: #fff; background-image: none; border-radius: 4px; border: 1px solid #dcdfe6; box-sizing: border-box; color: #333333; display: inline-block; font-size: inherit; height: 56px; line-height: 56px; outline: none; padding: 0 15px; transition: border-color .2s cubic-bezier(.645,.045,.355,1); cursor: pointer; .self_select_input_inner{ width: 760px; height: 100%; border: none; background: transparent; margin-top: -5px; cursor: pointer; } .icon{ width: 20px; display: inline-block; transition: transform .3s; } } .self_popper{ min-width: 240px; z-index: 2027; position: absolute; top: 70px; left: 0; margin-bottom: 12px; border: 1px solid #e4e7ed; border-radius: 4px; background-color: #fff; box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1); box-sizing: border-box; margin: 5px 0; transform: scaleY(0); transition: transform 0.2s; transform-origin: top center; .popper_arrow{ top: -12px; left: 35px; margin-right: 3px; border-top-color: #fff; border-bottom-width: 0; border-width: 6px; filter: drop-shadow(0 2px 12px rgba(0,0,0,.03)); position: absolute; display: block; width: 0; height: 0; border-color:transparent; border-bottom-color:#fff; border-style: solid; &::after{ content: " "; border-width: 6px; bottom: 1px; margin-left: -6px; border-top-color: #fff; border-bottom-width: 0; position: absolute; display: block; width: 0; height: 0; border-color: transparent; border-style: solid; } } .select_dropdown_list{ list-style: none; padding: 6px 0; margin: 0; box-sizing: border-box; max-width: 820px; .select_dropdown_item{ font-size: 14px; padding: 0 20px; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #606266; height: 34px; line-height: 34px; box-sizing: border-box; cursor: pointer; display: block; &:hover{ background-color: #f5f7fa; } &.selected{ color: #409eff; font-weight: 700; } } } } } } } .hotVideoBox{ .hotVideo{ width: 300px; height: 140px; background: #ffffff; border-radius: 6px; margin-right: 25px; margin-top: 50px; overflow: hidden; box-shadow: 0 2px 12px 0 rgba(0,0,0,.2); display: inline-block; &:nth-of-type(3n+3){ margin-right: 0; } .imgBox{ display: inline-block; width: 140px; height: 140px; position: relative; overflow: hidden; vertical-align: middle; img{ width: 100%; } } .vidoe_info{ display: inline-block; margin-left: 12px; vertical-align: middle; .video_name{ color: #333333; font-size: 15px; line-height: 40px; font-weight: 600; width: 110px; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; } .video_user{ width: 110px; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; padding-bottom: 18px; border-bottom: 1px dotted #E8E8E8; margin-top: 5px; img{ width: 20px; height: 20px; border-radius: 50%; display: inline-block; vertical-align: middle; } span{ vertical-align: middle; color: #333333; font-size: 12px; line-height: 17px; margin-left: 4px; } } .zan{ margin-top: 13px; img{ width: 17px; display: inline-block; vertical-align: middle; } span{ color: #333333; font-size: 12px; line-height: 17px; margin-left: 6px; } } } } } .moreFunction{ margin-top: 90px; margin-bottom: 75px; li{ text-align: center; width: 140px; float: left; margin-right: 134px; transition: all 0.6s; &:hover{ transform: scale(1.4); } &:last-of-type{ margin-right: 0; } .functionImg{ width: 139px; height: 120px; margin: auto; img{ width: 100%; } } .functionName{ color: #111111; font-size: 12px; line-height: 17px; margin-top: 32px; } } } } } footer{ width: 100%; height: 270px; position: relative; background: #202020; .con{ width: 1246px; height: 230px; position: relative; margin:auto; padding-top:32px; box-sizing: border-box; .left{ float: left; .logo{ height: 47px; display: inline-block; vertical-align: top; margin-right: 50px; } .outerChainBox{ display: inline-block; vertical-align: top; color: #ffffff; width: 100px; text-align: center; margin: 0 20px; li{ font-size: 10px; line-height: 14px; margin-bottom: 13px; color: rgba(255,255,255,0.8); &:first-of-type{ font-size: 13px; line-height: 18px; font-weight: 600; margin-bottom: 18px; color: #ffffff; } a{ color: rgba(255,255,255,0.8); &:hover{ color: #2662FF; } } } } } .right{ float: right; .evmBox{ display: inline-block; vertical-align: top; text-align: center; margin: 0 9px; .imgBox{ width: 90px; height:90px; border-radius: 4px; margin: auto; background: #ffffff; overflow: hidden; img{ width: 100%; height:100%; } } .desc{ color: rgba(255,255,255,0.8); font-size: 10px; line-height: 14px; margin-top: 8px; } } } } .recordBottom{ background: #262626; clear: both; font-size: 12px; font-weight: 400; line-height: 40px; text-align: center; color: rgba(135, 135, 135, 1); } }