Compare commits

..

6 Commits

Author SHA1 Message Date
ae04a588a0 提交 2025-11-06 14:23:03 +08:00
210231ada4 修改地图撒点数据处理 2025-10-31 12:51:49 +08:00
47ef3fcac8 修改地图撒点数据处理 2025-10-30 18:14:08 +08:00
89439528df Merge branch 'master' of http://61.139.16.27:26684/DEV_ZZ/rsxm-master 2025-10-30 18:01:46 +08:00
b9ad571738 修改地图撒点数据处理 2025-10-30 17:57:55 +08:00
lcw
ddea6d7c97 lcw 2025-10-25 10:29:09 +08:00
8 changed files with 788 additions and 543 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 MiB

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.75"/>
<rect width="1920" height="1080" fill="url(#paint1_linear_9_2545)" fill-opacity="0.75"/>
</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

@ -76,7 +76,7 @@ export const publicRoutes = [
name: "/platformBusinessData",
component: () => import("@/views/platformBusinessData/index"),
meta: {}
}
},
];
const router = createRouter({

View File

@ -1,7 +1,7 @@
<template>
<div>
<div class="carcTitle">省内区域劳务协作撒点</div>
<div ref="map" style="width: 17vw; height: 14.5vw"></div>
<div ref="map" style="width: 19vw; height: 16vw"></div>
</div>
</template>
@ -36,91 +36,138 @@ const calcResponsivePX = (pxValue) => {
// 初始点位数据
const initialPoints = [
{ name: "攀枝花", value: [101.718, 26.582, 0], count: 0 },
{ name: "雅安", value: [103.009, 29.988, 0], count: 0 },
{ name: "眉山", value: [103.848, 30.082, 0], count: 0 },
{ name: "自贡", value: [104.777, 29.350, 0], count: 0 },
{ name: "泸州", value: [105.442, 28.871, 0], count: 0 },
{ name: "资阳", value: [104.628, 30.122, 0], count: 0 },
{ name: "遂宁", value: [105.576, 30.523, 0], count: 0 },
{ name: "广安", value: [106.636, 30.463, 0], count: 0 },
{ name: "德阳", value: [104.399, 31.130, 0], count: 0 },
{ name: "绵阳", value: [104.684185, 31.473263, 0], count: 0 },
{ name: "广元", value: [105.834, 32.435, 0], count: 0 },
{ name: "巴中", value: [106.753, 31.857, 0], count: 0 },
{ name: "达州", value: [107.467, 31.209, 0], count: 0 },
{ name: "南充", value: [106.110, 30.837, 0], count: 0 }
{ name: "绵阳市", value: [104.69,31.47, 0], count: 0 },
{ name: "广元市昭化区", value: [105.97,32.33, 0], count: 0 },
{ name: "巴中市恩阳区", value: [106.64,31.80, 0], count: 0 },
{ name: "达州市渠县", value: [106.98,30.84, 0], count: 0 },
{ name: "达州市开江县", value: [107.88,31.09, 0], count: 0 },
{ name: "达州市大竹县", value: [107.21,30.74, 0], count: 0 },
{ name: "广安市", value: [106.64,30.46, 0], count: 0 },
{ name: "广安市岳池县", value: [106.45,30.54, 0], count: 0 },
{ name: "广安华蓥市", value: [106.79,30.40, 0], count: 0 },
{ name: "南充顺庆区", value: [106.10,30.80, 0], count: 0 },
{ name: "遂宁市大英县", value: [105.24,30.60, 0], count: 0 },
{ name: "德阳市中江县", value: [104.69,31.04, 0], count: 0 },
{ name: "资阳市雁江区", value: [104.68,30.11, 0], count: 0 },
{ name: "雅安市荥经县", value: [102.85,29.80, 0], count: 0 },
{ name: "雅安市天全县", value: [102.76,30.07, 0], count: 0 },
{ name: "眉山市青神县", value: [103.85,29.84, 0], count: 0 },
{ name: "自贡贡井区", value: [104.72,29.35, 0], count: 0 },
{ name: "泸州市", value: [105.45,28.88, 0], count: 0 },
{ name: "攀枝花市", value: [101.73,26.59, 0], count: 0 },
];
// 生成随机高度值函数
const generateRandomHeights = (points, minHeight = 10, maxHeight = 25) => {
return points.map(point => ({
...point,
value: [point.value[0], point.value[1], Math.random() * (maxHeight - minHeight) + minHeight]
}));
};
// 获取动态配置
const getChartOption = () => ({
tooltip: {
trigger: "item",
formatter: (params) => {
if (params.seriesType === "scatter3D") {
return `${params.name}<br/>合作社数量:${params.data.count || 0}`;
const getChartOption = () => {
const pointsWithRandomHeights = generateRandomHeights(initialPoints);
return {
tooltip: {
trigger: "item",
formatter: (params) => {
if (params.seriesType === "scatter3D") {
return `${params.name}<br/>合作社数量:${params.data.count || 0}`;
}
return params.name;
},
backgroundColor: "rgba(0, 0, 0, 0.8)",
borderColor: "#30DCFF",
textStyle: {
color: "#fff",
fontSize: 12
}
return params.name;
}
},
geo3D: {
type: "map3D",
map: "sichuan",
regionHeight: 6,
boxHeight: 2,
roam: false,
label: {
show: true,
color: "#CBF2FA",
fontSize: calcResponsivePX(10),
fontWeight: "bold"
},
itemStyle: {
color: "rgba(27, 129, 150, 0.4)",
borderColor: "#61cfff",
borderWidth: 2,
opacity: 0.75
geo3D: {
type: "map3D",
map: "sichuan",
regionHeight: 6,
boxHeight: 2,
roam: true,
label: {
show: false,
color: "#fff",
fontSize: 10,
fontWeight: "bold"
},
itemStyle: {
color: "rgba(27,129,150,0.18)",
borderColor: "#61cfff",
borderWidth: 2,
opacity: 0.3
},
emphasis: {
itemStyle: {
color: "rgba(27, 129, 150, 0.3)",
opacity: 0.5
},
label: { show: false }
},
light: {
main: {
intensity: 1.6,
shadow: true,
shadowQuality: "high",
alpha: 35,
beta: 15
},
ambient: { intensity: 0.35 }
},
shading: "lambert",
viewControl: {
distance: 110,
alpha: 45,
beta: 10
},
groundPlane: { show: false }
},
emphasis: {
itemStyle: { color: "rgba(27, 129, 150, 0.65)", opacity: 0.85 },
label: { color: "#ffff00" }
},
light: {
main: { intensity: 1.6, shadow: true, shadowQuality: "high", alpha: 35, beta: 15 },
ambient: { intensity: 0.35 }
},
shading: "lambert",
viewControl: {
distance: 110,
alpha: 45,
beta: 10,
},
groundPlane: { show: false },
postEffect: {
enable: true,
bloom: {
enable: true,
bloomIntensity: 0.25
}
}
},
series: [
series: [
{
name: "城市点位(3D)",
type: "scatter3D",
coordinateSystem: "geo3D",
data: initialPoints.map(p => ({
data: pointsWithRandomHeights.map(p => ({
name: p.name,
value: [p.value[0], p.value[1], 6],
count: p.count
value: p.value,
count: p.count,
// 关键:使用正确的 label 配置方式
label: {
show: true,
formatter: p.name,
position: [p.value[2] + 5, p.value[2] + 5, p.value[2] + 5], // [x, y, z] - 在点上方固定偏移
distance: 0, // 重要设置为0使用绝对位置
textStyle: {
backgroundColor: 'rgba(0,0,0,0.7)',
borderWidth: 1,
borderColor: '#30dcff',
padding: [4, 8],
borderRadius: 4,
color: '#fff',
fontSize: 10
}
}
})),
symbol: "triangle",
symbolSize: calcResponsivePX(12),
symbol: "triangle", // 改为圆形,更明显
symbolSize: calcResponsivePX(12), // 增大符号尺寸
itemStyle: { color: "#FFBE34" },
label: { show: false }
label: {
textStyle: {
backgroundColor: 'rgba(255,190,52,0.9)',
color: '#000',
fontWeight: 'bold'
}
}
}
]
});
}
};
// 处理图表重绘(防抖优化)
const handleChartResize = debounce(() => {
@ -173,7 +220,7 @@ onUnmounted(() => {
text-align: center;
color: #c4f3fe;
background: url("~@/assets/images/recruitment/card-title@2x.png") no-repeat
center;
center;
background-size: auto 100%;
margin-top: 0.7vw;
}

View File

@ -70,7 +70,7 @@
<el-carousel-item>
<div class="carousel-item-content">
<div class="carousel-item-title">
仁寿县劳务合作社联合送工
农民工返乡慰问现场
</div>
<div style="height:20vw;">
<img src="@/assets/images/ms/fxww.jpg" class="carousel-image">

View File

@ -104,6 +104,7 @@ const props = defineProps({
color: #ffffff;
margin-bottom: 0.46875vw;
font-size: 0.729vw;
font-weight:700 ;
}
.modelItem1 {

View File

@ -59,18 +59,18 @@
:type1="cardFourInfo.type1"
:type2="cardFourInfo.type2"
>
<el-carousel
:interval="8000"
type="card"
height="17vw"
indicator-position="none"
:autoplay="true"
>
<!-- <el-carousel-->
<!-- :interval="8000"-->
<!-- type="card"-->
<!-- height="17vw"-->
<!-- indicator-position="none"-->
<!-- :autoplay="true"-->
<!-- >-->
<!-- <el-carousel-item><LaborSystemOne /></el-carousel-item> -->
<el-carousel-item class="isVisibleImg"><LaborSystemTwo /></el-carousel-item>
<div class="isVisibleImg"><LaborSystemTwo /></div>
<!-- <el-carousel-item><LaborSystemThree /></el-carousel-item> -->
<!-- <el-carousel-item><LaborSystemFour /></el-carousel-item> -->
</el-carousel>
<!-- </el-carousel>-->
</enterprise-employment-card>
<enterprise-employment-card
style="margin-top: 0.625vw"
@ -80,7 +80,7 @@
:type2="cardThreeInfo.type2"
>
<template v-slot:header>
<div class="header_bg" style="margin-top:1vw">近2个月保供比亚迪入职人员分析</div>
<div class="header_bg" style="margin-top:1vw">近2个月保供入职人员分析</div>
</template>
<ListView/>
@ -173,7 +173,7 @@ const cardTwoInfo = {
}
};
const cardThreeInfo = {
title: "重点企业保供案例(比亚迪)",
title: "重点企业保供案例",
// description: "4000+毕业生",
type1: {
title: "招募总人数",
@ -276,8 +276,8 @@ function getWebSocketData() {
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/bjtl.svg') no-repeat center center;
background-size: 102% 100%;
// background: url("~@/assets/recruitment/mbc.png") no-repeat center center;
// background-size: 100% 100%;
}

File diff suppressed because it is too large Load Diff