From a6125f95f2bca8cc4f429ac51f5b8fbc92f7bafc Mon Sep 17 00:00:00 2001 From: dong_bo0602 <358256383@qq.com> Date: Thu, 11 Jun 2020 14:10:58 +0800 Subject: [PATCH] search --- src/assets/styles/reset.css | 3 +- src/common/components/Header.vue | 35 +- src/pages/ArtTrain/ArtTrain.vue | 222 ++-- src/pages/ArtTrain/components/Banner.vue | 39 - src/pages/ArtTrain/components/Character.vue | 151 --- src/pages/ArtTrain/components/Health.vue | 153 --- src/pages/ArtTrain/components/Photography.vue | 153 --- src/pages/ArtTrain/components/Recommend.vue | 84 -- src/pages/ArtTrainList/ArtTrainList.vue | 9 +- src/pages/CultureActivity/CultureActivity.vue | 4 +- src/pages/CultureDynamics/CultureDynamics.vue | 36 - src/pages/Index/components/IndexDynamic.vue | 1 + src/pages/SearchResult/SearchResult.vue | 960 ++++++++++++++++-- src/pages/Travel/Travel.vue | 1 - src/pages/Volunteer/Volunteer.vue | 3 + 15 files changed, 1030 insertions(+), 824 deletions(-) delete mode 100644 src/pages/ArtTrain/components/Banner.vue delete mode 100644 src/pages/ArtTrain/components/Character.vue delete mode 100644 src/pages/ArtTrain/components/Health.vue delete mode 100644 src/pages/ArtTrain/components/Photography.vue delete mode 100644 src/pages/ArtTrain/components/Recommend.vue diff --git a/src/assets/styles/reset.css b/src/assets/styles/reset.css index cc2370c..12da191 100644 --- a/src/assets/styles/reset.css +++ b/src/assets/styles/reset.css @@ -1,4 +1,5 @@ -@charset "utf-8";a,body,dd,div,dl,dt,em,form,h1,h2,h3,h4,h5,h6,img,input,li,ol,option,p,select,span,strong,table,td,textarea,th,ul,var{margin:0;padding:0}body,html{font:400 100% "微软雅黑",Arail,Tabhoma;text-align:left;color:#535353;-webkit-font-smoothing:antialiased;line-height:normal}ol,ul{list-style:none}img{border:0;vertical-align:top}input,select,textarea{outline:0}textarea{resize:none}table{border-collapse:collapse;border-spacing:0}em,strong,th,var{font-weight:400;font-style:normal}a{text-decoration:none;color:#555}a,input{-webkit-tap-highlight-color:transparent}[v-cloak]{display: none} +@charset "utf-8";a,body,dd,div,dl,dt,em,form,h1,h2,h3,h4,h5,h6,img,input,li,ol,option,p,select,span,strong,table,td,textarea,th,ul,var{margin:0;padding:0}body,html{font:400 100% "zangwen",Arail,Tabhoma;text-align:left;color:#535353;-webkit-font-smoothing:antialiased;line-height:normal}ol,ul{list-style:none}img{border:0;vertical-align:top}input,select,textarea{outline:0}textarea{resize:none}table{border-collapse:collapse;border-spacing:0}em,strong,th,var{font-weight:400;font-style:normal}a{text-decoration:none;color:#555}a,input{-webkit-tap-highlight-color:transparent}[v-cloak]{display: none} +button{font-family: 'zangwen'} @font-face { font-family: 'zangwen'; src: url('zang.ttf'); diff --git a/src/common/components/Header.vue b/src/common/components/Header.vue index 7046ce2..1fc18cb 100644 --- a/src/common/components/Header.vue +++ b/src/common/components/Header.vue @@ -12,8 +12,8 @@
- 登录 - 注册 + 登录 + 注册
@@ -30,62 +30,62 @@ - - - - - +
+
+

{{list.directoriesName}}

+ MORE>> +
+
+
+ {{list.directoriesName}} +
+

{{list.directoriesDescription}}

+
+
+
+
    +
  • +
    + + +
    +
    +

    {{inner.newsContentTitle}}

    +
    + 讲师:{{inner.newsContentAuthor}} + +
    +
    +
  • +
+
+
+
@@ -18,22 +44,12 @@ diff --git a/src/pages/ArtTrain/components/Banner.vue b/src/pages/ArtTrain/components/Banner.vue deleted file mode 100644 index a608257..0000000 --- a/src/pages/ArtTrain/components/Banner.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - - - diff --git a/src/pages/ArtTrain/components/Character.vue b/src/pages/ArtTrain/components/Character.vue deleted file mode 100644 index 3c92135..0000000 --- a/src/pages/ArtTrain/components/Character.vue +++ /dev/null @@ -1,151 +0,0 @@ - - - - - diff --git a/src/pages/ArtTrain/components/Health.vue b/src/pages/ArtTrain/components/Health.vue deleted file mode 100644 index 7fb3475..0000000 --- a/src/pages/ArtTrain/components/Health.vue +++ /dev/null @@ -1,153 +0,0 @@ - - - - - diff --git a/src/pages/ArtTrain/components/Photography.vue b/src/pages/ArtTrain/components/Photography.vue deleted file mode 100644 index 28072b3..0000000 --- a/src/pages/ArtTrain/components/Photography.vue +++ /dev/null @@ -1,153 +0,0 @@ - - - - - diff --git a/src/pages/ArtTrain/components/Recommend.vue b/src/pages/ArtTrain/components/Recommend.vue deleted file mode 100644 index db7365e..0000000 --- a/src/pages/ArtTrain/components/Recommend.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - - - diff --git a/src/pages/ArtTrainList/ArtTrainList.vue b/src/pages/ArtTrainList/ArtTrainList.vue index 71d8cd2..4ab4ce0 100644 --- a/src/pages/ArtTrainList/ArtTrainList.vue +++ b/src/pages/ArtTrainList/ArtTrainList.vue @@ -146,6 +146,7 @@ export default { diff --git a/src/pages/Travel/Travel.vue b/src/pages/Travel/Travel.vue index 4647d50..14f95f5 100644 --- a/src/pages/Travel/Travel.vue +++ b/src/pages/Travel/Travel.vue @@ -71,7 +71,6 @@ export default { rows: 8, totalPage: 1, newsDirectoriesId: '51ae7beb-f277-47a4-937a-088e6d47656d' - // newsDirectoriesParentId: '51ae7beb-f277-47a4-937a-088e6d47656d' } } }, diff --git a/src/pages/Volunteer/Volunteer.vue b/src/pages/Volunteer/Volunteer.vue index 912690d..d21af64 100644 --- a/src/pages/Volunteer/Volunteer.vue +++ b/src/pages/Volunteer/Volunteer.vue @@ -96,6 +96,9 @@ export default { axios.get('http://192.168.0.111:8888/volunteer/app/volunteerservice/listpagevolunteerservicerelease', { params: self.page }).then(function (res) { + for (var i = 0; i < res.data.rows.length; i++) { + res.data.rows[i].photo = res.data.rows[i].photo.split(',')[0] + } self.volunteer = res.data.rows self.page.page = res.data.page self.changePage = res.data.page