| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- /* pages/collect-video/video/video.wxss */
- .nav-bar {
- background-color: #fff;
- position: relative;
- }
- .icon-back {
- width: 50rpx;
- height: 50rpx;
- position: absolute;
- left: 15px;
- }
- .collect-video-container {
- height: 100vh;
- background-color: #f8f8f8;
- position: relative;
- }
- .video-main {
- position: relative;
- width: 100%;
- height: 500rpx;
- }
- .my-video {
- position: relative;
- width: 100%;
- height: 100%;
- }
- .reward-mask {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- background-color: #333;
- }
- .reward-btn {
- background-color: #1b8edb;
- width: 460rpx;
- height: 80rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- color: #ffffff;
- font-size: 26rpx;
- border-radius: 8rpx;
- margin-bottom: 20rpx;
- }
- .reward-btn .icon-lock {
- width: 40rpx;
- height: 40rpx;
- margin-right: 10rpx;
- }
- .reward-tip {
- color: #ffffff;
- font-size: 24rpx;
- padding-top: 20rpx;
- }
- /* 加载中样式 */
- .loading-container {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- background-color: #000;
- }
- .loading-spinner {
- width: 80rpx;
- height: 80rpx;
- border: 6rpx solid rgba(255, 255, 255, 0.1);
- border-left-color: #fff;
- border-radius: 50%;
- animation: spin 1s linear infinite;
- }
- @keyframes spin {
- to {
- transform: rotate(360deg);
- }
- }
- .loading-text {
- margin-top: 20rpx;
- font-size: 28rpx;
- color: rgba(255, 255, 255, 0.7);
- }
- .video-info {
- padding: 30rpx;
- }
- .video-info .video-title {
- width: 100%;
- font-size: 34rpx;
- font-family:
- PingFang SC,
- PingFang SC-Bold;
- letter-spacing: 2rpx;
- font-weight: bold;
- overflow: hidden;
- white-space: wrap;
- }
- .video-desc {
- margin-top: 30rpx;
- margin-bottom: 30rpx;
- }
- .video-desc .xuanji {
- color: #666;
- font-size: 30rpx;
- margin-right: 20rpx;
- }
- .video-desc .total-ep {
- color: #999;
- font-size: 30rpx;
- margin-right: 20rpx;
- }
- .video-desc .ep-tip {
- color: #bbb;
- font-size: 30rpx;
- }
- .video-eps-scroll {
- width: 100%;
- }
- .video-eps {
- display: flex;
- flex-wrap: nowrap;
- }
- .ep-item {
- flex-shrink: 0;
- width: 200rpx;
- height: 140rpx;
- border-radius: 8rpx;
- position: relative;
- margin-right: 15rpx;
- }
- .ep-item .ep-item-title {
- width: 200rpx;
- height: 50rpx;
- position: absolute;
- top: 0;
- left: 0;
- color: #fff;
- background-color: rgba(0, 0, 0, 0.7);
- border-top-left-radius: 8rpx;
- border-top-right-radius: 8rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 26rpx;
- }
- .ep-item .ep-item-title .icon {
- width: 30rpx;
- height: 30rpx;
- margin-right: 15rpx;
- }
- .ep-item .ep-item-cover {
- width: 100%;
- height: 100%;
- border-radius: 8rpx;
- }
- .title {
- padding-left: 30rpx;
- font-size: 34rpx;
- color: #111;
- }
- /* 列表容器 */
- .list-container {
- background-color: #f8f8f8;
- }
- .list {
- padding: 30rpx;
- box-sizing: border-box;
- }
- /* 视频卡片样式 */
- .video-item {
- position: relative;
- margin-bottom: 20rpx;
- display: flex;
- }
- .video-cover-container {
- width: 240rpx;
- height: 160rpx;
- padding-right: 20rpx;
- }
- .video-cover-container .video-cover {
- width: 100%;
- height: 100%;
- border-radius: 8rpx;
- }
- .video-item-right {
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- }
- .video-item-right .video-title {
- font-size: 34rpx;
- color: #333;
- }
- .video-item-right .video-play-count .icon {
- width: 30rpx;
- height: 30rpx;
- margin-right: 20rpx;
- }
- .video-item-right .video-play-count {
- font-size: 28rpx;
- color: #bfbfbf;
- display: flex;
- align-items: center;
- margin-top: 20rpx;
- }
- /* 加载状态样式 */
- .loading-status {
- padding: 30rpx 0;
- text-align: center;
- font-size: 28rpx;
- color: #999;
- }
- .loading {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- height: 100rpx;
- }
- .loading-spinner {
- width: 40rpx;
- height: 40rpx;
- border: 4rpx solid #f3f3f3;
- border-top: 4rpx solid #07c160;
- border-radius: 50%;
- animation: spin 1s linear infinite;
- margin-bottom: 10rpx;
- }
- .finished {
- height: 80rpx;
- line-height: 80rpx;
- color: #999;
- }
- .empty {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding: 100rpx 0;
- }
- .empty-icon {
- width: 200rpx;
- height: 200rpx;
- margin-bottom: 20rpx;
- }
- @keyframes spin {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(360deg);
- }
- }
|