Files
dvcp_v2_webapp/project/dv/apps/components/PdGrid.vue
yanran200730 6598c138c0 郫都大屏
2022-08-10 11:28:34 +08:00

117 lines
2.6 KiB
Vue

<template>
<div class="pdgird">
<div class="pdgird-title">
<h2>幸福郫都微网实格架构</h2>
</div>
<div class="pdgird-body">
<div class="pdgird-body__item">
<h2>240</h2>
<p>多层网格</p>
</div>
<div class="pdgird-body__item">
<h2>240</h2>
<p>第一网格</p>
</div>
<div class="pdgird-body__item">
<h2>240</h2>
<p>微网格</p>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'pdgird',
data () {
return {
}
}
}
</script>
<style lang="scss">
.pdgird {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
box-sizing: border-box;
background: url(https://cdn.cunwuyun.cn/dvcp/dv/pddv/middle-bg.png) no-repeat center;
background-size: contain;
* {
box-sizing: border-box;
}
.pdgird-title {
position: absolute;
top: 180px;
left: 50%;
width: 640px;
height: 80px;
line-height: 80px;
text-align: center;
background: url(https://cdn.cunwuyun.cn/dvcp/dv/pddv/middle-titlebg.png) no-repeat center;
background-size: 100% 100%;
transform: translateX(-50%);
h2 {
color: #FFFFFF;
font-size: 32px;
text-shadow: 0px 0px 13px rgb(59 182 255 / 80%);
background: #fff;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
.pdgird-body {
display: flex;
position: absolute;
justify-content: space-between;
bottom: 220px;
left: 0;
width: 100%;
padding: 0 112px;
.pdgird-body__item {
display: flex;
flex-direction: column;
width: 200px;
height: 187px;
align-items: center;
padding-top: 71px;
background: url(https://cdn.cunwuyun.cn/dvcp/dv/pddv/item-bg.png) no-repeat center;
background-size: 100% 100%;
&:nth-of-type(2) {
position: relative;
top: 67px;
}
h2 {
font-size: 36px;
color: #FFFFFF;
text-shadow: 0px 0px 13px rgb(59 182 255 / 80%);
background: #fff;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
p {
font-size: 18px;
color: #FFFFFF;
text-shadow: 0px 0px 13px rgb(59 182 255 / 80%);
background: #fff;
-webkit-background-clip: text;
font-weight: 600;
-webkit-text-fill-color: transparent;
}
}
}
}
</style>