diff --git a/API.md b/API.md index ef609e9..838fb25 100644 --- a/API.md +++ b/API.md @@ -1,6 +1,6 @@ # API文档 -baseUrl: https://www.xichi.xyz/api +baseUrl: https://api.xichi.xyz/movieClub ## 目录 diff --git a/src/api/index.js b/src/api/index.js index 04fdb6d..745892b 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -53,15 +53,15 @@ export const getEmailCode = (email) => { //影评 export const getMovieReview = () => { - return request.get('/movieReview'); + return request.get('/api/movieReview'); }; //详细影评 export const getMovieReviewDetail = id => { - return request.get(`/movieReview?id=${id}`); + return request.get(`/api/movieReview?id=${id}`); }; //本周电影 export const getLatestMovies = () => { - return request.get('/latestMovies'); + return request.get('/api/latestMovies'); }; \ No newline at end of file diff --git a/src/components/common/Header.vue b/src/components/common/Header.vue index d70a69c..5594e1f 100644 --- a/src/components/common/Header.vue +++ b/src/components/common/Header.vue @@ -2,7 +2,7 @@
@@ -175,6 +168,7 @@ export default { float right padding-right 20px .user-icon + color #fff font-size 0.4rem .dropdown position relative diff --git a/src/components/common/footer.vue b/src/components/common/footer.vue index 80ab283..237798d 100644 --- a/src/components/common/footer.vue +++ b/src/components/common/footer.vue @@ -4,15 +4,16 @@
- 南邮 + 南邮 欢迎加入我们
Developer
    -
  • -
  • -
  • +
  • +
  • +
diff --git a/src/pages/index.vue b/src/pages/index.vue index 101c1eb..66a619e 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -14,27 +14,25 @@

{{ movieToday.name }} - - + + >