Tcode平台改造升级-关于我们页面开发
This commit is contained in:
227
src/views/Jyh/Intro/component/ItemPower.vue
Normal file
227
src/views/Jyh/Intro/component/ItemPower.vue
Normal file
@@ -0,0 +1,227 @@
|
||||
<template>
|
||||
<div class="item-power">
|
||||
<h4 class="wow xsddhxg animated" style="visibility: visible;">我们的实力</h4>
|
||||
<div class="power-slider wow xsddhxg animated" style="visibility: visible;">
|
||||
<div class="power-list"> <!-- Flex布局容器 -->
|
||||
<!-- 第一个模块 -->
|
||||
<div class="power-item">
|
||||
<div class="s-item">
|
||||
<img src="@/assets/v3/first.png" alt="演练成绩">
|
||||
<div class="s-txt">
|
||||
<h5>演练成绩</h5>
|
||||
<div class="ul-out">
|
||||
<ul class="EASE">
|
||||
<li>2024 武汉市东西湖区网络安全实战攻防演练第一名</li>
|
||||
<li>2023 "磐石行动"东西湖区工业和信息化领域网络安全实战攻防第一名</li>
|
||||
<li>2022、2023 湖北省数字政府网络安全攻防演练第一名</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 第二个模块 -->
|
||||
<div class="power-item">
|
||||
<div class="s-item">
|
||||
<img src="@/assets/v3/sl5.png" alt="国家级漏洞库全支撑">
|
||||
<div class="s-txt">
|
||||
<h5>国家级漏洞库全支撑</h5>
|
||||
<div class="ul-out">
|
||||
<ul class="EASE">
|
||||
<li>国家信息安全漏洞共享平台(CNVD)技术组支撑单位</li>
|
||||
<li>国家信息安全漏洞库(CNNVD)技术支撑单位等级证书(一级)</li>
|
||||
<li>工业和信息化部网络安全威胁和漏洞信息共享平台(NVDB)</li>
|
||||
<li>通用网络产品安全漏洞专业库(三星级)</li>
|
||||
<li>信创政务产品安全漏洞专业库-技术支撑单位(三级)</li>
|
||||
<li>工业和信息化部移动互联网 APP 产品安全漏洞库-技术支撑单位</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 第三个模块 -->
|
||||
<div class="power-item">
|
||||
<div class="s-item">
|
||||
<img src="@/assets/v3/sl6.png" alt="权威漏洞机构能力认可">
|
||||
<div class="s-txt">
|
||||
<h5>权威漏洞机构能力认可</h5>
|
||||
<div class="ul-out">
|
||||
<ul class="EASE">
|
||||
<li>NVDB 2023 年度漏洞治理合作最具贡献单位、优秀漏洞合作治理单位、优秀漏洞报送机构</li>
|
||||
<li>CNVD 2023 年度漏洞信息报送贡献单位、2022 年度漏洞应急工作突出贡献单位</li>
|
||||
<li>CNVD 2020 年度原创漏洞发现贡献单位、最具价值漏洞奖</li>
|
||||
<li>CNNVD 2023 年度(第一期)漏洞激励一级贡献奖、二级贡献奖</li>
|
||||
<li>CNNVD 2024 年度(第一期)漏洞激励一级贡献奖</li>
|
||||
<li>CNNVD 2023 年度重大漏洞消控优秀贡献奖</li>
|
||||
<li>CNNVD 2023 年度、2022 年度优秀技术支撑单位</li>
|
||||
<li>2023 年提交漏洞 1500+,原创漏洞 290+,63%为高危以上漏洞</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "ItemPower"
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.pg-intro .item-power {
|
||||
background-color: #f1f2f5;
|
||||
padding: 80px 0;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.pg-intro .item-power h4 {
|
||||
color: #333;
|
||||
font-size: 28px;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
letter-spacing: 1px;
|
||||
letter-spacing: 1.7px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.pg-intro .item-power .power-slider {
|
||||
margin: 50px auto 0;
|
||||
width: 100%;
|
||||
max-width: 1600px;
|
||||
}
|
||||
|
||||
.pg-intro .item-power .power-list {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: stretch;
|
||||
gap: 30px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.pg-intro .item-power .power-item {
|
||||
width: calc(33.333% - 20px);
|
||||
min-width: 320px;
|
||||
height: 490px;
|
||||
}
|
||||
|
||||
.pg-intro .item-power .power-item .s-item {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.pg-intro .item-power .power-item .s-item .hd {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pg-intro .item-power .power-item .s-item>img {
|
||||
display: block;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: center top;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
// 核心:s-txt 基础样式 + 过渡动画
|
||||
.pg-intro .item-power .power-item .s-txt {
|
||||
background-color: #fffffff5;
|
||||
bottom: 0;
|
||||
color: #333;
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
height: 179px; /* 默认高度 */
|
||||
left: 0;
|
||||
line-height: 24px;
|
||||
overflow: hidden;
|
||||
padding: 33px 36px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
text-align: left;
|
||||
transition: height 0.4s ease-out; /* 仅过渡高度,保证动画流畅 */
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
// 鼠标悬浮到s-item(整个模块)时,s-txt 高度变为340px
|
||||
.pg-intro .item-power .power-item .s-item:hover .s-txt {
|
||||
height: 340px; /* 悬浮延伸高度 */
|
||||
}
|
||||
|
||||
// 基础状态:ul-out 高度限制,隐藏多余内容
|
||||
.pg-intro .item-power .power-item .s-txt .ul-out {
|
||||
height: 70px;
|
||||
overflow: hidden;
|
||||
transition: height 0.4s ease-out; /* 内容高度也加过渡 */
|
||||
}
|
||||
|
||||
// 悬浮时:ul-out 高度自动,显示全部内容
|
||||
.pg-intro .item-power .power-item .s-item:hover .s-txt .ul-out {
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.pg-intro .item-power .power-item .s-txt .ul-out ul {
|
||||
margin: 16px 0 0;
|
||||
}
|
||||
|
||||
.pg-intro .item-power .power-item .s-txt .ul-out ul:first-child {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.pg-intro .item-power .power-item .s-txt h5 {
|
||||
color: #333;
|
||||
font-size: 20px;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
line-height: 30px;
|
||||
margin: 0 0 5px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.pg-intro .item-power .power-item .s-txt li {
|
||||
font-style: normal;
|
||||
padding: 0 0 0 16px;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
transition: all .4s ease-out;
|
||||
}
|
||||
|
||||
.pg-intro .item-power .power-item .s-txt li:after {
|
||||
background: #4bad52;
|
||||
border-radius: 50%;
|
||||
content: "";
|
||||
height: 6px;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
transform: translateY(-50%);
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
// 响应式适配
|
||||
@media (max-width: 1200px) {
|
||||
.pg-intro .item-power .power-item {
|
||||
width: calc(50% - 15px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.pg-intro .item-power .power-item {
|
||||
width: 100%;
|
||||
margin-bottom: 20px;
|
||||
// 移动端悬浮高度适当调整(可选)
|
||||
height: auto;
|
||||
}
|
||||
.pg-intro .item-power .power-item .s-txt {
|
||||
height: auto;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user