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 @@
-
-
+
首页
-
-
+
文化动态
-
-
+
文化活动
-
-
+
文化场馆
-
-
+
艺术培训
-
+
-
-
+
共享直播
-
-
+
民间文学
-
-
+
志愿服务
-
-
+
展览展示
-
-
+
文化旅游
-
-
+
非遗清单
@@ -113,13 +113,14 @@ export default {
},
methods: {
doSearch: function () {
- console.log(this.keywords)
- this.$router.push({
- path: 'searchResult',
+ const { href } = this.$router.resolve({
+ path: '/searchResult',
query: {
keywords: this.keywords
}
})
+ // console.log(href)
+ window.open(href)
},
checkLogin: function () {
var self = this
diff --git a/src/pages/ArtTrain/ArtTrain.vue b/src/pages/ArtTrain/ArtTrain.vue
index 592c15c..a859ea1 100644
--- a/src/pages/ArtTrain/ArtTrain.vue
+++ b/src/pages/ArtTrain/ArtTrain.vue
@@ -6,11 +6,37 @@
您的位置:首页 > 艺术培训
-
-
-
-
-
+
+
+
{{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 @@
-
-
-
-
- {{list.directoriesName}}
-
-
-
-
-
-
-
-
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 @@
-
-
-
-
民族特色
- MORE>>
-
-
-
-
民族族特色
-
-
蒙古文化是由蒙古民族创造的一种游牧文化。从13世纪开始蒙古人在成吉思汗的旗帜下再度统一草原部落,建立了疆域横跨欧亚的蒙古帝国,用国家形式重新整合各种社会力量,从而把部落与民族文化全面提高到了达到封建国家水准的“文明的进步状态”。成吉思汗的继承者们入主中原,建立了元朝。在历史的进程中元朝虽然消亡,但是从此形成的蒙古族却成为草原的主体民族,成为文化的承载者。
-
-
-
-
- -
-
-
![]()
-

-
-
-
{{list.newsContentTitle}}
-
- 讲师:{{list.newsContentAuthor}}
-
-
-
-
-
-
-
-
-
-
-
-
-
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 @@
-
-
-
-
健康养生
- MORE>>
-
-
-
-
健康养生
-
-
养生指保养、调养、颐养生命。即以调阴阳、和气血、保精神为原则,运用调神、导引吐纳、四时调摄、食养、药养、节欲、辟谷等多种方法,以期达到健康、长寿的目的。本、戏曲剧本在内。一般多取其广义的概念。戏剧人物的逼真性、戏剧冲突的尖锐性、戏剧场面的集中性、台词的口语化和动作性构成了戏剧文学的四大审美特征。
-
-
-
-
- -
-
-
![]()
-

-
-
-
{{list.newsContentTitle}}
-
- 讲师:{{list.newsContentAuthor}}
-
-
-
-
-
-
-
-
-
-
-
-
-
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 @@
-
-
-
-
摄影技巧
- MORE>>
-
-
-
-
摄影技巧
-
-
影视摄影从运动、色彩、光线,两极镜头等摄影造型元素入手,论述如何认识,运用它们去构造丰富的视觉造型语言。进而进行影视摄影创作。运动,是影视摄影最重要的造型元素,“是银幕造型的第一艺术特点”,也是影视摄影的生命。
-
-
-
-
- -
-
-
![]()
-

-
-
-
{{list.newsContentTitle}}
-
- 讲师:{{list.newsContentAuthor}}
-
-
-
-
-
-
-
-
-
-
-
-
-
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 @@
-
-
-
推荐课程
-
- -
-
-
![]()
-

-
-
-
{{list.newsContentTitle}}
-
- 讲师:{{list.newsContentAuthor}}
-
-
-
-
-
-
-
-
-
-
-
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