|
@@ -57,15 +57,23 @@
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
- <!-- 医政沙龙 -->
|
|
|
+ <!-- 医政沙龙风采 -->
|
|
|
<div class="slcont">
|
|
|
<div class="fwtitle">
|
|
|
<span class="vertical"></span>
|
|
|
- <span class="text">医政沙龙风采</span>
|
|
|
+ <span class="text">{{this.dragonName}}</span>
|
|
|
<span class="article"></span>
|
|
|
</div>
|
|
|
+ <div class="dragon">
|
|
|
+ <ul v-for="(item, index) in dragonList">
|
|
|
+ <li>
|
|
|
+ <a href="sharon">{{item.title}}</a>
|
|
|
+ <p>{{item.newsAbstract}}</p>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
|
|
|
- <ul>
|
|
|
+ <!-- <ul>
|
|
|
<li>
|
|
|
<h5><a href="">中国医政管理沙龙第116次</a></h5>
|
|
|
<p>2016年春运火车票将从下周四开始发售。根据铁总官方……</p>
|
|
@@ -81,7 +89,7 @@
|
|
|
<p>2016年春运火车票将从下周四开始发售。根据铁总官方……</p>
|
|
|
<div class="xline"></div>
|
|
|
</li>
|
|
|
- </ul>
|
|
|
+ </ul> -->
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
@@ -101,7 +109,9 @@
|
|
|
<div>
|
|
|
<div style="padding-left: 10px;padding-right: 10px">
|
|
|
<ul>
|
|
|
- <li v-for="(item, index) in doctorReview"><a href="reviewhospital">{{item.title}}</a></li>
|
|
|
+ <li v-for="(item, index) in doctorReview">
|
|
|
+ <a href="reviewhospital">{{item.title}}</a>
|
|
|
+ </li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -383,10 +393,11 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="fsPic">
|
|
|
- <img src="../assets/image/1.png">
|
|
|
- <img src="../assets/image/2.png">
|
|
|
- <img src="../assets/image/3.png">
|
|
|
- <img src="../assets/image/4.png">
|
|
|
+ <ul>
|
|
|
+ <li v-for="(item, index) in friendshipList" @click="jumpFriendship(item)">
|
|
|
+ <img :src="item.photoUrl">
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -405,6 +416,7 @@ export default {
|
|
|
usertable: [],
|
|
|
picOne: [],
|
|
|
picTwo: {},
|
|
|
+ friendshipList: [],
|
|
|
PageNameOne: '',
|
|
|
PageNameTwo: '',
|
|
|
PageNameThree: '',
|
|
@@ -414,6 +426,9 @@ export default {
|
|
|
PageNameSeven: '',
|
|
|
PageNameEight: '',
|
|
|
PageNameNine: '',
|
|
|
+ //二级医政沙龙风采
|
|
|
+ dragonName: '',
|
|
|
+ dragonList: [],
|
|
|
// 服务项目内容
|
|
|
serviceList: [],
|
|
|
// 医政沙龙风采内容
|
|
@@ -657,6 +672,7 @@ export default {
|
|
|
this.PageNameOne = this.usertable[i].name;
|
|
|
}else if (this.usertable[i].homePageOrder == 2){
|
|
|
this.PageNameTwo = this.usertable[i].name;
|
|
|
+ this.dragonName = this.usertable[i].childList[1].name;
|
|
|
}else if (this.usertable[i].homePageOrder == 3){
|
|
|
this.PageNameThree = this.usertable[i].name;
|
|
|
}else if (this.usertable[i].homePageOrder == 4){
|
|
@@ -704,7 +720,8 @@ export default {
|
|
|
async loadLink () {
|
|
|
const response = await this.$http.get(`biz/links`);
|
|
|
if (response.data.code === 1) {
|
|
|
- console.log(response.data.responseData)
|
|
|
+ this.friendshipList = response.data.responseData
|
|
|
+ console.log(this.friendshipList)
|
|
|
}
|
|
|
},
|
|
|
// async loadNewOne () {
|
|
@@ -738,7 +755,6 @@ export default {
|
|
|
const response = await this.$http.get(`biz/newsArticles/${5}`)
|
|
|
if (response.data.code === 1) {
|
|
|
this.newRules = response.data.responseData.records.slice(0,8);
|
|
|
- console.log(response.data.responseData.records)
|
|
|
}
|
|
|
},
|
|
|
//专家风采内容
|
|
@@ -762,6 +778,13 @@ export default {
|
|
|
this.nursingWorld = response.data.responseData.records.slice(0,6);
|
|
|
}
|
|
|
},
|
|
|
+ //医政沙龙风采
|
|
|
+ async loadNewDragon() {
|
|
|
+ const response = await this.$http.get(`biz/newsArticles/${12}`)
|
|
|
+ if (response.data.code === 1) {
|
|
|
+ this.dragonList = response.data.responseData.records.slice(0,3);
|
|
|
+ }
|
|
|
+ },
|
|
|
// async loadNewNine() {
|
|
|
// const response = await this.$http.get(`biz/newsArticles/${9}`)
|
|
|
// if (response.data.code === 1) {;
|
|
@@ -772,7 +795,10 @@ export default {
|
|
|
// if (response.data.code === 1) {;
|
|
|
// }
|
|
|
// },
|
|
|
-
|
|
|
+ //跳转友情链接
|
|
|
+ jumpFriendship(item) {
|
|
|
+ window.open(item.url);
|
|
|
+ }
|
|
|
},
|
|
|
created() {
|
|
|
this.loadData();
|
|
@@ -786,6 +812,7 @@ export default {
|
|
|
this.loadNewSix();
|
|
|
this.loadNewSeven();
|
|
|
this.loadNewEight();
|
|
|
+ this.loadNewDragon();
|
|
|
// this.loadNewNine();
|
|
|
// this.loadNewTen();
|
|
|
},
|
|
@@ -856,18 +883,32 @@ export default {
|
|
|
.home-page .fwcont ul li img {
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
-/*医政沙龙样式*/
|
|
|
+/*医政沙龙风采样式*/
|
|
|
.home-page .slcont {
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
-.home-page .slcont h5 a {
|
|
|
+.home-page .slcont .dragon li {
|
|
|
+ margin-top: 10px;
|
|
|
+ overflow: hidden;/*超出部分隐藏*/
|
|
|
+ white-space: nowrap;/*不换行*/
|
|
|
+ text-overflow:ellipsis;
|
|
|
+}
|
|
|
+
|
|
|
+.home-page .slcont .dragon a {
|
|
|
font-size: 16px;
|
|
|
color: #333333;
|
|
|
}
|
|
|
-.home-page .slcont h5 a:hover{
|
|
|
+.home-page .slcont .dragon a:hover {
|
|
|
color: #2868df;
|
|
|
text-decoration:underline;
|
|
|
}
|
|
|
+/*.home-page .slcont h5 a {
|
|
|
+
|
|
|
+}
|
|
|
+.home-page .slcont h5 a:hover{
|
|
|
+ color: #2868df;
|
|
|
+ text-decoration:underline;
|
|
|
+}*/
|
|
|
.home-page .slcont p {
|
|
|
margin-top: 5px;
|
|
|
font-size: 12px;
|
|
@@ -1161,8 +1202,20 @@ export default {
|
|
|
}
|
|
|
.home-page .friendship .fsPic {
|
|
|
margin-top: 20px;
|
|
|
+ margin-bottom: 20px;
|
|
|
}
|
|
|
-.home-page .friendship .fsPic img {
|
|
|
- margin-left: 1.2%;
|
|
|
+.home-page .friendship .fsPic ul {
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+.home-page .friendship .fsPic li {
|
|
|
+ float: left;
|
|
|
+ width: 20%;
|
|
|
+ height: 45px;
|
|
|
+ margin-left: 2%;
|
|
|
+ cursor:pointer;
|
|
|
+}
|
|
|
+.home-page .friendship .fsPic li img {
|
|
|
+ height: 100%;
|
|
|
+ width: 100%;
|
|
|
}
|
|
|
</style>
|