diff --git a/src/view/sy_map.vue b/src/view/sy_map.vue
index d209a11..10c16f3 100644
--- a/src/view/sy_map.vue
+++ b/src/view/sy_map.vue
@@ -405,12 +405,14 @@ const markera = (e) => {
var marker = new BMapGL.Marker(new BMapGL.Point(e.latlng.lng, e.latlng.lat), {
icon: icons,
});
+
// 将新标记添加到地图中并更新当前标记引用
map.addOverlay(marker);
currentMarker = marker;
};
const BMAP = () => {
// 添加鼠标点击事件监听器
+
map.addEventListener("click", markera);
};
@@ -509,7 +511,7 @@ const addPolygonCounty = () => {
console.log("dbfjdsbfjds", choose.value.person);
goMapCenter(jdCenter, 13);
} else {
- map.removeEventListener("click", markera);
+ map.removeEventListener("click",markera);
if (currentMarker !== null) {
map.removeOverlay(currentMarker);
}
diff --git a/src/view/sy_table.vue b/src/view/sy_table.vue
index f6b1219..3db7fd4 100644
--- a/src/view/sy_table.vue
+++ b/src/view/sy_table.vue
@@ -110,6 +110,9 @@
{{ item.text }}
+
@@ -148,6 +151,7 @@ const goto = (url) => {
};
const data = reactive({
+
taps: "0",
taps1: "0",
tabPosition: [
@@ -273,30 +277,35 @@ const data = reactive({
name: "最低生活保障",
Bj: Bj,
text: "我县在册低保对象7374户9463人,为低保对象发放最低生活保障金,2023年共支出低保金9912.65万元。",
+ progress: 95 ,//进度条
},
{
id: "1",
name: "重特困人员救助供养",
Bj: Bj1,
text: "我县特困供养对象329户331人,2023年支出特困供养经费722.29万元。",
+ progress: 35 ,//进度条
},
{
id: "2",
name: "医疗救助",
Bj: Bj2,
text: "我县医疗救助的对象为民攻部门认定的特困供养人员最低生活保障家庭成员、最低生活保障边缘家庭成员(包括纳入低保、低边的因病致贫等支出型贫困对象)。",
+ progress: 45 ,//进度条
},
{
id: "3",
name: "临时救助",
Bj: Bj3,
text: "为数助对象发放临时救助金,2023年共救助609户1036人,数助225.39万元。",
+ progress: 100 ,//进度条
},
{
id: "4",
name: "受灾人员救助",
Bj: Bj4,
text: "机构改革以来(2019年),我县自然灾害形势总体平稳,未发生因灾亡人事故。",
+ progress: 25 ,//进度条
},
],
});
@@ -444,6 +453,7 @@ const rowState = (row) => {
box-sizing: border-box;
margin-right: 20px;
margin-bottom: 20px;
+ position: relative; /* Add this */
.tableBoxTops {
display: flex;
align-items: center;
@@ -465,6 +475,23 @@ const rowState = (row) => {
font-style: normal;
margin-top: 10px;
}
+ .progress-container {
+ position: absolute;
+ bottom: 2px;
+ left: 0px;
+ width: 100%;
+ height: 10px;
+ background-color: rgba(255, 255, 255, 0.2);
+ border-radius: 5px;
+ overflow: hidden;
+ }
+
+ .progress-bar {
+ height: 100%;
+ background: linear-gradient(90deg, #31ffd8 0%, #00e5ff 100%);
+ border-radius: 0px 100px 100px 0px;
+ transition: width 0.3s ease;
+ }
}
img {
width: 24px;