This commit is contained in:
dong_bo0602 2020-07-03 15:52:11 +08:00
parent 73514c88a1
commit 99b8c2f033
7 changed files with 39 additions and 28 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -4,19 +4,14 @@
<div class="footer-left"> <div class="footer-left">
<img src="@/assets/images/footer-logo.png" alt="" class="footer-logo"> <img src="@/assets/images/footer-logo.png" alt="" class="footer-logo">
<div class="footer-us"> <div class="footer-us">
<h4>内蒙古自治区文化馆</h4> <h4>日喀则市公共文化数字云平台</h4>
<p>联系方式0471-6965539</p> <p>联系方式0471-6965539</p>
<p>地址呼和浩特市回民区锡林北路97号</p> <p>地址呼和浩特市回民区锡林北路97号</p>
</div> </div>
<div class="footer-link"> <div class="footer-link">
<h4>友情链接</h4> <h4>友情链接</h4>
<router-link to="/" class="link-item">内蒙古人民政府网</router-link> <a href="https://www.culturedc.cn/" target="_blank" class="link-item">国家公共文化云</a>
<router-link to="/" class="link-item">内蒙古人民政府网</router-link> <a href="http://xzzzqqyg.com/" target="_blank" class="link-item">西藏群众艺术馆</a>
<router-link to="/" class="link-item">内蒙古人民政府网</router-link>
<router-link to="/" class="link-item">内蒙古人民政府网</router-link>
<router-link to="/" class="link-item">内蒙古人民政府网</router-link>
<router-link to="/" class="link-item">内蒙古人民政府网</router-link>
<router-link to="/" class="link-item">内蒙古人民政府网</router-link>
</div> </div>
</div> </div>
<div class="footer-right"> <div class="footer-right">
@ -37,7 +32,7 @@
</div> </div>
</div> </div>
<div class="footer-bottom"> <div class="footer-bottom">
<p>版权所有内蒙古文化云 Copyright © 2017-2018 蒙ICP备18001375号 技术支持天创智汇科技(北京)有限公</p> <p>版权所有日喀则群众艺术馆 Copyright © 2017-2018 蒙ICP备18001375号 技术支持山西腾狮科技</p>
</div> </div>
</div> </div>
</template> </template>
@ -64,7 +59,7 @@ export default {
.footer-logo .footer-logo
display block display block
margin-bottom 15px margin-bottom 15px
width 345px width 485px
height 77px height 77px
.footer-us .footer-us
float left float left

View File

@ -55,11 +55,6 @@
艺术培训 艺术培训
</router-link> </router-link>
</li> </li>
<!--<li :class="{active: this.$route.path == '/distribution' || this.$route.path == '/distributionDetail/' + this.$route.params.id}">-->
<!--<router-link to="/distribution" >-->
<!--预约配送-->
<!--</router-link>-->
<!--</li>-->
<li :class="{active: this.$route.path == '/broadcast' || this.$route.path == '/broadcastDetail/' + this.$route.params.id}"> <li :class="{active: this.$route.path == '/broadcast' || this.$route.path == '/broadcastDetail/' + this.$route.params.id}">
<router-link to="/broadcast" > <router-link to="/broadcast" >
共享直播 共享直播
@ -206,7 +201,7 @@ export default {
display block display block
float left float left
.logo-img .logo-img
width 340px width 485px
height 77px height 77px
.search .search
float right float right

View File

@ -1,10 +1,9 @@
<template> <template>
<div> <div>
<Header></Header> <Header></Header>
<IndexSwiper></IndexSwiper> <IndexSwiper :swiperList="swiperList"></IndexSwiper>
<Dynamic :dynamic="dynamic"></Dynamic> <Dynamic :dynamic="dynamic"></Dynamic>
<IndexService :activityList="activityList"></IndexService> <IndexService :activityList="activityList"></IndexService>
<!--<IndexSpecialties :specialties="specialties"></IndexSpecialties>-->
<DigitalResource :literature="literature"></DigitalResource> <DigitalResource :literature="literature"></DigitalResource>
<IndexVideo :exhibition="exhibition"></IndexVideo> <IndexVideo :exhibition="exhibition"></IndexVideo>
<Footer></Footer> <Footer></Footer>
@ -57,7 +56,8 @@ export default {
rows: 8, rows: 8,
totalPage: 1, totalPage: 1,
newsDirectoriesId: 'f1d5d313-f728-4dda-9843-1116d97e17b0' newsDirectoriesId: 'f1d5d313-f728-4dda-9843-1116d97e17b0'
} },
swiperList: []
} }
}, },
methods: { methods: {
@ -106,6 +106,23 @@ export default {
} }
self.exhibition = res.data.rows self.exhibition = res.data.rows
}) })
},
getSwiper: function () {
var self = this
axios.get('http://192.168.0.104:8082/news/app/newscontent/listpagenewscontentrelease', {
params: {
page: 1,
rows: 3,
newsDirectoriesParentId: '51ae7beb-f277-47a4-937a-088e6d47656d'
}
}).then(function (res) {
console.log(res)
for (var i = 0; i < res.data.rows.length; i++) {
res.data.rows[i].newsContentCoverList = res.data.rows[i].newsContentCoverList[0].contentCoverId
}
self.swiperList = res.data.rows
console.log()
})
} }
}, },
mounted () { mounted () {
@ -113,6 +130,7 @@ export default {
this.getActivityList() this.getActivityList()
this.getLiterature() this.getLiterature()
this.getExhibition() this.getExhibition()
this.getSwiper()
} }
} }
</script> </script>

View File

@ -1,15 +1,15 @@
<template> <template>
<div class="index-swiper"> <div class="index-swiper">
<swiper ref="mySwiper" :options="swiperOptions" class="swiper-outer"> <swiper ref="mySwiper" :options="swiperOptions" class="swiper-outer">
<swiper-slide class="swiper-box"> <swiper-slide class="swiper-box" v-for="(swiper,idx) in swiperList" :key="idx">
<img src="@/assets/images/banner.png" alt="" class="banner-img"> <img :src="'http://192.168.0.104:8082/news/route/file/downloadfile/false/' + swiper.newsContentCoverList" alt="" class="banner-img">
</swiper-slide>
<swiper-slide class="swiper-box">
<img src="@/assets/images/banner.png" alt="" class="banner-img">
</swiper-slide>
<swiper-slide class="swiper-box">
<img src="@/assets/images/banner.png" alt="" class="banner-img">
</swiper-slide> </swiper-slide>
<!--<swiper-slide class="swiper-box">-->
<!--<img src="@/assets/images/banner.png" alt="" class="banner-img">-->
<!--</swiper-slide>-->
<!--<swiper-slide class="swiper-box">-->
<!--<img src="@/assets/images/banner.png" alt="" class="banner-img">-->
<!--</swiper-slide>-->
<div class="swiper-pagination" slot="pagination"></div> <div class="swiper-pagination" slot="pagination"></div>
</swiper> </swiper>
</div> </div>
@ -19,7 +19,7 @@
export default { export default {
name: 'IndexSwiper', name: 'IndexSwiper',
props: { props: {
bannerList: Array swiperList: Array
}, },
data () { data () {
return { return {

View File

@ -56,6 +56,9 @@ export default {
self.$router.go(-1) self.$router.go(-1)
}, 1500) }, 1500)
} }
}).catch(function (error) {
self.$layer.msg(error.response.data.msg)
self.isLoading = false
}) })
}, },
getVerificationCode: function () { getVerificationCode: function () {