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

@@ -94,7 +94,7 @@
</template>
<script setup>
import { ref, computed } from 'vue'
import { computed } from 'vue'
import { useCommonStore } from '@/stores/common.js'
const props = defineProps({
@@ -116,8 +116,6 @@ const props = defineProps({
}
})
const emit = defineEmits(['comment-tap'])
const common = useCommonStore()
// 处理评论点击事件

View File

@@ -100,8 +100,6 @@ const fetchPostData = async () => {
title: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
source: '36氪',
copywriting: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
current: 0,
isfollow: false,
collectsum: 114514,
likesum: 114514,
imgs: [
@@ -160,8 +158,6 @@ const fetchPostData = async () => {
title: '人工智能技术的最新突破',
source: '科技日报',
copywriting: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
current: 0,
isfollow: false,
collectsum: 114514,
likesum: 114514,
imgs: [
@@ -193,12 +189,6 @@ page,
height: 100vh;
}
.spacerview {
flex: 1;
height: 0;
pointer-events: none
}
.content {
flex-shrink: 0;
overflow: hidden;
@@ -328,6 +318,12 @@ swiper-item {
gap: 8px;
}
.spacerview {
flex: 1;
height: 0;
pointer-events: none
}
.toseeall {
display: flex;
align-items: center;

View File

@@ -88,7 +88,6 @@ const fetchPostData = async () => {
userImg: '/static/logo.png',
date: '2024-12-03',
copywriting: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
current: 0,
isfollow: false,
collectsum: 114514,
likesum: 114514,
@@ -149,7 +148,6 @@ const fetchPostData = async () => {
userImg: '/static/logo.png',
date: '2024-12-03',
copywriting: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
current: 0,
isfollow: false,
collectsum: 114514,
likesum: 114514,
@@ -178,12 +176,6 @@ page,
height: 100vh;
}
.spacerview {
flex: 1;
height: 0;
pointer-events: none
}
.content {
flex-shrink: 0;
overflow: hidden;

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;