|
|
|
@ -41,7 +41,7 @@ |
|
|
|
|
</div> |
|
|
|
|
<div class="inner"> |
|
|
|
|
<ul> |
|
|
|
|
<li v-for="item in noticeList" :key="item.id" @click="goToNewInfo(item)">{{ item.title }}</li> |
|
|
|
|
<li v-for="item in noticeList" :key="item.id" @click="goToNewInfo(item,2)">{{ item.title }}</li> |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -57,7 +57,7 @@ |
|
|
|
|
</div> |
|
|
|
|
<div class="inner"> |
|
|
|
|
<ul> |
|
|
|
|
<li v-for="item in newList" :key="item.id" @click="goToNewInfo(item)">{{ item.title }}</li> |
|
|
|
|
<li v-for="item in newList" :key="item.id" @click="goToNewInfo(item,1)">{{ item.title }}</li> |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -68,7 +68,7 @@ |
|
|
|
|
</div> |
|
|
|
|
<div class="inner"> |
|
|
|
|
<ul> |
|
|
|
|
<li v-for="item in gzdtList" :key="item.id" @click="goToNewInfo(item)">{{ item.title }}</li> |
|
|
|
|
<li v-for="item in gzdtList" :key="item.id" @click="goToNewInfo(item,3)">{{ item.title }}</li> |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -150,11 +150,12 @@ |
|
|
|
|
const goToNewList = () => { |
|
|
|
|
router.push('/main-home/newsList'); |
|
|
|
|
}; |
|
|
|
|
const goToNewInfo = (item) => { |
|
|
|
|
const goToNewInfo = (item,type=1) => { |
|
|
|
|
router.push({ |
|
|
|
|
path: '/main-home/newsInfo', |
|
|
|
|
query: { |
|
|
|
|
id: item.id, |
|
|
|
|
type:type |
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|