From 1fb340263bba19031e365ab883932f3f4c4806e3 Mon Sep 17 00:00:00 2001
From: sx <2427911852@qq.com>
Date: Fri, 28 Feb 2025 19:19:35 +0800
Subject: [PATCH] =?UTF-8?q?2025.02.28=20=E5=B7=A5=E4=BD=9C=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jiuyi2/components/footerMenu/footerMenu.vue | 665 ++++++++++----------
jiuyi2/components/index/commentArea.vue | 7 +-
jiuyi2/components/index/indexVideo.vue | 18 +-
jiuyi2/components/index/proDetailAlt.vue | 2 +-
jiuyi2/components/news/msgList.vue | 2 +-
jiuyi2/pages/index/index.nvue | 24 +-
6 files changed, 365 insertions(+), 353 deletions(-)
diff --git a/jiuyi2/components/footerMenu/footerMenu.vue b/jiuyi2/components/footerMenu/footerMenu.vue
index 5e20aafa..ec3926cf 100644
--- a/jiuyi2/components/footerMenu/footerMenu.vue
+++ b/jiuyi2/components/footerMenu/footerMenu.vue
@@ -1,245 +1,245 @@
@@ -252,9 +252,10 @@ function getNoReadNum() {
{{ item.name }}
- {{ noReadNum }}
+ {{ noReadNum }}
+
\ No newline at end of file
diff --git a/jiuyi2/components/index/commentArea.vue b/jiuyi2/components/index/commentArea.vue
index 3a8c9bb7..3fd3b86f 100644
--- a/jiuyi2/components/index/commentArea.vue
+++ b/jiuyi2/components/index/commentArea.vue
@@ -130,13 +130,11 @@
userId: userinfo.value.id,
// 评论的父id
childrenParentId: reply.id || 0,
-
}
}).then(rs => {
console.log('saveComment', rs)
if (rs.code == 200) {
proxy.$refs.comment.close()
- detail.comment++
// 刷新列表
refreshList()
setTimeout(() => {
@@ -144,7 +142,10 @@
content.value = ''
}, 500)
// 修改被评论的视频数据
- uni.$emit('updateVideo', detail)
+ uni.$emit('updateVideo', {
+ ...detail,
+ ...rs.data,
+ })
return
}
util.alert({
diff --git a/jiuyi2/components/index/indexVideo.vue b/jiuyi2/components/index/indexVideo.vue
index 647df013..fae664d3 100644
--- a/jiuyi2/components/index/indexVideo.vue
+++ b/jiuyi2/components/index/indexVideo.vue
@@ -386,11 +386,11 @@
*/
function handleLike(index, likeType, isLike) {
util.isLogin().then(rs => {
- emit('like', {
- index,
- likeType,
- isLike,
- })
+ emit('like', {
+ index,
+ likeType,
+ isLike,
+ })
}).catch(() => {
uni.navigateTo({
url: '/pages/login/loginPhone'
@@ -474,7 +474,7 @@
if (isLong.value) return
play()
isLong.value = true
- videoCtx.value.playbackRate(2)
+ videoCtx.value.playbackRate(1.5)
}
// 前往数据中心
@@ -509,6 +509,7 @@
+
@@ -530,7 +531,7 @@
- 2倍速播放中...
+ 1.5倍速播放中...
@@ -587,7 +588,8 @@
- {{ item.likeCount }}
+ {{ item.likeCount }}
隐私赞
点赞
diff --git a/jiuyi2/components/index/proDetailAlt.vue b/jiuyi2/components/index/proDetailAlt.vue
index 4906e4f1..805c3530 100644
--- a/jiuyi2/components/index/proDetailAlt.vue
+++ b/jiuyi2/components/index/proDetailAlt.vue
@@ -53,7 +53,7 @@
function getDetail() {
api.shop.productDetail({
query: {
- userId: userinfo.value.id,
+ userId: userinfo.value.id || '',
// 产品id
productionId: proId.value
}
diff --git a/jiuyi2/components/news/msgList.vue b/jiuyi2/components/news/msgList.vue
index f1ae14a0..d7df26a0 100644
--- a/jiuyi2/components/news/msgList.vue
+++ b/jiuyi2/components/news/msgList.vue
@@ -360,7 +360,7 @@ function handleDate(timestamp) {
{{ item.unreadCount }}
-
+
{{ item.name }}
diff --git a/jiuyi2/pages/index/index.nvue b/jiuyi2/pages/index/index.nvue
index 811db6ff..364e4ef3 100644
--- a/jiuyi2/pages/index/index.nvue
+++ b/jiuyi2/pages/index/index.nvue
@@ -228,8 +228,8 @@
const videoRefList = proxy.$refs[`videoRef${tabIndex.value}`]
// 暂停视频
if (videoRefList) {
- // videoRefList[videoRefList.length - 2].pause()
- videoRefList[current[tabIndex.value]].pause()
+ videoRefList[videoRefList.length - 2].pause()
+ // videoRefList[current[tabIndex.value]].pause()
}
})
@@ -806,16 +806,16 @@
@touchend="onTouchend($event,index)" @loadmore="item.getMoreList">
-
-
-
-
+
+
+
+
|