123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- /* 返回 */
- .nav {
- background-color: #101010;
- z-index: 3;
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- /* height: 10%; */
- height: .88rem;
- display: flex;
- }
- .back{
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- width: 10%;
- height: .88rem;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .back img {
- width: .18rem;
- }
- /* 页面标题 */
- .pageTitle {
- height: .88rem;
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .pageTitle img {
- width: 1.6rem;
- height: .8rem;
- }
- /* 主要展示区 */
- .main {
- padding: 1rem .26rem;
- }
- /* 视频 */
- .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;
- 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;
- }
- .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;
- }
- .videoColumn {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .videoData {
- width: 2.8rem;
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin: .1rem .3rem .2rem .3rem;
- }
- .close {
- width: .34rem;
- height: .34rem;
- }
- .closeImg {
- width: 100%;
- height: 100%;
- }
- .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; */
- }
- .backToTop {
- position: fixed;
- bottom: 1.3rem;
- right: .3rem;
- width: .68rem;
- height: .68rem;
- display: none;
- }
- .backToTopImg {
- width: 100%;
- height: 100%;
- opacity: .5;
- }
- .tip {
- width: 6rem;
- height: 1rem;
- color: #fff;
- position: fixed;
- top: 50%;
- left: 50%;
- transform: translate(-50%,-50%);
- display: none;
- }
- .textwrap {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .tiptext {
- background-color: #000;
- border-radius: .1rem;
- text-align: center;
- padding: .1rem .2rem;
- }
|