This commit is contained in:
dzj 2024-05-30 18:37:24 +08:00
parent d5f88c5d33
commit 2d74c2ab94

View File

@ -121,7 +121,7 @@
<div class="swiper2" style="max-width: 80vw;overflow: hidden;height: 100%;">
<div class="swiper-wrapper swiper9" >
<div class="swiper-slide" style="cursor: pointer;height: 316px;" v-for="item in smallPicturearr" :key="item.id" v-if="item.state=='1'" @click="projecto(item.id)" >
<div class="swiper-slide" style="cursor: pointer;height: 316px;" v-for="item in smallPicturearr" :key="item.id" v-if="item.state=='true'" @click="projecto(item.id)" >
<img :src="item.picture" style=" width: 100%;height:100%;margin: auto;border-radius: 5%;"></div>
</div>
@ -164,7 +164,7 @@
<div style="max-width: 80vw;overflow: hidden;height: 100%;margin: auto;">
<div class="swiper3">
<div class="swiper-wrapper swiper9">
<div class="swiper-slide" v-for="item in achievementarr" :key="item.id" v-if="item.state=='1'"
<div class="swiper-slide" v-for="item in achievementarr" :key="item.id" v-if="item.state=='true'"
@click="honorto(item.id)"
style="background-color: rgb(240,246,250);border-radius: 10px;padding: 40px;box-sizing: border-box;cursor: pointer;">
<img :src="item.picture" style=" width: 100%;margin: auto;"></div>
@ -234,6 +234,7 @@ export default {
})
//
smallPicture().then((res) => {
console.log(res.data,'res')
this.smallPicturearr = res.data
this.$nextTick(() => {
new Swiper('.swiper2', {