/* 头部吸顶 */ .header { padding: 0 16px; padding-top: 0; background-color: #000; z-index: 1; } .loginBox { position: fixed; right: 0; top: 0; width: 100%; height: 100%; z-index: 9; background-color: rgba(0, 0, 0, .7); display: none; } .loginCenterBox { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); background-color: #262626; border-radius: 12px; display: flex; flex-direction: column; /* justify-content: center; */ align-items: center; width: 7rem; height: 4.5rem; } .accountRightText { background-color: #333333; border-radius: 15px; width: 6.46rem; height: 1.1rem; line-height: 1.1rem; font-size: .32rem; text-align: center; margin-top: .6rem; color: #fff; } #login { margin-top: .26rem; } .guanbi { width: .5rem; height: .5rem; margin-top: .62rem; } /* 账户信息 */ .account { display: flex; justify-content: space-between; align-items: center; /* height: .88rem; */ height: 44px; } .accountLeft { display: flex; justify-content: center; align-items: center; height: 100%; } .logo { width: 80px; height: 40px; } .accountRight { } .userImg { width: 20px; height: 22px; } /* 导航分类 */ .nav { margin-top: 15px; display: flex; justify-content: space-between; align-items: center; } .nav li{ display: flex; flex-direction: column; justify-content: center; align-items: center; } .nav li img { width: 20px; height: 20px; } .nav li .newImg { width: 30px; height: 20px; } .navText { margin-top: 10px; text-align: center; } .searchInputContent { display: flex; justify-content: space-between; align-items: center; width: 100%; } .clearTextImg { width: 20px; height: 20px; } /* 搜索 */ .search { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; height: 45px; border-radius: 22.5px; background-color: #2F2F2F; } .searchLeft { display: flex; justify-content: center; align-items: center; width: 80px; } .searchImg { width: 20px; height: 20px; } .searchInput { background-color: #2f2f2f; border: none; outline: none; resize: none; height: 100%; line-height: 100%; width: 100%; color: #fff; text-align: left; } .searchBtn { text-align: center; width: 130px; height: 50px; line-height: 50px; color: #EAEAEA; font-size: 16px; } /* 主要展示区 */ .main { padding: 0 .26rem 1rem .26rem; } /* 视频 */ .videopage { } .video { display: grid; text-align: center; /* // 设置网格布局 */ grid-template-columns: 1fr 1fr; /* // 列的比例分布,分成三例,每列占比总宽度的1/3 */ grid-gap: .2rem; /* // 各网格间距为10px */ padding-bottom: .12rem; padding-top: .3rem; } /* 单条视频 */ .videoContent { background-color: #1C1A1B; width: 3.4rem; min-height: 3.64rem; border-radius: 5px; } .loading { display: flex; flex-direction: column; align-items: center; justify-content: center; } .loadingImg { width: 80px; height: 76px; } .loadingText { text-align: center; margin-top: 4px; color: #8E8D8D; font-size: 12px; } .videoPhoto { width: 3.4rem; height: 2.4rem; background-repeat: no-repeat; background-position: 50% 50%; background-size: cover; border-top-left-radius:0.12rem; border-top-right-radius:0.12rem; } h2 { margin-top: 20px; min-height: 27px; line-height: 27px; } .videoImg { width:100%; height:100%; } .videoTitle { height: .9rem; text-align: left; font-size: .28rem; margin: .2rem .3rem 0 .3rem; /* 两行展示 */ overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; } .videoData { width: 2.8rem; display: flex; justify-content: space-between; align-items: center; margin: .1rem .3rem .2rem .3rem; } .videoDataLeft { display: flex; align-items: center; margin-right: .1rem; } .videoDataImgLook { width:.3rem; height: .2rem; } .videoDataImgZan { width:.28rem; height: .3rem; } .videoText { margin-left: .1rem; font-size: .24rem; } .videoDataRgiht { display: flex; align-items: center; } /* 热门标签 */ .labelpage{ display: none; padding-top: .3rem; }.hotLabel { /* text-align: center; */ /* display: grid; */ /* // 设置网格布局 */ /* grid-template-columns: 1fr 1fr 1fr 1fr 1fr; */ /* // 列的比例分布,分成三例,每列占比总宽度的1/3 */ /* grid-gap: .08rem; */ /* // 各网格间距为10px */ /* padding-bottom: .12rem; */ display: flex; flex-wrap: wrap; } .label { margin-right: .12rem; margin-bottom: .12rem; /* width: 1.32rem; */ padding: .2rem .2rem; border-radius: .2rem; /* height: 1rem; */ background-color: #262626; font-size: .28rem; text-align: center; } .backToTop { position: fixed; bottom: 1.3rem; right: .3rem; width: .68rem; height: .68rem; display: none; } .backToTopImg { width: 100%; height: 100%; opacity: .5; } button { display: inline-block; padding: 6px 12px; font-weight: 400; line-height: 1.42857143; text-align: center; vertical-align: middle; cursor: pointer; border: 1px solid transparent; border-radius: 4px; border-color: #28a4c9; color: #fff; background-color: #5bc0de; margin: 20px 20px 0 0; } .box { width: 100%; padding-bottom: 20px; height: 80px; display: none; } .page { width: 100%; } .info { width: 200px; height: 34px; line-height: 34px; } .fl { float: left; } /* 底部标签栏 */ .tabbar { position: fixed; bottom: 0; left: 0; height: .88rem; width: 100%; padding-top: .12rem; background-color: #000; z-index: 1; font-size: .24rem; } .currentTab { display: block; color: #CE5C2A; } .tabbar li { list-style: none; display: flex; flex-direction: column; justify-content: center; align-items: center; float: left; /* width: 33.33%; */ width: 50%; text-align: center; } .tabbar li img { width: .36rem; height: .36rem; margin-bottom: .12rem; } .textwrap { display: flex; justify-content: center; align-items: center; } .tiptext { background-color: #000; border-radius: .1rem; text-align: center; padding: .1rem .2rem; } .bottomLoadContent { display: none; } .quanWrap { display: flex; justify-content: center; align-items: center; } .quanText { font-size: .3rem; color: #fff; } .quanquan { margin-left: 20px; width: 20px; height: 20px; } .tip { width: 6rem; height: 1rem; color: #fff; position: fixed; top: 53%; left: 50%; transform: translate(-50%,-53%); display: none; }