![]()
@@ -19,20 +19,37 @@
diff --git a/src/pages/Index/components/Swiper.vue b/src/pages/Index/components/Swiper.vue
index 2be245c..478b16e 100644
--- a/src/pages/Index/components/Swiper.vue
+++ b/src/pages/Index/components/Swiper.vue
@@ -1,6 +1,6 @@
-
+
@@ -20,6 +20,7 @@ export default {
return {
swiperOptions: {
pagination: '.swiper-pagination',
+ paginationClickable: true,
// loop: true,
autoplay: 3000
},
diff --git a/src/pages/IntangibleHeritageDetail/IntangibleHeritageDetail.vue b/src/pages/IntangibleHeritageDetail/IntangibleHeritageDetail.vue
index 5b19339..fa7a538 100644
--- a/src/pages/IntangibleHeritageDetail/IntangibleHeritageDetail.vue
+++ b/src/pages/IntangibleHeritageDetail/IntangibleHeritageDetail.vue
@@ -23,6 +23,15 @@
+
+
+
+
+
![]()
+
+
+
+
相关传承人
@@ -70,13 +79,19 @@ export default {
return {
heritageDetail: {},
peopleList: [],
- url: common.url
+ url: common.url,
+ swiperOption: {
+ autoplay: 3000,
+ slidesPerView: 5,
+ spaceBetween: 30
+ }
}
},
methods: {
getHeritageDetail () {
var self = this
axios.get(self.url + 'library/app/intangiblelibrary/getintangiblelibrarybyidrelease/' + this.$route.params.id).then(function (res) {
+ res.data.libraryCover = res.data.libraryCover.split(',')
self.heritageDetail = res.data
self.getPeopleList()
})
@@ -180,4 +195,9 @@ export default {
text-overflow ellipsis
padding 0 5px
font-family '宋体'
+.pic-swiper
+ margin-top 10px
+ img
+ width 215px
+ height 260px