From 0270abc763a1a2ca1162f2fd49b1734d6c5652b2 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 15 十月 2025 00:42:24 +0800
Subject: [PATCH] 首页视频优化
---
pages/health/healthVideo.vue | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/pages/health/healthVideo.vue b/pages/health/healthVideo.vue
index add3102..4b17775 100644
--- a/pages/health/healthVideo.vue
+++ b/pages/health/healthVideo.vue
@@ -386,10 +386,11 @@
const params = this.parseUrlParams(decodedUrl);
const shareType = params.shareType;
const videoId = params.videoId;
- const source = params.source
+ const source = params.source
+
queryParam.videoId = videoId
- queryParam.shareType = shareType
- queryParam.source = source
+ queryParam.shareType = shareType
+ queryParam.source = source
console.log('瑙f瀽鍙傛暟:', { shareType, videoId,source });
}
const token = storage.getAccessToken();
@@ -784,7 +785,10 @@
this.loading = true;
if(param){
+ console.log("浜岀淮鐮佹壂鐮佹暟鎹墽琛屽湪姝ゅ1")
+ console.log(this.videoQuery)
getHealthRecommendVideos(this.videoQuery).then(res => {
+ console.log(res)
// 鏂板涓�涓瓧娈电敤浜庡惊鐜椂鐨刱ey
const data = res.data.data.map(item => {
return {
@@ -811,7 +815,10 @@
})
}else{
+ console.log("浜岀淮鐮佹壂鐮佹暟鎹墽琛屽湪姝ゅ2")
+ console.log(this.videoQuery)
getHealthRecommendVideos(this.videoQuery).then(res => {
+ console.log(res)
// 鏂板涓�涓瓧娈电敤浜庡惊鐜椂鐨刱ey
const data = res.data.data.map(item => {
return {
--
Gitblit v1.8.0