-
+
- 江苏中业消防技术服务有限公司位于江苏省连云港市,注册资本1000万元,具备消防设施工程专业承包贰级、建筑装修装饰工程专业承包贰级、施工劳务不分等级资质,同时具备建筑消防设施检测、维保、评估资质。是一家集设计咨询、消防技术咨询、消防工程技术服务、消防施工、火灾隐患排查整治指导及消防设施维护保养、检测、安全评估为一体的综合性消防技术服务机构,一直致力于消防领域的科学研究与社会消防技术服务,实现品牌创造与效益双赢。
+ {{introduce.excerpt}}
-
+
公司介绍
-
+
组织机构
-
+
资质证书
@@ -66,15 +66,17 @@
-
+
+
@@ -41,15 +50,35 @@
},
data(){
return{
- activeName: '1'
-
+ activeName: '1',
+ news:[],
+ dynamic:[],
+ statute:[],
}
},
created(){
+ this.getData()
+ localStorage.getItem('activeName')
+
},
methods:{
+ jumpToArticle(id){
+ localStorage.setItem('activeName',this.activeName)
+ this.$router.push({path:'/article',query:{id: id}})
+ },
+ getData(){
+ this.$http.get(`zy/website/article/page?type=公司新闻`).then(res=>{
+ this.news = res.data.rows
+ })
+ this.$http.get(`zy/website/article/page?type=行业动态`).then(res=>{
+ this.dynamic = res.data.rows
+ })
+ this.$http.get(`zy/website/article/page?type=法规标准`).then(res=>{
+ this.statute = res.data.rows
+ })
+ },
handleClick(tabsPaneContext,e){
console.log(tabsPaneContext)
console.log(e)
@@ -59,10 +88,19 @@
}
\ No newline at end of file
- 中业消防获“第一批成都工业精品”认定
- 2019-2-13
+
+ {{item.tittle}}
+ {{item.tittle.slice(0,34)}}...
+ {{item.submitTime}}
-
@@ -91,23 +93,61 @@
},
data(){
return{
+ introduce:{},
activeIndexInfo: 0,
+ news:[],
+ dynamic:[],
+ statute:[],
+ information:[],
informationMenu:[
{name:'公司新闻'},
{name:'行业动态'},
- {name:'消防规范'}
- ]
+ {name:'法规标准'}
+ ],
+ queryParams:{
+ pageNum: 1,
+ pageSize: 5
+ },
}
},
created(){
-
+ this.getIntroduce()
},
-
methods:{
+ jumpTo(path,name){
+ this.$router.push({path: path,query:{name: name}})
+ },
+ jumpToArticle(id){
+ this.$router.push({path:'/article',query:{id: id}})
+ },
selectTab(i){
- this.activeIndexInfo = i
- }
+ this.activeIndexInfo = i
+ if(i==0){
+ this.information = this.news
+ }
+ if(i==1){
+ this.information = this.dynamic
+ }
+ if(i==2){
+ this.information = this.statute
+ }
+ },
+ getIntroduce(){
+ this.$http.get(`zy/website/article/page?type=公司介绍`).then(res=>{
+ this.introduce = res.data.rows[0]
+ })
+ this.$http.get(`zy/website/article/page?type=公司新闻&pageNum=${this.queryParams.pageNum}&pageSize=${this.queryParams.pageSize}`).then(res=>{
+ this.news = res.data.rows
+ this.information = this.news
+ })
+ this.$http.get(`zy/website/article/page?type=行业动态&pageNum=${this.queryParams.pageNum}&pageSize=${this.queryParams.pageSize}`).then(res=>{
+ this.dynamic = res.data.rows
+ })
+ this.$http.get(`zy/website/article/page?type=法规标准&pageNum=${this.queryParams.pageNum}&pageSize=${this.queryParams.pageSize}`).then(res=>{
+ this.statute = res.data.rows
+ })
+ }
}
}
@@ -179,6 +219,7 @@
display: flex;
justify-content: center;
align-items: center;
+ cursor: pointer;
img{
width: auto;
height: .25rem;
@@ -269,6 +310,10 @@
font-size: .2rem;
color: #282828;
border-bottom: .0125rem solid #DADADA;
+ cursor: pointer;
+ &:hover{
+ color: #189eef;
+ }
&:last-child{
border: none;
}
@@ -286,6 +331,11 @@
height: 3.2875rem;
margin-left: .4rem;
position: relative;
+ &:hover{
+ .title{
+ color: #189eef;
+ }
+ }
img{
width: 100%;
height: 100%;
@@ -299,6 +349,8 @@
color: #FFFFFF;
line-height: .475rem;
bottom: 0;
+ padding-left: .125rem;
+ text-align: left;
}
}
}
diff --git a/src/views/pages/honor.vue b/src/views/pages/honor.vue
index af4402f..a7adb2d 100644
--- a/src/views/pages/honor.vue
+++ b/src/views/pages/honor.vue
@@ -1,9 +1,9 @@
-
-
中业消防获“第一批成都工业精品”认定
+
+
+
{{item.tittle.slice(0,20)}}...
+ {{item.tittle}}
-
@@ -16,14 +16,19 @@
},
data(){
return{
-
+ certificate:[]
}
},
created(){
-
+ this.getData()
},
methods:{
+ getData(){
+ this.$http.get(`zy/website/article/page?type=资质证书`).then(res=>{
+ this.certificate = res.data.rows
+ })
+ },
}
}
@@ -45,7 +50,7 @@
margin-bottom: .375rem;
img{
width: auto;
- height: 4rem;
+ height: 3.75rem;
}
.title{
margin-top: .125rem;
diff --git a/src/views/pages/information.vue b/src/views/pages/information.vue
index 31831d4..76820dc 100644
--- a/src/views/pages/information.vue
+++ b/src/views/pages/information.vue
@@ -3,30 +3,39 @@
-
-
安全生产许可证
+
+
+
{{item.tittle}}
-
-
-
-
-
+
+
-
+
+
-
新闻名称新闻标题长长的标题
- 2019-3-1
+ {{item.tittle.slice(0,18)}}...
+ {{item.tittle}}.
+ {{item.submitTime}}
+
+
+
+
+
+ {{item.tittle.slice(0,18)}}...
+ {{item.tittle}}.
+ {{item.submitTime}}
+