deleteunusedcode

This commit is contained in:
WanP
2025-10-16 14:55:51 +08:00
parent c149d9bca4
commit 7becbb8ca3
4 changed files with 9 additions and 108 deletions

View File

@@ -93,8 +93,6 @@ const videoData = reactive({
userImg: '/static/logo.png',
date: '2024-01-15',
copywriting: '鸡你太美!练习时长两年半的个人练习生!鸡你太美!练习时长两年半的个人练习生!鸡你太美!练习时长两年半的个人练习生!',
current: 0,
isfollow: false,
likesum: 1145140,
collectsum: 114514,
commentsum: 114514,
@@ -258,30 +256,11 @@ const toggleMute = () => {
/* 弹幕区域 */
::v-deep .uni-video-danmu {
height: 15% !important;
height: 15% !important;
z-index: 2;
margin: 32px 0 0;
}
.user-nickname {
font-size: 16px;
font-weight: 600;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.content {
font-size: 14px;
line-height: 1.4;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.publish-time {
font-size: 12px;
color: rgba(255, 255, 255, 0.8);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
/* 右侧交互面板 */
.interaction-panel {
position: absolute;
@@ -329,12 +308,6 @@ const toggleMute = () => {
border-radius: 50%;
}
.follow-icon {
width: 20px;
height: 20px;
border-radius: 50%;
}
/* 交互按钮 */
.action-btn {
width: 30px;
@@ -451,64 +424,6 @@ const toggleMute = () => {
max-width: 273px;
}
/* 自定义播放按钮 */
.custom-play-button {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80px;
height: 80px;
background: rgba(0, 0, 0, 0.5);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
cursor: pointer;
transition: all 0.3s ease;
}
.custom-play-button:hover {
background: rgba(0, 0, 0, 0.7);
transform: translate(-50%, -50%) scale(1.1);
}
.play-icon {
font-size: 40px;
color: white;
margin-left: 5px;
}
/* 自定义播放按钮 */
.custom-play-button {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80px;
height: 80px;
background: rgba(0, 0, 0, 0.5);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
cursor: pointer;
transition: all 0.3s ease;
}
.custom-play-button:hover {
background: rgba(0, 0, 0, 0.7);
transform: translate(-50%, -50%) scale(1.1);
}
.play-icon {
font-size: 40px;
color: white;
margin-left: 5px;
}
.flodbtncontainer {
height: 22px;
width: 16px;
@@ -551,8 +466,8 @@ const toggleMute = () => {
}
.uni-video-cover-play-button {
width: 100%;
height: 100%;
width: 100% !important;
height: 100% !important;
display: flex;
align-items: center;
justify-content: center;