qa_portal_vue/app/pages/service/index.vue

140 lines
3.4 KiB
Vue
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<template>
<div class="container">
<AppHead/>
<div class="banner">
<div class="banner_main">
<h2>业务服务</h2>
<p>安全第一 预防为主 综合治理</p>
</div>
</div>
<div class="new_container">
<div class="left">
<div class="top">业务与服务</div>
<div class="main">
<div
v-for="(item, index) in serverItems"
:key="index"
class="list"
:class="{ active: activeIndex === index }"
@click="activeIndex = index"
>
{{item}}
</div>
</div>
</div>
<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>
</div>
</div>
<AppFoot/>
<right/>
</div>
</template>
<script setup lang="ts">
import { ref } from "vue";
const serverItems=["安全评价", "安全标准化评价与咨询", "职业卫生检测与评价", "安全生产检测检验","环境卫生检测检验","应急救援预案指导","安全培训","交通培训"];
const activeIndex = ref(0);
</script>
<style scoped lang="scss">
.container {
background: #f6f8fa;
.banner {
width: 100%;
height: 320px;
background: url("@/assets/images/newbanner.png") no-repeat top center;
.banner_main {
width: 1400px;
margin: 0 auto;
padding-top: 135px;
h2 {
font-size: 60px;
color: #ffffff;
margin: 0;
padding: 0;
}
p {
margin: 0;
color: #ffffff;
}
}
}
.new_container {
width: 1400px;
margin: 20px auto;
display: flex;
.left{
width: 250px;
box-sizing: border-box;
background: #ffffff;
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;
cursor: pointer;
color: #222222;
margin-bottom: 5px;
border-radius: 4px;
border-left: 4px solid #ffffff;
&:hover{
background: #e4ecff;
border-left: 4px solid #3f79ff;
color: #3f79ff;
}
}
.active{
background: #e4ecff;
border-left: 4px solid #3f79ff;
color: #3f79ff;
}
&:last-child{
border-bottom: none;
}
}
}
.right_main{
flex: 1;
margin-left: 20px;
background: #ffffff;
padding: 10px;
color: #333333;
line-height: 2;
text-indent: 2rem;
min-height: 500px;
}
}
}
</style>