deleteunusedcode
This commit is contained in:
@@ -94,7 +94,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref, computed } from 'vue'
|
import { computed } from 'vue'
|
||||||
import { useCommonStore } from '@/stores/common.js'
|
import { useCommonStore } from '@/stores/common.js'
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
@@ -116,8 +116,6 @@ const props = defineProps({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
const emit = defineEmits(['comment-tap'])
|
|
||||||
|
|
||||||
const common = useCommonStore()
|
const common = useCommonStore()
|
||||||
|
|
||||||
// 处理评论点击事件
|
// 处理评论点击事件
|
||||||
|
|||||||
@@ -100,8 +100,6 @@ const fetchPostData = async () => {
|
|||||||
title: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
|
title: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
|
||||||
source: '36氪',
|
source: '36氪',
|
||||||
copywriting: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
|
copywriting: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
|
||||||
current: 0,
|
|
||||||
isfollow: false,
|
|
||||||
collectsum: 114514,
|
collectsum: 114514,
|
||||||
likesum: 114514,
|
likesum: 114514,
|
||||||
imgs: [
|
imgs: [
|
||||||
@@ -160,8 +158,6 @@ const fetchPostData = async () => {
|
|||||||
title: '人工智能技术的最新突破',
|
title: '人工智能技术的最新突破',
|
||||||
source: '科技日报',
|
source: '科技日报',
|
||||||
copywriting: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
|
copywriting: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
|
||||||
current: 0,
|
|
||||||
isfollow: false,
|
|
||||||
collectsum: 114514,
|
collectsum: 114514,
|
||||||
likesum: 114514,
|
likesum: 114514,
|
||||||
imgs: [
|
imgs: [
|
||||||
@@ -193,12 +189,6 @@ page,
|
|||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.spacerview {
|
|
||||||
flex: 1;
|
|
||||||
height: 0;
|
|
||||||
pointer-events: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -328,6 +318,12 @@ swiper-item {
|
|||||||
gap: 8px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.spacerview {
|
||||||
|
flex: 1;
|
||||||
|
height: 0;
|
||||||
|
pointer-events: none
|
||||||
|
}
|
||||||
|
|
||||||
.toseeall {
|
.toseeall {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -88,7 +88,6 @@ const fetchPostData = async () => {
|
|||||||
userImg: '/static/logo.png',
|
userImg: '/static/logo.png',
|
||||||
date: '2024-12-03',
|
date: '2024-12-03',
|
||||||
copywriting: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
|
copywriting: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
|
||||||
current: 0,
|
|
||||||
isfollow: false,
|
isfollow: false,
|
||||||
collectsum: 114514,
|
collectsum: 114514,
|
||||||
likesum: 114514,
|
likesum: 114514,
|
||||||
@@ -149,7 +148,6 @@ const fetchPostData = async () => {
|
|||||||
userImg: '/static/logo.png',
|
userImg: '/static/logo.png',
|
||||||
date: '2024-12-03',
|
date: '2024-12-03',
|
||||||
copywriting: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
|
copywriting: '智能体是人类智慧的延伸,它们将成为我们最强大的工具,也是最亲密的朋友。',
|
||||||
current: 0,
|
|
||||||
isfollow: false,
|
isfollow: false,
|
||||||
collectsum: 114514,
|
collectsum: 114514,
|
||||||
likesum: 114514,
|
likesum: 114514,
|
||||||
@@ -178,12 +176,6 @@ page,
|
|||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.spacerview {
|
|
||||||
flex: 1;
|
|
||||||
height: 0;
|
|
||||||
pointer-events: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@@ -93,8 +93,6 @@ const videoData = reactive({
|
|||||||
userImg: '/static/logo.png',
|
userImg: '/static/logo.png',
|
||||||
date: '2024-01-15',
|
date: '2024-01-15',
|
||||||
copywriting: '鸡你太美!练习时长两年半的个人练习生!鸡你太美!练习时长两年半的个人练习生!鸡你太美!练习时长两年半的个人练习生!',
|
copywriting: '鸡你太美!练习时长两年半的个人练习生!鸡你太美!练习时长两年半的个人练习生!鸡你太美!练习时长两年半的个人练习生!',
|
||||||
current: 0,
|
|
||||||
isfollow: false,
|
|
||||||
likesum: 1145140,
|
likesum: 1145140,
|
||||||
collectsum: 114514,
|
collectsum: 114514,
|
||||||
commentsum: 114514,
|
commentsum: 114514,
|
||||||
@@ -258,30 +256,11 @@ const toggleMute = () => {
|
|||||||
|
|
||||||
/* 弹幕区域 */
|
/* 弹幕区域 */
|
||||||
::v-deep .uni-video-danmu {
|
::v-deep .uni-video-danmu {
|
||||||
height: 15% !important;
|
|
||||||
height: 15% !important;
|
height: 15% !important;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
margin: 32px 0 0;
|
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 {
|
.interaction-panel {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -329,12 +308,6 @@ const toggleMute = () => {
|
|||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.follow-icon {
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 交互按钮 */
|
/* 交互按钮 */
|
||||||
.action-btn {
|
.action-btn {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
@@ -451,64 +424,6 @@ const toggleMute = () => {
|
|||||||
max-width: 273px;
|
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 {
|
.flodbtncontainer {
|
||||||
height: 22px;
|
height: 22px;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
@@ -551,8 +466,8 @@ const toggleMute = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.uni-video-cover-play-button {
|
.uni-video-cover-play-button {
|
||||||
width: 100%;
|
width: 100% !important;
|
||||||
height: 100%;
|
height: 100% !important;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user