|
@@ -1,7 +1,13 @@
|
|
<template>
|
|
<template>
|
|
<div class="container">
|
|
<div class="container">
|
|
|
|
+ <el-tabs tab-position="right" v-model="activeName" class="container-tabs">
|
|
|
|
+ <el-tab-pane label="共享实验室" name="共享实验室"> </el-tab-pane>
|
|
|
|
+ <el-tab-pane label="共享仪器设备" name="共享仪器设备"></el-tab-pane>
|
|
|
|
+ <el-tab-pane label="检测服务" name="检测服务"></el-tab-pane>
|
|
|
|
+ <el-tab-pane label="科研平台" name="科研平台"></el-tab-pane>
|
|
|
|
+ </el-tabs>
|
|
<!-- 实验室 -->
|
|
<!-- 实验室 -->
|
|
- <div class="laboratory">
|
|
|
|
|
|
+ <div class="laboratory" v-if="activeName === '共享实验室'">
|
|
<div class="title">共享实验室</div>
|
|
<div class="title">共享实验室</div>
|
|
<div class="slogan">开放创新空间,共享实验室资源</div>
|
|
<div class="slogan">开放创新空间,共享实验室资源</div>
|
|
<div class="content">
|
|
<div class="content">
|
|
@@ -23,15 +29,38 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 仪器 -->
|
|
<!-- 仪器 -->
|
|
- <div class="instrument"></div>
|
|
|
|
|
|
+ <div class="instrument" v-if="activeName === '共享仪器设备'">
|
|
|
|
+ <div class="title">共享仪器设备</div>
|
|
|
|
+ <div class="slogan">探索无限可能,共享设备助力科研创新</div>
|
|
|
|
+ <div class="content">
|
|
|
|
+ 在科研和技术开发的道路上,高质量的实验设备是不可或缺的。我们提供广泛的共享设备资源,旨在降低研究门槛,促进学术界和工业界的创新合作。
|
|
|
|
+ </div>
|
|
|
|
+ <div class="info">
|
|
|
|
+ <div class="item">
|
|
|
|
+ <img class="item-icon" src="@/assets/icon/si/phone.png" alt="#" />
|
|
|
|
+ <div class="item-label">400-123-4567</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="item">
|
|
|
|
+ <img class="item-icon" src="@/assets/icon/si/email.png" alt="#" />
|
|
|
|
+ <div class="item-label">service@shareddevices.com</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="item">
|
|
|
|
+ <img class="item-icon" src="@/assets/icon/si/address.png" alt="#" />
|
|
|
|
+ <div class="item-label">北京市海淀区科技园区创新路88号</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
<!-- 检测服务 -->
|
|
<!-- 检测服务 -->
|
|
- <div class="overall"></div>
|
|
|
|
|
|
+ <div class="overall" v-if="activeName === '检测服务'"></div>
|
|
<!-- 达人 -->
|
|
<!-- 达人 -->
|
|
- <div class="expert"></div>
|
|
|
|
|
|
+ <div class="expert" v-if="activeName === '科研平台'"></div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
-<script setup lang="ts"></script>
|
|
|
|
|
|
+<script lang="ts" setup>
|
|
|
|
+import { ref } from "vue";
|
|
|
|
+const activeName = ref("共享实验室");
|
|
|
|
+</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
.container {
|
|
.container {
|
|
@@ -39,10 +68,16 @@
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
align-items: center;
|
|
width: 100vw;
|
|
width: 100vw;
|
|
|
|
+ position: relative;
|
|
|
|
+ .container-tabs {
|
|
|
|
+ position: absolute;
|
|
|
|
+ right: 3rem;
|
|
|
|
+ top: 20rem;
|
|
|
|
+ }
|
|
.laboratory {
|
|
.laboratory {
|
|
width: 100vw;
|
|
width: 100vw;
|
|
- height: 45.6rem;
|
|
|
|
- background-image: url("@/assets/pic/innovate/bg_01.png");
|
|
|
|
|
|
+ min-height: calc(100vh - 4rem);
|
|
|
|
+ background-image: url("@/assets/innovate/1.png");
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
background-repeat: no-repeat;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-position: center;
|
|
@@ -90,21 +125,77 @@
|
|
}
|
|
}
|
|
.instrument {
|
|
.instrument {
|
|
width: 100vw;
|
|
width: 100vw;
|
|
- height: 45.6rem;
|
|
|
|
- background-image: url("@/assets/pic/innovate/bg_02.png");
|
|
|
|
|
|
+ min-height: calc(100vh - 4rem);
|
|
|
|
+ background-image: url("@/assets/innovate/2.png");
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
background-repeat: no-repeat;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-position: center;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding-top: 30rem;
|
|
|
|
+ padding-left: 6.25rem;
|
|
|
|
+ color: #fff;
|
|
|
|
+ .title {
|
|
|
|
+ font-size: 2.5rem;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ line-height: 3.75rem;
|
|
|
|
+ margin-bottom: 1rem;
|
|
|
|
+ }
|
|
|
|
+ .slogan {
|
|
|
|
+ font-size: 1.5625rem;
|
|
|
|
+ font-weight: 700;
|
|
|
|
+ line-height: 2.8rem;
|
|
|
|
+ margin-bottom: 0.5rem;
|
|
|
|
+ }
|
|
|
|
+ .content {
|
|
|
|
+ width: 52rem;
|
|
|
|
+ font-size: 1.25rem;
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ line-height: 1.875rem;
|
|
|
|
+ color: rgba(255, 255, 255, 0.65);
|
|
|
|
+ }
|
|
|
|
+ .info {
|
|
|
|
+ display: flex;
|
|
|
|
+ gap: 1rem;
|
|
|
|
+ margin-top: 1rem;
|
|
|
|
+ .item {
|
|
|
|
+ display: flex;
|
|
|
|
+ color: rgba(255, 255, 255, 0.65);
|
|
|
|
+ .item-icon {
|
|
|
|
+ width: 1.25rem;
|
|
|
|
+ height: 1.25rem;
|
|
|
|
+ margin-right: 0.3rem;
|
|
|
|
+ }
|
|
|
|
+ .info-label {
|
|
|
|
+ font-size: 1.25rem;
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.overall {
|
|
.overall {
|
|
width: 100vw;
|
|
width: 100vw;
|
|
- height: 130rem;
|
|
|
|
- background-color: #999;
|
|
|
|
|
|
+ height: 131rem;
|
|
|
|
+ min-height: calc(100vh - 4rem);
|
|
|
|
+ background-image: url("@/assets/innovate/3.png");
|
|
|
|
+ background-size: 100% 100%;
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ background-position: center;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding-top: 30rem;
|
|
|
|
+ padding-left: 6.25rem;
|
|
|
|
+ color: #fff;
|
|
}
|
|
}
|
|
.expert {
|
|
.expert {
|
|
width: 100vw;
|
|
width: 100vw;
|
|
- height: 105rem;
|
|
|
|
- background-color: #929292;
|
|
|
|
|
|
+ min-height: calc(100vh - 4rem);
|
|
|
|
+ background-image: url("@/assets/innovate/4.png");
|
|
|
|
+ background-size: 100% 100%;
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ background-position: center;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding-top: 30rem;
|
|
|
|
+ padding-left: 6.25rem;
|
|
|
|
+ color: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|