/* 返回 */ .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; } /* 主要展示区 */ .main { padding: 1rem .26rem 0; min-height: 70vh; } /* 视频 */ .video { padding: .3rem 0 0; display: flex; flex-direction: column; /* justify-content: center; */ align-items: center; } /* 单条视频 */ .videoContent { background-color: #1C1A1B; width: 100%; border-radius: 5px; margin-bottom: .4rem; } .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 { position: relative; width: 100%; height: 3.6rem; background-repeat: no-repeat; background-position: 50% 50%; background-size: cover; border-top-left-radius:4px; border-top-right-radius:4px; } .videoTitle { margin: .1rem .3rem; font-size: .28rem; /* 两行展示 */ overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; } .videoTime { position: absolute; bottom: .1rem; right: .1rem; width: 1.6rem; background-color: rgba(0, 0, 0, 0.6); border-radius: .1rem; height: .4rem; line-height: .4rem; text-align: center; } .close { position: absolute; top: .1rem; right: .1rem; width: .8rem; height: .8rem; } .closeImg { float: right; width: .4rem; height: .4rem; } .backToTop { position: fixed; bottom: 1.3rem; right: .3rem; width: .68rem; height: .68rem; display: none; } .backToTopImg { width: 100%; height: 100%; opacity: .5; } .textwrap { display: flex; justify-content: center; align-items: center; } .tiptext { background-color: #000; border-radius: .1rem; text-align: center; padding: .1rem .2rem; } .tip { width: 6rem; color: #fff; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: none; } .container { width: 100vw; min-height: 100vh; position: relative; } .footer { width: 100%; }