diff --git a/src/App.vue b/src/App.vue index de6f0b7..d130811 100755 --- a/src/App.vue +++ b/src/App.vue @@ -35,6 +35,7 @@ img{ text-overflow: ellipsis; overflow: hidden; word-break: break-all; + } .max2{ @@ -47,6 +48,17 @@ img{ -webkit-box-orient: vertical; } + +.max4{ + text-overflow: -o-ellipsis-lastline; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 4; + line-clamp: 4; + -webkit-box-orient: vertical; +} + .title{ color: #333; } @@ -66,4 +78,6 @@ img{ line-height: 1.5rem; } + + diff --git a/src/router/routers.js b/src/router/routers.js index ebde7a4..b9302c1 100755 --- a/src/router/routers.js +++ b/src/router/routers.js @@ -29,7 +29,7 @@ export default [ name: 'overview', meta: { hideInMenu: true, - title: '概览', + title: '首页', notCache: true, showInBreadCrumb: true }, diff --git a/src/view/about.vue b/src/view/about.vue index 3d0c961..907ec64 100755 --- a/src/view/about.vue +++ b/src/view/about.vue @@ -3,7 +3,8 @@ 您的位置: 首页 - 关于我们 + 关于我们 + 详情 @@ -17,10 +18,10 @@ {{item.channelName}} - + - +

{{item.title}}

@@ -44,10 +45,16 @@ > -->
- -
+ + +

{{activeItem.title}}

+
作者:{{activeItem.author}}       发布日期:{{activeItem.publishTime}}
+
+
+
+
@@ -64,7 +71,9 @@ export default { activeIndex: 0, dataList: [], infoId: '', - InfoObj: {} + InfoObj: {}, + isShow: false, + activeItem: {} } }, filters: { @@ -85,6 +94,14 @@ export default { } }, methods: { + goToList(){ + this.isShow = false + this.$forceUpdate() + }, + goToDetail(item){ + this.isShow = true + this.activeItem = {...item} + }, async getChannelsRequest(){ let res = await getChannelsRequest({current:1,size:100}) if(res.code == 200){ @@ -124,7 +141,7 @@ export default { changeType(index){ this.activeIndex = index; - + this.isShow = false if(index == 0){ this.getChannelInformationsRequest(this.titleList[index].id) }else if(index == 1){ diff --git a/src/view/company.vue b/src/view/company.vue index a10c93b..55d04b7 100755 --- a/src/view/company.vue +++ b/src/view/company.vue @@ -3,13 +3,14 @@ 您的位置: 首页 - 企业认定 + 企业评估 + 详情
- 企业认定 + 企业评估
- + + + +

{{activeItem.title}}

+
作者:{{activeItem.author}}       发布日期:{{activeItem.publishTime}}
+
+
+
+ + +

协会团标 @@ -38,18 +48,49 @@ -

上海市集成电路行业协会简介

-
作者:SICA       发布日期:2011年12月28日 星期三
-
-
+

{{activeItem.title}}

+
作者:{{activeItem.author}}       发布日期:{{activeItem.publishTime}}
+
+
+
+ + + + +

申请编写团标

+ + + + + + + + + + + + + + + + +
+ 提交 +
+
+
+
+ +