From 75088f78c898ec53683d59eb7ce7676a4113d960 Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Tue, 7 Jan 2025 10:53:49 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=A7=86=E9=A2=91=E8=AF=A6?=
=?UTF-8?q?=E6=83=85=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=A4=84=E7=90=86=E7=99=BB?=
=?UTF-8?q?=E5=BD=95=E6=B3=A8=E5=86=8C=E6=8E=A5=E5=8F=A3=E6=95=B0=E6=8D=AE?=
=?UTF-8?q?=E4=B8=8D=E4=B8=80=E8=87=B4=E5=85=BC=E5=AE=B9=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/my-video-list/my-video-list.vue | 20 +++++++++++++++++++
http/http.js | 2 +-
pages.json | 10 +++++++++-
pages/video/detail.nvue | 23 ++++++++++++++++++++++
pages/video/index.vue | 8 ++++++--
5 files changed, 59 insertions(+), 4 deletions(-)
create mode 100644 components/my-video-list/my-video-list.vue
create mode 100644 pages/video/detail.nvue
diff --git a/components/my-video-list/my-video-list.vue b/components/my-video-list/my-video-list.vue
new file mode 100644
index 0000000..96a79a3
--- /dev/null
+++ b/components/my-video-list/my-video-list.vue
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/http/http.js b/http/http.js
index bc0a20e..c6e450a 100644
--- a/http/http.js
+++ b/http/http.js
@@ -82,7 +82,7 @@ function commonsProcess(showLoading, httpReqCallback) {
});
}
// 构造请求成功的响应数据
- return Promise.resolve(bodyData.data || bodyData.page);
+ return Promise.resolve(bodyData.data || bodyData.page|| bodyData);
})
.catch((res) => {
console.log(res);
diff --git a/pages.json b/pages.json
index 14a959e..7592e8f 100644
--- a/pages.json
+++ b/pages.json
@@ -21,7 +21,15 @@
"navigationBarTitleText": "",
"navigationStyle": "custom"
}
- }, {
+ },
+ {
+ "path": "pages/video/detail",
+ "style": {
+ "navigationBarTitleText": "",
+ "navigationStyle": "custom"
+ }
+ },
+ {
"path": "pages/task/index",
"style": {
"navigationBarTitleText": "",
diff --git a/pages/video/detail.nvue b/pages/video/detail.nvue
new file mode 100644
index 0000000..cdd2158
--- /dev/null
+++ b/pages/video/detail.nvue
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/video/index.vue b/pages/video/index.vue
index 10d2b9e..a908416 100644
--- a/pages/video/index.vue
+++ b/pages/video/index.vue
@@ -1,11 +1,15 @@
-
+ toDetail