This commit is contained in:
lcw
2025-10-23 13:38:03 +08:00
parent 6a1ea10ee6
commit 0becdcc9eb
4 changed files with 173 additions and 124 deletions

View File

@ -105,4 +105,3 @@ v-deep .el-loading-mask {
} }
</style> </style>

View File

@ -0,0 +1,33 @@
<svg width="1920" height="1080" viewBox="0 0 1920 1080" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_9_2545)">
<rect width="1920" height="1080" fill="url(#paint0_linear_9_2545)" fill-opacity="0.5"/>
<rect width="1920" height="1080" fill="url(#paint1_linear_9_2545)" fill-opacity="0.5"/>
</g>
<defs>
<linearGradient id="paint0_linear_9_2545" x1="960" y1="0" x2="960" y2="1080" gradientUnits="userSpaceOnUse">
<stop stop-color="#0078A4"/>
<stop offset="0.120509" stop-color="#0078A4" stop-opacity="0.545518"/>
<stop offset="0.179314" stop-color="#0078A4" stop-opacity="0.268142"/>
<stop offset="0.286458" stop-color="#0078A4" stop-opacity="0.0154769"/>
<stop offset="0.671875" stop-color="#0078A4" stop-opacity="0"/>
<stop offset="0.790323" stop-color="#0078A4" stop-opacity="0.221651"/>
<stop offset="0.863472" stop-color="#0078A4" stop-opacity="0.503942"/>
<stop offset="1" stop-color="#0078A4"/>
</linearGradient>
<linearGradient id="paint1_linear_9_2545" x1="1920" y1="592.5" x2="3.32107e-06" y2="592.5" gradientUnits="userSpaceOnUse">
<stop stop-color="#0078A4"/>
<stop offset="0.0924192" stop-color="#0078A4" stop-opacity="0.441093"/>
<stop offset="0.147393" stop-color="#0078A4" stop-opacity="0.212322"/>
<stop offset="0.194418" stop-color="#0078A4" stop-opacity="0.0732132"/>
<stop offset="0.249495" stop-color="#0078A4" stop-opacity="0"/>
<stop offset="0.756487" stop-color="#0078A4" stop-opacity="0"/>
<stop offset="0.815023" stop-color="#0078A4" stop-opacity="0.0812947"/>
<stop offset="0.870659" stop-color="#0078A4" stop-opacity="0.224653"/>
<stop offset="0.92232" stop-color="#0078A4" stop-opacity="0.463412"/>
<stop offset="1" stop-color="#0078A4"/>
</linearGradient>
<clipPath id="clip0_9_2545">
<rect width="1920" height="1080" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -13,67 +13,70 @@
background-size: 100% 100%; background-size: 100% 100%;
color: #fff; color: #fff;
// 头部 // 头部
.homeHead,.homeHeadsmall { .homeHead,
display: flex; .homeHeadsmall {
justify-content: space-between; display: flex;
position: fixed; justify-content: space-between;
top: 0; position: fixed;
left: 0; top: 0;
width: 100%; left: 0;
z-index: 8; width: 100%;
height: 4.896vw !important; z-index: 8;
background: url('~@/assets/recruitment/header_bg.svg') no-repeat; height: 4.896vw !important;
background-size: 100%; background: url('~@/assets/recruitment/header_bg.svg') no-repeat;
background-size: 100%;
.left_Head { .left_Head {
position: absolute;
left: 1vw;
top: 2.135vw;
font-family: "DigifaceWide";
}
.center_head {
position: absolute;
top: 2vw;
left: 50%;
transform: translateX(-56%);
font-size: 4vw;
font-family: "YSBTH";
letter-spacing: 0.104vw;
font-weight: 400;
white-space: nowrap;
span {
background-image: linear-gradient(to top, #165493 10%, #ffffff 50%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
&::before {
content: attr(text);
position: absolute; position: absolute;
z-index: -2; left: 1vw;
top: 2.135vw;
font-family: "DigifaceWide";
} }
}
.right_head { .center_head {
position: absolute;
right: 1.875vw;
top: 2.135vw;
.setting {
position: absolute; position: absolute;
top: -10px; top: 2vw;
left: -78px; left: 50%;
width: 1.8vw; transform: translateX(-56%);
height: 1.8vw; font-size: 4vw;
font-family: "YSBTH";
letter-spacing: 0.104vw;
font-weight: 400;
white-space: nowrap;
span {
background-image: linear-gradient(to top, #165493 10%, #ffffff 50%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
&::before {
content: attr(text);
position: absolute;
z-index: -2;
}
}
.right_head {
position: absolute;
right: 1.875vw;
top: 2.135vw;
.setting {
position: absolute;
top: -10px;
left: -78px;
width: 1.8vw;
height: 1.8vw;
}
} }
} }
}
.homeHeadsmall{ .homeHeadsmall {
// background: url('~@/assets/images/home_head_small.png') no-repeat center center; // background: url('~@/assets/images/home_head_small.png') no-repeat center center;
height: 6.771vw; height: 6.771vw;
.center_head { .center_head {
position: absolute; position: absolute;
top: 0.5vw; top: 0.5vw;
@ -87,86 +90,86 @@
} }
} }
// 侧边 // 侧边
.asidemodel { .asidemodel {
position: absolute; position: absolute;
top: 5.888vw; top: 5.888vw;
//width: 22.396vw; //width: 22.396vw;
//height: calc(100vh - 13.75vw); //height: calc(100vh - 13.75vw);
//transform: perspective(6.25vw) rotateY(2deg); //transform: perspective(6.25vw) rotateY(2deg);
.asideHead { .asideHead {
position: relative; position: relative;
height: 2.083vw; height: 2.083vw;
line-height: 2.083vw; line-height: 2.083vw;
margin-bottom: 1.042vw; margin-bottom: 1.042vw;
padding-left: 0.729vw; padding-left: 0.729vw;
padding-right: 0.729vw; padding-right: 0.729vw;
box-sizing: border-box; box-sizing: border-box;
span { span {
font-size: 1.458vw; font-size: 1.458vw;
@include textColor(#499FF2, #ffffff); @include textColor(#499FF2, #ffffff);
font-family: "HANYILINGXINTIJIAN"; font-family: "HANYILINGXINTIJIAN";
}
&::after {
position: absolute;
content: '';
width: 8.594vw;
height: 1.146vw;
left: 0.104vw;
top: 1.823vw;
background: url('~@/assets/images/bg_03.png') no-repeat left bottom;
background-size: 100%;
}
} }
&::after { .asideHeadR {
position: absolute; position: relative;
content: '';
width: 8.594vw; &::after {
height: 1.146vw; position: absolute;
left: 0.104vw; content: '';
top: 1.823vw; width: 8.594vw;
background: url('~@/assets/images/bg_03.png') no-repeat left bottom; height: 1.146vw;
left: 13.333vw;
top: 1.823vw;
background: url('~@/assets/images/bg_03.png') no-repeat left bottom;
background-size: 100%;
transform: rotate(180deg);
}
}
.modelBox {
height: calc(100% - 3.125vw);
}
.asideItem {
flex: 1 0 0;
// margin: 0px 0.052vw;
margin: 0 0.052vw 1.5vh;
overflow: hidden;
// margin-bottom: 0.26vw;
background: url('~@/assets/images/bg_04.png') no-repeat left bottom;
background-size: 100%; background-size: 100%;
} }
} }
.asideHeadR {
position: relative;
&::after {
position: absolute;
content: '';
width: 8.594vw;
height: 1.146vw;
left: 13.333vw;
top: 1.823vw;
background: url('~@/assets/images/bg_03.png') no-repeat left bottom;
background-size: 100%;
transform: rotate(180deg);
}
}
.modelBox {
height: calc(100% - 3.125vw);
}
.asideItem {
flex: 1 0 0;
// margin: 0px 0.052vw;
margin: 0 0.052vw 1.5vh;
overflow: hidden;
// margin-bottom: 0.26vw;
background: url('~@/assets/images/bg_04.png') no-repeat left bottom;
background-size: 100%;
}
}
.asidemodelR { .asidemodelR {
//transform: perspective(6.25vw) rotateY(-2deg); //transform: perspective(6.25vw) rotateY(-2deg);
} }
// 展开-关闭按钮 // 展开-关闭按钮
.showNeun { .showNeun {
position: absolute; position: absolute;
top: 47%; top: 47%;
transform: translateY(-50%); transform: translateY(-50%);
width: 4.313vw; width: 4.313vw;
height: 22.802vw; height: 22.802vw;
background: url('~@/assets/images/home_left.png') no-repeat center center; background: url('~@/assets/images/home_left.png') no-repeat center center;
background-size: 100% 100%; background-size: 100% 100%;
} }
.showNeunR { .showNeunR {
background: url('~@/assets/images/home_right.png') no-repeat center center; background: url('~@/assets/images/home_right.png') no-repeat center center;

View File

@ -1,5 +1,6 @@
<template> <template>
<div class="bigScrenn"> <div class="bigScrenn">
<div class="bg">
<!-- 头部 --> <!-- 头部 -->
<Head title="兴蜀人力数据概览"></Head> <Head title="兴蜀人力数据概览"></Head>
<div <div
@ -89,6 +90,7 @@
<!-- 弹窗 --> <!-- 弹窗 -->
<HomeDialogInfo v-model="dialogShow" /> <HomeDialogInfo v-model="dialogShow" />
</div> </div>
</div>
</template> </template>
<script> <script>
export default { export default {
@ -176,7 +178,7 @@ const cardThreeInfo = {
class: "modelItem2" class: "modelItem2"
}, },
type2: { type2: {
title: "企业总人数2025/10/25", title: "企业总人数(10/9)",
count: "38448", count: "38448",
class: "modelItem2" class: "modelItem2"
} }
@ -259,4 +261,16 @@ function getWebSocketData() {
font-style: normal; font-style: normal;
text-transform: none; text-transform: none;
} }
.bg{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
background: url('~@/assets/recruitment/mbc.svg') no-repeat center center;
background-size: 130% 100%;
// background: url("~@/assets/recruitment/mbc.png") no-repeat center center;
// background-size: 100% 100%;
}
</style> </style>