Merge branch 'main' of git.zdool.com:xs/ggfwjsc

This commit is contained in:
汪汇 2024-07-24 14:58:20 +08:00
commit fb012e3620
3 changed files with 62 additions and 42 deletions

View File

@ -69,12 +69,12 @@ let menuIf = ref(true);
const data = reactive({ const data = reactive({
urlLeft: [ urlLeft: [
{ {
name: "要素一张图", name: "评估模型",
url: "/home/index/map", url: "/home/index/table",
}, },
{ {
name: "指标模型模块", name: "要素一张图",
url: "/home/index/table", url: "/home/index/map",
}, },
{ {
name: "总体概览", name: "总体概览",

View File

@ -145,11 +145,11 @@ const tabData = reactive({
tabNum: 0, tabNum: 0,
tabList: [ tabList: [
{ {
name: "要素一张图", name: "评估模型",
img: tab7, img: tab7,
}, },
{ {
name: "指标模型模块", name: "要素一张图",
img: tab8, img: tab8,
}, },
{ {
@ -180,11 +180,11 @@ const tabData = reactive({
scenList: [ scenList: [
{ {
img: png1, img: png1,
url: "/home/index/map", url: "/home/index/table",
}, },
{ {
img: png1, img: png1,
url: "/home/index/table", url: "/home/index/map",
}, },
{ {
img: png1, img: png1,

View File

@ -248,17 +248,17 @@ const xkzDk = reactive([]);
const xkzCenter = reactive([ const xkzCenter = reactive([
{ {
name: "溪口村", name: "溪口村",
center: [119.204344, 28.862394], center: [119.175728, 28.846981],
number: "50", number: "50",
}, },
{ {
name: "扁石村", name: "扁石村",
center: [119.183549, 28.858], center: [119.158971, 28.856232],
number: "50", number: "50",
}, },
{ {
name: "大垅村", name: "大垅村",
center: [119.170309, 28.862776], center: [119.175309, 28.862776],
number: "50", number: "50",
}, },
{ {
@ -268,22 +268,22 @@ const xkzCenter = reactive([
}, },
{ {
name: "双港口村", name: "双港口村",
center: [119.211353, 28.869576], center: [119.211353, 28.872576],
number: "50", number: "50",
}, },
{ {
name: "灵上村", name: "灵上村",
center: [119.177185, 28.874582], center: [119.175805, 28.868218],
number: "50", number: "50",
}, },
{ {
name: "灵下村", name: "灵下村",
center: [119.175233, 28.878677], center: [119.168797, 28.871674],
number: "50", number: "50",
}, },
{ {
name: "下徐村", name: "下徐村",
center: [119.177544, 28.882818], center: [119.175667, 28.878136],
number: "50", number: "50",
}, },
{ {
@ -293,7 +293,7 @@ const xkzCenter = reactive([
}, },
{ {
name: "寺下村", name: "寺下村",
center: [119.1718, 28.89816], center: [119.1648, 28.90016],
number: "50", number: "50",
}, },
{ {
@ -303,17 +303,17 @@ const xkzCenter = reactive([
}, },
{ {
name: "石角村", name: "石角村",
center: [119.141602, 28.919005], center: [119.125078, 28.912612],
number: "50", number: "50",
}, },
{ {
name: "红罗村", name: "红罗村",
center: [119.206318, 28.913218], center: [119.184318, 28.913218],
number: "50", number: "50",
}, },
{ {
name: "冷水村", name: "冷水村",
center: [119.213226, 28.93395], center: [119.193226, 28.93395],
number: "50", number: "50",
}, },
{ {
@ -552,7 +552,7 @@ const createCustomOverlayJd2 = (polygon) => {
jdCenter = item.center; jdCenter = item.center;
} }
}); });
addCs2(); addCs2();
goMapCenter(jdCenter, 14); goMapCenter(jdCenter, 14);
} }
}; };
@ -599,7 +599,7 @@ const createCs2 = (polygon) => {
div.style.justifyContent = "center"; div.style.justifyContent = "center";
div.style.alignItems = "center"; div.style.alignItems = "center";
div.style.cursor = "pointer"; div.style.cursor = "pointer";
div.style.padding="10px" div.style.padding = "10px";
div.style.backgroundColor = "red"; div.style.backgroundColor = "red";
div.style.borderRadius = "20%"; div.style.borderRadius = "20%";
div.style.transform = "translateY(50px)"; div.style.transform = "translateY(50px)";
@ -1101,8 +1101,8 @@ const jbfwqTotal = ref([
x: 33, x: 33,
y: 0, y: 0,
textColor: "#fff", textColor: "#fff",
padding: "4px 8px 10px", padding: "4px 8px 10px",
}, },
{ {
name: "衢州学院附属幼儿园", name: "衢州学院附属幼儿园",
@ -1113,7 +1113,7 @@ const jbfwqTotal = ref([
x: 55, x: 55,
y: 0, y: 0,
textColor: "#fff", textColor: "#fff",
padding: "4px 8px 10px", padding: "4px 8px 10px",
}, },
{ {
name: "溪口中银小学", name: "溪口中银小学",
@ -1124,7 +1124,7 @@ const jbfwqTotal = ref([
x: 38, x: 38,
y: 0, y: 0,
textColor: "#fff", textColor: "#fff",
padding: "4px 8px 10px", padding: "4px 8px 10px",
}, },
{ {
name: "溪口初中", name: "溪口初中",
@ -1135,7 +1135,7 @@ const jbfwqTotal = ref([
x: 33, x: 33,
y: 0, y: 0,
textColor: "#fff", textColor: "#fff",
padding: "4px 8px 10px", padding: "4px 8px 10px",
}, },
{ {
name: "居家养老中心", name: "居家养老中心",
@ -1146,7 +1146,7 @@ const jbfwqTotal = ref([
x: 38, x: 38,
y: 0, y: 0,
textColor: "#fff", textColor: "#fff",
padding: "4px 8px 10px", padding: "4px 8px 10px",
}, },
{ {
name: "共享食堂", name: "共享食堂",
@ -1157,7 +1157,7 @@ const jbfwqTotal = ref([
x: 33, x: 33,
y: 0, y: 0,
textColor: "#fff", textColor: "#fff",
padding: "4px 8px 10px", padding: "4px 8px 10px",
}, },
{ {
name: "老年活动中心", name: "老年活动中心",
@ -1168,7 +1168,7 @@ const jbfwqTotal = ref([
x: 38, x: 38,
y: 0, y: 0,
textColor: "#fff", textColor: "#fff",
padding: "4px 8px 10px", padding: "4px 8px 10px",
}, },
{ {
name: "残疾人之家", name: "残疾人之家",
@ -1179,7 +1179,7 @@ const jbfwqTotal = ref([
x: 35, x: 35,
y: 0, y: 0,
textColor: "#fff", textColor: "#fff",
padding: "4px 8px 10px", padding: "4px 8px 10px",
}, },
{ {
name: "智慧篮球场", name: "智慧篮球场",
@ -1190,7 +1190,7 @@ const jbfwqTotal = ref([
x: 34, x: 34,
y: 50, y: 50,
textColor: "#fff", textColor: "#fff",
padding: "8px 8px 2px", padding: "8px 8px 2px",
}, },
{ {
name: "慢行步道", name: "慢行步道",
@ -1201,7 +1201,7 @@ const jbfwqTotal = ref([
x: 26, x: 26,
y: 50, y: 50,
textColor: "#fff", textColor: "#fff",
padding: "8px 8px 2px", padding: "8px 8px 2px",
}, },
{ {
name: "文化礼堂", name: "文化礼堂",
@ -1212,7 +1212,7 @@ const jbfwqTotal = ref([
x: 33, x: 33,
y: 0, y: 0,
textColor: "#79B72B", textColor: "#79B72B",
padding: "4px 8px 10px", padding: "4px 8px 10px",
}, },
{ {
name: "综合文化站", name: "综合文化站",
@ -1223,7 +1223,7 @@ const jbfwqTotal = ref([
x: 35, x: 35,
y: 0, y: 0,
textColor: "#79B72B", textColor: "#79B72B",
padding: "4px 8px 10px", padding: "4px 8px 10px",
}, },
{ {
name: "共享菜园", name: "共享菜园",
@ -1234,7 +1234,7 @@ const jbfwqTotal = ref([
x: 33, x: 33,
y: 0, y: 0,
textColor: "#79B72B", textColor: "#79B72B",
padding: "4px 8px 2px", padding: "4px 8px 2px",
}, },
{ {
name: "零工市场", name: "零工市场",
@ -1245,7 +1245,7 @@ const jbfwqTotal = ref([
x: 33, x: 33,
y: 0, y: 0,
textColor: "#79B72B", textColor: "#79B72B",
padding: "4px 8px 10px", padding: "4px 8px 10px",
}, },
{ {
name: "溪口中心医院", name: "溪口中心医院",
@ -1256,7 +1256,7 @@ const jbfwqTotal = ref([
x: 10, x: 10,
y: 50, y: 50,
textColor: "#fff", textColor: "#fff",
padding: "8px 8px 2px", padding: "8px 8px 2px",
}, },
{ {
name: "溪口菜市场", name: "溪口菜市场",
@ -1267,7 +1267,7 @@ const jbfwqTotal = ref([
x: -24, x: -24,
y: 50, y: 50,
textColor: "#fff", textColor: "#fff",
padding: "8px 8px 2px", padding: "8px 8px 2px",
}, },
{ {
name: "大型超市", name: "大型超市",
@ -1278,7 +1278,7 @@ const jbfwqTotal = ref([
x: -24, x: -24,
y: 50, y: 50,
textColor: "#fff", textColor: "#fff",
padding: "8px 8px 2px", padding: "8px 8px 2px",
}, },
{ {
name: "智慧停车场", name: "智慧停车场",
@ -1289,7 +1289,7 @@ const jbfwqTotal = ref([
x: -28, x: -28,
y: 50, y: 50,
textColor: "#fff", textColor: "#fff",
padding: "8px 8px 2px", padding: "8px 8px 2px",
}, },
{ {
name: "溪口镇便民服务中心", name: "溪口镇便民服务中心",
@ -1300,7 +1300,7 @@ const jbfwqTotal = ref([
x: -40, x: -40,
y: 50, y: 50,
textColor: "#fff", textColor: "#fff",
padding: "8px 8px 2px", padding: "8px 8px 2px",
}, },
], ],
}, },
@ -1810,13 +1810,33 @@ onMounted(() => {
.jbggfwq_content_item_right_item { .jbggfwq_content_item_right_item {
cursor: pointer; cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box; box-sizing: border-box;
width: 92px;
height: 48px; height: 48px;
font-weight: 500; font-weight: 500;
text-align: center;
font-size: 16px; font-size: 16px;
line-height: 28px; line-height: 28px;
background: rgba(124, 151, 180, 0.8); background: rgba(124, 151, 180, 0.8);
padding: 10px; // padding: 10px;
margin-bottom: 4px;
position: relative; /* 必须设置 position 属性以便伪元素定位 */
}
.jbggfwq_content_item_right_item::after {
content: "";
display: block;
width: 1px;
height: 18px;
background-color: #fff;
position: absolute;
top: 14px;
right: 0px;
}
:nth-child(4n).jbggfwq_content_item_right_item::after {
opacity: 0;
} }
.choose { .choose {