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 7ec015c..79d3e2a 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 bf4917e..394c668 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 @@