|
@@ -3,7 +3,7 @@
|
|
|
* @Author: 空白格
|
|
|
* @Date: 2022-08-10 11:26:40
|
|
|
* @LastEditors: 空白格
|
|
|
- * @LastEditTime: 2022-08-23 15:22:06
|
|
|
+ * @LastEditTime: 2022-08-25 13:34:15
|
|
|
* @FilePath: \veterans_client_web\src\views\Home\HomeIndex.vue
|
|
|
* @Copyright: Copyright (c) 2016~2022 by 空白格, All Rights Reserved.
|
|
|
-->
|
|
@@ -33,7 +33,12 @@
|
|
|
:key="index"
|
|
|
>
|
|
|
<el-image
|
|
|
- @click="jumpPage('newsdetails',{ id: item.artId,type:'news' })"
|
|
|
+ @click="
|
|
|
+ jumpPage('newsdetails', {
|
|
|
+ id: item.artId,
|
|
|
+ type: 'news',
|
|
|
+ })
|
|
|
+ "
|
|
|
class="image"
|
|
|
:src="
|
|
|
item.artImage ||
|
|
@@ -52,7 +57,15 @@
|
|
|
></el-image>
|
|
|
</div>
|
|
|
</el-image>
|
|
|
- <div class="title" @click="jumpPage('newsdetails',{ id: item.artId,type:'news' })">
|
|
|
+ <div
|
|
|
+ class="title"
|
|
|
+ @click="
|
|
|
+ jumpPage('newsdetails', {
|
|
|
+ id: item.artId,
|
|
|
+ type: 'news',
|
|
|
+ })
|
|
|
+ "
|
|
|
+ >
|
|
|
{{ item.artTitle || "" }}
|
|
|
</div>
|
|
|
</el-carousel-item>
|
|
@@ -65,7 +78,12 @@
|
|
|
<el-tab-pane label="新闻动态" name="first">
|
|
|
<ul class="news-infomation">
|
|
|
<li
|
|
|
- @click="jumpPage('newsdetails',{ id: item.artId,type:'news' })"
|
|
|
+ @click="
|
|
|
+ jumpPage('newsdetails', {
|
|
|
+ id: item.artId,
|
|
|
+ type: 'news',
|
|
|
+ })
|
|
|
+ "
|
|
|
class="news-infomation-item"
|
|
|
v-for="(item, index) in newsList"
|
|
|
:key="index"
|
|
@@ -80,7 +98,7 @@
|
|
|
<el-tab-pane label="通知公告" name="second">
|
|
|
<ul class="news-infomation">
|
|
|
<li
|
|
|
- @click="jumpPage('noticedetails',{ id: item.id })"
|
|
|
+ @click="jumpPage('noticedetails', { id: item.id })"
|
|
|
class="news-infomation-item"
|
|
|
v-for="(item, index) in noticeList"
|
|
|
:key="index"
|
|
@@ -157,7 +175,12 @@
|
|
|
v-if="policyObj.policyList.length"
|
|
|
>
|
|
|
<div
|
|
|
- @click="jumpPage('newsdetails',{ id: item.artId,type:'policy' })"
|
|
|
+ @click="
|
|
|
+ jumpPage('newsdetails', {
|
|
|
+ id: item.artId,
|
|
|
+ type: 'policy',
|
|
|
+ })
|
|
|
+ "
|
|
|
class="hmpc-left-list-item"
|
|
|
v-for="(item, index) in policyObj.policyList"
|
|
|
:key="index"
|
|
@@ -426,9 +449,9 @@ export default {
|
|
|
* @param {any} path
|
|
|
* @returns {any}
|
|
|
*/
|
|
|
- jumpPage(path,param) {
|
|
|
+ jumpPage(path, param) {
|
|
|
if (path) {
|
|
|
- this.$router.push({path:path,query:param});
|
|
|
+ this.$router.push({ path: path, query: param });
|
|
|
}
|
|
|
},
|
|
|
/**
|
|
@@ -599,7 +622,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
&-policy-box {
|
|
|
- background: #F7F7F7;
|
|
|
+ background: #f7f7f7;
|
|
|
}
|
|
|
&-policy {
|
|
|
width: 70%;
|