This commit is contained in:
xvv 2024-08-14 11:50:36 +08:00
parent ece18a7c94
commit c08c464778
10 changed files with 25 additions and 47 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 683 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 866 KiB

View File

@ -4,7 +4,7 @@
<headers></headers>
<div class="ny-banner">
<img src="../../assets/gw/ny-banner.jpg" alt="">
<img src="../../assets/gw/hzqy.png" alt="">
</div>
</div>
@ -19,7 +19,7 @@
<div class="list">
<div class="item" v-for="(item, index) in teachingAchievements" :key="index">
<div class="item" v-for="(item, index) in teachingAchievements" :key="index" @click="goDeatail(item)">
<div class="img">
<img :src="imgurl + item.contentImg" alt="">
</div>

View File

@ -4,7 +4,7 @@
<headers></headers>
<div class="ny-banner">
<img src="../../assets/gw/ny-banner.jpg" alt="">
<img src="../../assets/gw/dssj.png" alt="">
</div>
</div>
<!-- new -->

View File

@ -3,7 +3,7 @@
<div class="top-box">
<headers></headers>
<div class="ny-banner">
<img src="../../assets/gw/ny-banner.jpg" alt="">
<img src="../../assets/gw/lxwm.png" alt="">
</div>
</div>
<div class="navigation">

View File

@ -23,7 +23,7 @@
</div>
<div class="news">
<div v-show="currentActive == 0">
<div class="n-box" v-for="(item,index) in onelist" @click="goDeatails(item)" >
<div class="n-box" v-for="(item,index) in onelist" @click="goDeatail(item)" >
<div>
<div class="v-time" >{{item.publishDate}}</div>
<div class="v-title">{{item.contentTitle}}</div>
@ -36,7 +36,7 @@
</div>
</div>
</div>
<div v-show="currentActive == 1"> <div class="noticeRsr" v-for="(item,index) in twolist" @click="goDeatails(item)" >
<div v-show="currentActive == 1"> <div class="noticeRsr" v-for="(item,index) in twolist" @click="goDeatail(item)" >
<div >{{item.contentTitle}}</div>
<div >{{item.publishDate}}</div>
</div></div>
@ -119,18 +119,7 @@ export default {
this.currentActive = value
this.categoryId = this.nav[value].id
},
goDeatail(data){
// console.log(data)
if(data.linkType == 0){
this.$router.push({
name: 'details',
query:{ id: data.id }
});
}
if(data.linkType == 1){
window.open(data.link, '_blank');
}
},
initPageData() {
let routeParam = {
"categoryId": this.$route.query.id,

View File

@ -24,7 +24,7 @@
<div class="about-conts" v-bind:class="[currentActive == 1 ? 'bj' : '']">
<!-- main -->
<div v-for="(item, index) in nav " :key=index>
<div v-for="(item, index) in nav " :key=index @click="goDeatail(item)">
<div class="about-conts-item1" v-show="currentActive == 1">
<div class="neirong" v-html="pageContext"></div>
</div>
@ -112,18 +112,7 @@ export default {
},
methods: {
goDeatail(data){
// console.log(data)
if(data.linkType == 0){
this.$router.push({
name: 'details',
query:{ id: data.id }
});
}
if(data.linkType == 1){
window.open(data.link, '_blank');
}
},
handleDataFromPage(data){
// console.log(data)
this.onelist = data

View File

@ -4,7 +4,7 @@
<headers></headers>
<div class="ny-banner">
<img src="../../assets/gw/ny-banner.jpg" alt="">
<img src="../../assets/gw/dssj.png" alt="">
</div>
</div>
<!-- new -->

View File

@ -24,7 +24,7 @@
<div class="teaching" v-bind:class="[currentActive == 0 ? 'bj' : '']">
<!-- main -->
<div class="wrap-box">
<div class="box-l" v-if="currentActive == 0" v-for="(item,index) in dataList" :key="index">
<div class="box-l" v-if="currentActive == 0" v-for="(item,index) in dataList" :key="index" @click="goDeatail(item)">
<div class="img-s">
<img :src="imgurl+item.contentImg" style="width: 100%;height: 195px;">
</div>
@ -39,7 +39,7 @@
</div>
</div>
</div>
<div class="box-l" v-if="currentActive == 1" v-for="(item,index) in dataList" :key="index">
<div class="box-l" v-if="currentActive == 1" v-for="(item,index) in dataList" :key="index" @click="goDeatail(item)" >
<div class="img-s">
<img :src="imgurl+item.contentImg" style="width: 100%;height: 195px;">
</div>
@ -54,7 +54,7 @@
</div>
</div>
</div>
<div class="box-l" v-if="currentActive == 2" v-for="(item,index) in dataList" :key="index">
<div class="box-l" v-if="currentActive == 2" v-for="(item,index) in dataList" :key="index" @click="goDeatail(item)" >
<div class="img-s">
<img :src="imgurl+item.contentImg" style="width: 100%;height: 195px;">
</div>
@ -137,18 +137,18 @@ export default {
},
methods: {
goDeatail(data){
// console.log(data)
if(data.linkType == 0){
this.$router.push({
name: 'details',
query:{ id: data.id }
});
}
if(data.linkType == 1){
window.open(data.link, '_blank');
}
},
// goDeatail(data){
// // console.log(data)
// if(data.linkType == 0){
// this.$router.push({
// name: 'details',
// query:{ id: data.id }
// });
// }
// if(data.linkType == 1){
// window.open(data.link, '_blank');
// }
// },
handleDataFromPage(data){
this.dataList = data
},