bigShotsDetails.vue 5.2 KB
<template>
	<view class="bigShotsDetails">
		<view class="bigShotsDetails-1">
			<qxcplayer class="qxcplayer-style"  ref="qxcplayerRef"></qxcplayer>
			<view class="bigShotsDetails-1-c">视频专辑:行测</view>
		</view>
		<view class="bigShotsDetails-2">
			<view class="bigShotsDetails-2-1">
				共<text style="color: #2D81FF;">20</text>条评价
			</view>
			<view class="bigShotsDetails-2-2">
				<view class="bigShotsDetails-2-2-i" v-for="(item, index) in 10" :key="index">
					<image class="bigShotsDetails-2-2-i-l" src="@/static/images/tx.png" mode="widthFix"></image>
					<view class="bigShotsDetails-2-2-i-r">
						<view class="bigShotsDetails-2-2-i-r-1">
							<view class="bigShotsDetails-2-2-i-r-1-l">栾珍</view>
							<view class="bigShotsDetails-2-2-i-r-1-r">2023-12-10</view>
						</view>
						<view class="bigShotsDetails-2-2-i-r-2">
							老师讲的很仔细,可能第一册比较简单吧,没有很多 的语法知识,不过我也学到很多,这就是积累的过程, 谢谢老师
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="bigShotsDetails-3-c">
			<view class="bigShotsDetails-3">
				<view class="bigShotsDetails-3-l">
					<view class="bigShotsDetails-3-l-1">
						<input class="bigShotsDetails-3-l-1-in" type="text" placeholder="请输入"/>
					</view>
					<view class="bigShotsDetails-3-l-2">
						发布
					</view>
				</view>
				<view class="bigShotsDetails-3-r">
					<view class="bigShotsDetails-3-r-i">
						<image class="bigShotsDetails-3-r-i-i" src="@/static/imagesV2/icon47.png" mode="widthFix"></image>
						<text>0</text>
					</view>
					<view class="bigShotsDetails-3-r-i">
						<image class="bigShotsDetails-3-r-i-i" src="@/static/imagesV2/icon48.png" mode="widthFix"></image>
						<text>0</text>
					</view>
				</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	import qxcplayer from "@/components/qxcplayer/qxcplayer.vue"
	export default {
		components: {
			qxcplayer
		},
		destroyed() {
			// 销毁
			this.$refs.qxcplayerRef.destory()
		},
		data() {
			return {
			};
		},
		onReachBottom() {
			debugger
		},
		mounted() {
			this.$refs.qxcplayerRef.initData({
				token: 'fb08f60a1b9b32e4ba80|0|1705377109|3743-4262|6021|e7wDu4613bceC0R25|200|',
				env: 'product',
				name: 'qxcname',
			})
		}
	}
</script>

<style lang="scss" scoped>
.bigShotsDetails{
	.bigShotsDetails-1{
		background-color: #fff;
		position: sticky;
		top: 0;
		.bigShotsDetails-1-c{
			padding: 30rpx;
			font-size: 30rpx;
			color: #000000;
			font-weight: bold;
		}
	}
	.bigShotsDetails-2{
		padding: 0 30rpx;
		margin-top: 19rpx;
		background-color: #FFFFFF;
		.bigShotsDetails-2-1{
			font-size: 30rpx;
			color: #000000;
			font-weight: bold;
			padding: 30rpx 0;
		}
		.bigShotsDetails-2-2{
			padding-bottom: calc(env(safe-area-inset-bottom) + 120rpx);
			.bigShotsDetails-2-2-i{
				display: flex;
				padding-bottom: 30rpx;
				border-bottom: 1rpx solid #F3F3F7;
				margin-bottom: 30rpx;
				&:last-child{
					border-bottom: none;
				}
				.bigShotsDetails-2-2-i-l{
					height: 48rpx;
					width: 48rpx;
					border-radius: 100%;
					flex-shrink: 0;
				}
				.bigShotsDetails-2-2-i-r{
					margin-left: 20rpx;
					flex-grow: 1;
					.bigShotsDetails-2-2-i-r-1{
						line-height: 48rpx;
						display: flex;
						justify-content: space-between;
						.bigShotsDetails-2-2-i-r-1-l{
							font-size: 26rpx;
							color: #323232;
						}
						.bigShotsDetails-2-2-i-r-1-r{
							font-size: 24rpx;
							color: #979797;
						}
					}
					.bigShotsDetails-2-2-i-r-2{
						font-size: 26rpx;
						color: #323232;
						line-height: 39rpx;
						margin-top: 20rpx;
					}
				}
			}
		}
	}
	.bigShotsDetails-3-c{
		padding-bottom: env(safe-area-inset-bottom);
		background-color: #fff;
		position: fixed;
		bottom: 0;
		box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.1);
		width: 100%;
		.bigShotsDetails-3{
			height: 120rpx;
			box-sizing: border-box;
			display: flex;
			align-items: center;
			padding: 0 30rpx;
			.bigShotsDetails-3-l{
				display: flex;
				align-items: center;
				.bigShotsDetails-3-l-1{
					height: 68rpx;
					background-color: #F6F6F6;
					border-radius: 200rpx;
					flex-grow: 1;
					display: flex;
					align-items: center;
					padding: 0 33rpx;
					.bigShotsDetails-3-l-1-in{
						font-size: 28rpx;
					}
				}
				.bigShotsDetails-3-l-2{
					height: 56rpx;
					background-color: #2D81FF;
					border-radius: 200rpx;
					font-size: 28rpx;
					color: #fff;
					line-height: 56rpx;
					padding: 0 23rpx;
					flex-shrink: 0;
					margin-left: 20rpx;
				}
			}
			.bigShotsDetails-3-r{
				margin-left: 30rpx;
				display: flex;
				.bigShotsDetails-3-r-i{
					display: flex;
					align-items: center;
					font-size: 26rpx;
					color: #979797;
					line-height: 1.4;
					position: relative;
					&:first-child{
						padding-right: 20rpx;
						margin-right: 18rpx;
						&:before{
							position: absolute;
							right: 0;
							top: 50%;
							transform: translateY(-50%);
							content: '';
							height: 18rpx;
							border-right: #E6E6E6 solid 1rpx;
						}
					}
					.bigShotsDetails-3-r-i-i{
						height: 40rpx;
						width: 40rpx;
						margin-right: 12rpx;
					}
				}
			}
		}
	}
	
}
</style>