From b44ea6530c6f5b9b8aac167687b310e46e5fa915 Mon Sep 17 00:00:00 2001 From: zxy <353513737@qq.com> Date: Wed, 14 Feb 2024 09:49:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BA=A7=E9=A1=B5=E9=9D=A2=E4=BA=A4?= =?UTF-8?q?=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/chengdu/detail.html | 4 ++-- public/chengdu/index.html | 6 +++--- public/chengdu/js/detail.js | 6 ++++++ public/chengdu/js/index.js | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/public/chengdu/detail.html b/public/chengdu/detail.html index 4680fd9..71362c5 100644 --- a/public/chengdu/detail.html +++ b/public/chengdu/detail.html @@ -21,7 +21,7 @@ 回到首页 - 成都市彭州市劳动力需求大数据平台 + 2023.12.10-2023.12.28 @@ -40,7 +40,7 @@
-
彭州市劳动力需求热力图
+
diff --git a/public/chengdu/index.html b/public/chengdu/index.html index 972025a..bce8da2 100644 --- a/public/chengdu/index.html +++ b/public/chengdu/index.html @@ -20,7 +20,7 @@
- 成都市劳动力需求大数据平台 + 四川省劳动力需求大数据平台 2023.12.10-2023.12.28 @@ -32,13 +32,13 @@
-
成都市劳动力需求热力图
+
四川省劳动力需求热力图
-
成都市劳动力流向城市劳动力需求
+
四川省劳动力流向城市劳动力需求
diff --git a/public/chengdu/js/detail.js b/public/chengdu/js/detail.js index 5e79a8e..b6703f1 100644 --- a/public/chengdu/js/detail.js +++ b/public/chengdu/js/detail.js @@ -1,5 +1,11 @@ //var baseUrl = 'http://cgsu81beft.51xd.pub'; var baseUrl = "http://39.101.167.152:8088/shekecaiji"; +var href = window.location.href.split("="); +var shengFen = unescape(href[1].split("&")[0]); +var pyName = href[2].split("&")[0]; +var shortName = unescape(href[3]).split("&")[0]; +$("#name").text(shengFen + "劳动力需求大数据平台"); +$("#center_map_name").text(shengFen + "劳动力需求热力图") //头部数据-------------------------------------- //获取当前时间 diff --git a/public/chengdu/js/index.js b/public/chengdu/js/index.js index 36608bb..eaed91b 100644 --- a/public/chengdu/js/index.js +++ b/public/chengdu/js/index.js @@ -518,7 +518,7 @@ function getData1() { function getCityListByProvinceCode(zhName, pyName, name) { console.log(zhName, pyName, name); window.location.href = - "detail.html?longnName=" + + "detail.html?shengFen=" + escape(zhName) + "&abbreviation=" + pyName +