qa_portal_vue/app/pages/service/index.vue

140 lines
3.5 KiB
Vue
Raw Normal View History

2026-03-09 13:54:04 +08:00
<template>
<div class="container">
<AppHead/>
<div class="banner">
<div class="banner_main">
2026-03-09 17:06:41 +08:00
<h2>业务服务</h2>
2026-03-09 13:54:04 +08:00
<p>安全第一 预防为主 综合治理</p>
</div>
</div>
2026-03-10 11:21:06 +08:00
2026-03-09 13:54:04 +08:00
<div class="new_container">
2026-03-10 11:21:06 +08:00
<div class="left">
<div class="top">业务与服务</div>
<div class="main">
2026-03-09 17:06:41 +08:00
<div
v-for="(item, index) in serverItems"
:key="index"
class="list"
:class="{ active: activeIndex === index }"
@click="activeIndex = index"
>
{{item}}
</div>
2026-03-09 13:54:04 +08:00
</div>
</div>
2026-03-10 11:21:06 +08:00
<div class="right_main">
<div v-if="activeIndex === 0">
河北秦安安全科技股份有限公司原秦皇岛中宇安全评价有限公司2019年12月26日取得了河北省应急管理厅颁发的安全评价机构资质证书证书编号APJ-()-001现有安全评价师35人其中一级评价师9人二级评价师10人三级评价师16人具有高级专业技术职称的6人具有中级专业技术职称的5人注册安全工程师20人
</div>
<div v-if="activeIndex === 1">
<p>安全标准化评南与咨询</p>
</div>
<div v-if="activeIndex === 2">
<p>职业卫生检测与评价</p>
</div>
<div v-if="activeIndex === 3">
<p>安全生产检测检验</p>
</div>
2026-03-09 13:54:04 +08:00
</div>
</div>
<AppFoot/>
<right/>
</div>
</template>
<script setup lang="ts">
2026-03-09 17:06:41 +08:00
import { ref } from "vue";
2026-03-10 11:21:06 +08:00
const serverItems=["安全评价", "安全标准化评价与咨询", "职业卫生检测与评价", "安全生产检测检验","环境卫生检测检验","应急救援预案指导","安全培训","交通培训"];
2026-03-09 17:06:41 +08:00
const activeIndex = ref(0);
2026-03-09 13:54:04 +08:00
</script>
<style scoped lang="scss">
.container {
background: #f6f8fa;
.banner {
width: 100%;
2026-03-10 11:21:06 +08:00
height: 320px;
2026-03-10 16:05:53 +08:00
background: url("@/assets/images/fuwu_banner.png") no-repeat top center;
2026-03-09 13:54:04 +08:00
.banner_main {
width: 1400px;
margin: 0 auto;
2026-03-10 11:21:06 +08:00
padding-top: 135px;
2026-03-09 13:54:04 +08:00
h2 {
font-size: 60px;
color: #ffffff;
margin: 0;
padding: 0;
}
p {
margin: 0;
color: #ffffff;
}
}
}
.new_container {
2026-03-10 11:21:06 +08:00
width: 1400px;
margin: 20px auto;
display: flex;
.left{
width: 250px;
box-sizing: border-box;
2026-03-09 13:54:04 +08:00
background: #ffffff;
2026-03-10 11:21:06 +08:00
border-radius: 4px;
.top{
width: 100%;
background: #3f79ff;
text-align: center;
color: #ffffff;
line-height: 40px;
border-radius: 4px 4px 0 0;
font-weight: bold;
}
.main{
padding: 10px;
.list{
padding: 10px;
font-size: 14px;
2026-03-09 13:54:04 +08:00
cursor: pointer;
2026-03-10 11:21:06 +08:00
color: #222222;
margin-bottom: 5px;
border-radius: 4px;
border-left: 4px solid #ffffff;
&:hover{
background: #e4ecff;
border-left: 4px solid #3f79ff;
color: #3f79ff;
2026-03-09 13:54:04 +08:00
}
}
2026-03-10 11:21:06 +08:00
.active{
background: #e4ecff;
border-left: 4px solid #3f79ff;
color: #3f79ff;
}
&:last-child{
border-bottom: none;
}
2026-03-09 13:54:04 +08:00
}
}
2026-03-10 11:21:06 +08:00
.right_main{
flex: 1;
margin-left: 20px;
2026-03-09 17:06:41 +08:00
background: #ffffff;
2026-03-10 11:21:06 +08:00
padding: 10px;
color: #333333;
line-height: 2;
text-indent: 2rem;
min-height: 500px;
2026-03-09 17:06:41 +08:00
2026-03-09 13:54:04 +08:00
}
}
}
</style>