模型修改

This commit is contained in:
徐克 2022-07-29 14:11:13 +08:00
parent e845a6bb3f
commit ce70354c96
20 changed files with 37502 additions and 61 deletions

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1,23 +1,250 @@
[ [
{"tudi":"南京市鼓楼区和燕路2号","jd":"栖霞基地","zongbu":"江苏电力公司","fenzhi":"南京供电公司","fangchan":"沿河四村5幢9、10、11、12号","province":"江苏省","city":"南京市","area":"建邺区","position":"118.785821,32.095862"}, {
{"tudi":"南京市鼓楼区定淮门石头城115号","jd":"城北基地","zongbu":"江苏电力公司","fenzhi":"","fangchan":"裕顺雅苑6号401室","province":"江苏省","city":"南京市","area":"鼓楼区","position":"118.747813,32.066839"}, "tudi": "南京市鼓楼区和燕路2号",
{"tudi":"南京市秦淮区火瓦巷51号","jd":"城南基地","zongbu":"江苏电力公司","fenzhi":"","fangchan":"清凉门大街8号03幢1单元704室","province":"江苏省","city":"南京市","area":"鼓楼区","street":"清凉门大街8号","position":"118.789691,32.032739"}, "jd": "栖霞基地",
{"tudi":"南京市雨花台区雨花南路32号","zongbu":"雨花基地","fenzhi":"","fangchan":"宁夏路1号101室","province":"江苏省","city":"南京市","area":"鼓楼区","street":"宁夏路1号","position":"118.769801,31.994273"}, "zongbu": "江苏电力公司",
{"tudi":"南京市建邺区奥体大街1号","jd":"公司大楼(市公司)","zongbu":"江苏电力公司","fenzhi":"","fangchan":"龙园西路113号枫亚苑05幢701室","province":"江苏省","city":"南京市","area":"鼓楼区","street":"龙园西路113号","position":"118.744015,31.990507"}, "fenzhi": "南京供电公司",
{"tudi":"南京市鼓楼区中山北路217号","jd":"龙吟广场","fenzhi":"","fangchan":"龙池阉64号602室","province":"江苏省","city":"南京市","area":"鼓楼区","street":"龙池阉64号","position":"118.76956,32.070685"}, "fangchan": "沿河四村5幢9、10、11、12号",
{"tudi":"南京市鼓楼区峨嵋路21号","jd":"健康中心(安仁街变)","zongbu":"江苏电力公司","fenzhi":"","fangchan":"清凉门大街8号03幢1单元1701室","province":"江苏省","city":"南京市","area":"鼓楼区","street":"清凉门大街8号","position":"118.770386,32.044743"}, "province": "江苏省",
{"tudi":"南京市鼓楼区龙池庵66号","jd":"苏电宾馆","zongbu":"江苏电力公司","fenzhi":"","fangchan":"清凉门大街8号03幢1单元402室","province":"江苏省","city":"南京市","area":"鼓楼区","street":"清凉门大街8号","position":"118.750561,32.084403"}, "city": "南京市",
{"tudi":"南京市玄武区中山路251号","jd":"新纪元宾馆","zongbu":"江苏电力公司","fenzhi":"","fangchan":"龙园西路113号地下车库17号","province":"江苏省","city":"南京市","area":"鼓楼区","street":"龙园西路113号","position":"118.784701,32.049814"}, "area": "建邺区",
{"tudi":"南京市江宁区天元中路19号","jd":"峰电大厦","zongbu":"江苏电力公司","fenzhi":"","fangchan":"龙园西路113号地下车库21号","province":"江苏省","city":"南京市","area":"鼓楼区","street":"龙园西路113号","position":"118.843786,31.93144"}, "position": "118.785821,32.095862"
{"tudi":"南京市玄武区中山路250号","jd":"老卫生所","zongbu":"江苏电力公司","fenzhi":"","fangchan":"清凉门大街8号03幢1单元1103室","province":"江苏省","city":"南京市","area":"鼓楼区","street":"清凉门大街8号","position":"118.784696,32.049813"}, },
{"tudi":"南京市浦口区龙华路19号","jd":"龙华路19号基地","zongbu":"江苏电力公司","fenzhi":"","fangchan":"乐山路207号12栋一单元1302","province":"江苏省","city":"南京市","area":"建邺区","street":"乐山路207号","position":"118.640574,32.069147"}, {
{"tudi":"南京市六合区雄州镇园林西路8巷13号","jd":"六合园林路基地","zongbu":"江苏电力公司","fenzhi":"","fangchan":"宁夏路1号102室","province":"江苏省","city":"南京市","area":"鼓楼区","street":"宁夏路1号","position":"118.845591,32.352524"}, "tudi": "南京市鼓楼区定淮门石头城115号",
{"tudi":"南京市六合区雄州镇方州路北侧","jd":"六合方州路基地","zongbu":"江苏电力公司","fenzhi":"","fangchan":"太平门街10号6幢508室","province":"江苏省","city":"南京市","area":"玄武区","street":"太平门街10号","position":"118.836226,32.364984"}, "jd": "城北基地",
{"tudi":"南京市浦口区泰西路8号","jd":"泰西路基地","zongbu":"江苏电力公司","fenzhi":"","fangchan":"中山路268号1幢2101-2112室","province":"江苏省","city":"南京市","area":"玄武区","street":"中山路268号","position":"118.708405,32.149725"}, "zongbu": "江苏电力公司",
{"tudi":"南京市江宁区天印大道1398号","jd":"江宁新办公楼基地","zongbu":"江苏电力公司","fenzhi":"","fangchan":"龙园西路113号枫亚苑05幢1801室","province":"江苏省","city":"南京市","area":"鼓楼区","street":"龙园西路113号","position":"118.864288,31.942295"}, "fenzhi": "",
{"tudi":"南京市江宁区上元大街598号","jd":"江宁老办公楼基地","zongbu":"江苏电力公司","fenzhi":"","fangchan":"港龙园15幢101室","province":"江苏省","city":"南京市","area":"鼓楼区","street":"港龙园小区","position":"118.849567,31.954672"}, "fangchan": "裕顺雅苑6号401室",
{"tudi":"南京市高淳区北岭路23号","jd":"高淳新办公楼基地","zongbu":"江苏电力公司","fenzhi":"","fangchan":"清凉门大街8号03幢1单元1204室","province":"江苏省","city":"南京市","area":"鼓楼区","street":"清凉门大街8号","position":"118.874337,31.332819"}, "province": "江苏省",
{"tudi":"南京市高淳区镇兴路1号","jd":"高淳老办公楼基地","zongbu":"江苏电力公司","fenzhi":"","fangchan":"太平门街10号7幢605室","province":"江苏省","city":"南京市","area":"玄武区","street":"太平门街10号","position":"118.865921,31.325835"}, "city": "南京市",
{"tudi":"江苏省南京市溧水县永阳镇交通路99号","jd":"溧水培训办公楼","zongbu":"江苏电力公司","fenzhi":"","fangchan":"传达室","province":"江苏省","city":"南京市","area":"鼓楼区","street":"北京西路20号","position":"119.035663,31.660993"}, "area": "鼓楼区",
{"tudi":"江苏省南京市溧水县永阳镇珍珠北路16号","jd":"溧水综合办公楼","zongbu":"江苏电力公司","fenzhi":"","fangchan":"锁金四村31幢2单元503室","province":"江苏省","city":"南京市","area":"玄武区","street":"锁金四村","position":"119.03119,31.654953"} "position": "118.747813,32.066839"
},
{
"tudi": "南京市秦淮区火瓦巷51号",
"jd": "城南基地",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "清凉门大街8号03幢1单元704室",
"province": "江苏省",
"city": "南京市",
"area": "鼓楼区",
"street": "清凉门大街8号",
"position": "118.789691,32.032739"
},
{
"tudi": "南京市雨花台区雨花南路32号",
"zongbu": "雨花基地",
"fenzhi": "",
"fangchan": "宁夏路1号101室",
"province": "江苏省",
"city": "南京市",
"area": "鼓楼区",
"street": "宁夏路1号",
"position": "118.769801,31.994273"
},
{
"tudi": "南京市建邺区奥体大街1号",
"jd": "公司大楼(市公司)",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "龙园西路113号枫亚苑05幢701室",
"province": "江苏省",
"city": "南京市",
"area": "鼓楼区",
"street": "龙园西路113号",
"position": "118.744015,31.990507"
},
{
"tudi": "南京市鼓楼区中山北路217号",
"jd": "龙吟广场",
"fenzhi": "",
"fangchan": "龙池阉64号602室",
"province": "江苏省",
"city": "南京市",
"area": "鼓楼区",
"street": "龙池阉64号",
"position": "118.76956,32.070685"
},
{
"tudi": "南京市鼓楼区峨嵋路21号",
"jd": "健康中心(安仁街变)",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "清凉门大街8号03幢1单元1701室",
"province": "江苏省",
"city": "南京市",
"area": "鼓楼区",
"street": "清凉门大街8号",
"position": "118.770386,32.044743"
},
{
"tudi": "南京市鼓楼区龙池庵66号",
"jd": "苏电宾馆",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "清凉门大街8号03幢1单元402室",
"province": "江苏省",
"city": "南京市",
"area": "鼓楼区",
"street": "清凉门大街8号",
"position": "118.750561,32.084403"
},
{
"tudi": "南京市玄武区中山路251号",
"jd": "新纪元宾馆",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "龙园西路113号地下车库17号",
"province": "江苏省",
"city": "南京市",
"area": "鼓楼区",
"street": "龙园西路113号",
"position": "118.784701,32.049814"
},
{
"tudi": "南京市江宁区天元中路19号",
"jd": "峰电大厦",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "龙园西路113号地下车库21号",
"province": "江苏省",
"city": "南京市",
"area": "鼓楼区",
"street": "龙园西路113号",
"position": "118.843786,31.93144"
},
{
"tudi": "南京市玄武区中山路250号",
"jd": "老卫生所",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "清凉门大街8号03幢1单元1103室",
"province": "江苏省",
"city": "南京市",
"area": "鼓楼区",
"street": "清凉门大街8号",
"position": "118.784696,32.049813"
},
{
"tudi": "南京市浦口区龙华路19号",
"jd": "龙华路19号基地",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "乐山路207号12栋一单元1302",
"province": "江苏省",
"city": "南京市",
"area": "建邺区",
"street": "乐山路207号",
"position": "118.640574,32.069147"
},
{
"tudi": "南京市六合区雄州镇园林西路8巷13号",
"jd": "六合园林路基地",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "宁夏路1号102室",
"province": "江苏省",
"city": "南京市",
"area": "鼓楼区",
"street": "宁夏路1号",
"position": "118.845591,32.352524"
},
{
"tudi": "南京市六合区雄州镇方州路北侧",
"jd": "六合方州路基地",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "太平门街10号6幢508室",
"province": "江苏省",
"city": "南京市",
"area": "玄武区",
"street": "太平门街10号",
"position": "118.836226,32.364984"
},
{
"tudi": "南京市浦口区泰西路8号",
"jd": "泰西路基地",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "中山路268号1幢2101-2112室",
"province": "江苏省",
"city": "南京市",
"area": "玄武区",
"street": "中山路268号",
"position": "118.708405,32.149725"
},
{
"tudi": "南京市江宁区天印大道1398号",
"jd": "江宁新办公楼基地",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "龙园西路113号枫亚苑05幢1801室",
"province": "江苏省",
"city": "南京市",
"area": "鼓楼区",
"street": "龙园西路113号",
"position": "118.864288,31.942295"
},
{
"tudi": "南京市江宁区上元大街598号",
"jd": "江宁老办公楼基地",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "港龙园15幢101室",
"province": "江苏省",
"city": "南京市",
"area": "鼓楼区",
"street": "港龙园小区",
"position": "118.849567,31.954672"
},
{
"tudi": "南京市高淳区北岭路23号",
"jd": "高淳新办公楼基地",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "清凉门大街8号03幢1单元1204室",
"province": "江苏省",
"city": "南京市",
"area": "鼓楼区",
"street": "清凉门大街8号",
"position": "118.874337,31.332819"
},
{
"tudi": "南京市高淳区镇兴路1号",
"jd": "高淳老办公楼基地",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "太平门街10号7幢605室",
"province": "江苏省",
"city": "南京市",
"area": "玄武区",
"street": "太平门街10号",
"position": "118.865921,31.325835"
},
{
"tudi": "江苏省南京市溧水县永阳镇交通路99号",
"jd": "溧水培训办公楼",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "传达室",
"province": "江苏省",
"city": "南京市",
"area": "鼓楼区",
"street": "北京西路20号",
"position": "119.035663,31.660993"
},
{
"tudi": "江苏省南京市溧水县永阳镇珍珠北路16号",
"jd": "溧水综合办公楼",
"zongbu": "江苏电力公司",
"fenzhi": "",
"fangchan": "锁金四村31幢2单元503室",
"province": "江苏省",
"city": "南京市",
"area": "玄武区",
"street": "锁金四村",
"position": "119.03119,31.654953"
}
] ]

File diff suppressed because one or more lines are too long

View File

@ -1689,7 +1689,7 @@ function send(val) {
tip.pos = pos; tip.pos = pos;
el.addEventListener("mouseover", function (e) { el.addEventListener("mouseover", function (e) {
$(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")"); $(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.tudi+")"); $(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street); $(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street);
/////////////////////////////////自定义输出内容////////////////////////////////////// /////////////////////////////////自定义输出内容//////////////////////////////////////
// console.log("场景跳转@",e.target.cusData); // console.log("场景跳转@",e.target.cusData);
@ -1738,7 +1738,7 @@ function send(val) {
tip.pos = pos; tip.pos = pos;
el.addEventListener("mouseover", function (e) { el.addEventListener("mouseover", function (e) {
$(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")"); $(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.tudi+")"); $(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street); $(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street);
/////////////////////////////////自定义输出内容////////////////////////////////////// /////////////////////////////////自定义输出内容//////////////////////////////////////
// console.log("场景跳转@",e.target.cusData); // console.log("场景跳转@",e.target.cusData);
@ -1787,7 +1787,7 @@ function send(val) {
tip.pos = pos; tip.pos = pos;
el.addEventListener("mouseover", function (e) { el.addEventListener("mouseover", function (e) {
$(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")"); $(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.tudi+")"); $(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street); $(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street);
/////////////////////////////////自定义输出内容////////////////////////////////////// /////////////////////////////////自定义输出内容//////////////////////////////////////
// console.log("场景跳转@",e.target.cusData); // console.log("场景跳转@",e.target.cusData);
@ -1836,7 +1836,7 @@ function send(val) {
tip.pos = pos; tip.pos = pos;
el.addEventListener("mouseover", function (e) { el.addEventListener("mouseover", function (e) {
$(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")"); $(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.tudi+")"); $(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street); $(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street);
/////////////////////////////////自定义输出内容////////////////////////////////////// /////////////////////////////////自定义输出内容//////////////////////////////////////
// console.log("场景跳转@",e.target.cusData); // console.log("场景跳转@",e.target.cusData);
@ -1885,7 +1885,7 @@ function send(val) {
tip.pos = pos; tip.pos = pos;
el.addEventListener("mouseover", function (e) { el.addEventListener("mouseover", function (e) {
$(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")"); $(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.tudi+")"); $(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street); $(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street);
/////////////////////////////////自定义输出内容////////////////////////////////////// /////////////////////////////////自定义输出内容//////////////////////////////////////
// console.log("场景跳转@",e.target.cusData); // console.log("场景跳转@",e.target.cusData);
@ -1934,7 +1934,7 @@ function send(val) {
tip.pos = pos; tip.pos = pos;
el.addEventListener("mouseover", function (e) { el.addEventListener("mouseover", function (e) {
$(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")"); $(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.tudi+")"); $(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street); $(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street);
/////////////////////////////////自定义输出内容////////////////////////////////////// /////////////////////////////////自定义输出内容//////////////////////////////////////
// console.log("场景跳转@",e.target.cusData); // console.log("场景跳转@",e.target.cusData);
@ -1983,7 +1983,7 @@ function send(val) {
tip.pos = pos; tip.pos = pos;
el.addEventListener("mouseover", function (e) { el.addEventListener("mouseover", function (e) {
$(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")"); $(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.tudi+")"); $(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street); $(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street);
/////////////////////////////////自定义输出内容////////////////////////////////////// /////////////////////////////////自定义输出内容//////////////////////////////////////
// console.log("场景跳转@",e.target.cusData); // console.log("场景跳转@",e.target.cusData);
@ -2032,7 +2032,7 @@ function send(val) {
tip.pos = pos; tip.pos = pos;
el.addEventListener("mouseover", function (e) { el.addEventListener("mouseover", function (e) {
$(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")"); $(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.tudi+")"); $(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street); $(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street);
/////////////////////////////////自定义输出内容////////////////////////////////////// /////////////////////////////////自定义输出内容//////////////////////////////////////
// console.log("场景跳转@",e.target.cusData); // console.log("场景跳转@",e.target.cusData);
@ -2081,7 +2081,7 @@ function send(val) {
tip.pos = pos; tip.pos = pos;
el.addEventListener("mouseover", function (e) { el.addEventListener("mouseover", function (e) {
$(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")"); $(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.tudi+")"); $(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street); $(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street);
/////////////////////////////////自定义输出内容////////////////////////////////////// /////////////////////////////////自定义输出内容//////////////////////////////////////
// console.log("场景跳转@",e.target.cusData); // console.log("场景跳转@",e.target.cusData);
@ -2130,7 +2130,7 @@ function send(val) {
tip.pos = pos; tip.pos = pos;
el.addEventListener("mouseover", function (e) { el.addEventListener("mouseover", function (e) {
$(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")"); $(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.tudi+")"); $(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street); $(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street);
/////////////////////////////////自定义输出内容////////////////////////////////////// /////////////////////////////////自定义输出内容//////////////////////////////////////
// console.log("场景跳转@",e.target.cusData); // console.log("场景跳转@",e.target.cusData);
@ -2179,7 +2179,7 @@ function send(val) {
tip.pos = pos; tip.pos = pos;
el.addEventListener("mouseover", function (e) { el.addEventListener("mouseover", function (e) {
$(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")"); $(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.tudi+")"); $(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street); $(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street);
/////////////////////////////////自定义输出内容////////////////////////////////////// /////////////////////////////////自定义输出内容//////////////////////////////////////
// console.log("场景跳转@",e.target.cusData); // console.log("场景跳转@",e.target.cusData);
@ -2228,7 +2228,7 @@ function send(val) {
tip.pos = pos; tip.pos = pos;
el.addEventListener("mouseover", function (e) { el.addEventListener("mouseover", function (e) {
$(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")"); $(e.target.tip).show();//(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.tudi+")"); $(e.target.tip.txt).html(e.target.cusData.street+"("+e.target.cusData.zongdi+")");
$(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street); $(e.target.tip.pos).html(e.target.cusData.province+e.target.cusData.city+e.target.cusData.area+e.target.cusData.street);
/////////////////////////////////自定义输出内容////////////////////////////////////// /////////////////////////////////自定义输出内容//////////////////////////////////////
// console.log("场景跳转@",e.target.cusData); // console.log("场景跳转@",e.target.cusData);

Binary file not shown.

View File

@ -29,3 +29,4 @@ html,body{
.webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;} .webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;}
.webgl-content .footer .title {margin-right: 10px; float: right;} .webgl-content .footer .title {margin-right: 10px; float: right;}
.webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;} .webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;}

View File

@ -13,8 +13,8 @@
//开启/关闭楼层面板 arg:true|false //开启/关闭楼层面板 arg:true|false
window.parent.FloorUI = function(arg){ window.parent.FloorUI = function(arg){
console.log("arg",arg) console.log("arg11111",arg)
unityInstance.SendMessage("GameManager","FloorUI",'true'); unityInstance.SendMessage("GameManager","FloorUI",arg);
} }
//调用停车场 //调用停车场
window.parent.FloorBase = function(arg){ window.parent.FloorBase = function(arg){
@ -25,18 +25,19 @@
window.parent.GotoScene = function (arg){ window.parent.GotoScene = function (arg){
unityInstance.SendMessage("GameManager","GotoScene",arg); unityInstance.SendMessage("GameManager","GotoScene",arg);
} }
//取消场景
window.parent.cancel = function () {
unityInstance.SendMessage("GameManager","GotoScene","MainScene");
}
//当场景加载完成的时候 //当场景加载完成的时候
function OnSceneLoaded(scene){ function OnSceneLoaded(scene){
window.parent.OnSceneLoaded(scene) window.parent.OnSceneLoaded(scene)
} }
//打开全景图 //打开全景图
function getUrl(url){ function getUrl(url){
console.log("打开全景",url); console.log("打开全景",url);
window.parent.postMessage({ status:'200',data:"360全景",panorama:url},'*'); window.parent.postMessage({ status:'200',data:"360全景",panorama:url},'*');
} }
</script> </script>
</head> </head>
<body> <body>

View File

@ -32,5 +32,16 @@ h2 {
overflow: hidden; overflow: hidden;
//width: 1920px;
//height: 1080px;
//position: absolute;
//top: 50%;
//left: 50%;
//transform: translate(-50%, -50%);
//transform-origin: left top;
//overflow: hidden;
} }
</style> </style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 875 B

View File

@ -79,6 +79,16 @@ export default {
console.log('返回首页') console.log('返回首页')
this.$router.back(); this.$router.back();
}, },
// cancel(){
// let that = this
// console.log('')
// // this.$router.back();
// if (that.scene == 360){
// window.cancel()
// }else{
// this.$router.back();
// }
// },
timeFn() { timeFn() {
this.timing = setInterval(() => { this.timing = setInterval(() => {
this.dateDay = formatTime(new Date(), "HH: mm: ss"); this.dateDay = formatTime(new Date(), "HH: mm: ss");

View File

@ -36,16 +36,18 @@ export default {
if (appRef) { if (appRef) {
if (currentRate > baseProportion) { if (currentRate > baseProportion) {
// 表示更宽 // 表示更宽
// scale.width = ((window.innerHeight * baseProportion) / baseWidth).toFixed(5); scale.width = ((window.innerHeight * baseProportion) / baseWidth).toFixed(5);
scale.width = 1; // scale.width = 1;
console.log('scale.width,,', scale.width, parseFloat(scale.width) + 0.08111); console.log('scale.width', scale.width, parseFloat(scale.width) + 0.08111);
scale.height = (window.innerHeight / baseHeight).toFixed(5) scale.height = (window.innerHeight / baseHeight).toFixed(5)
appRef.style.transform = `scale(${parseFloat(scale.width)}, ${scale.height}) translate(-50%, -50%)` // scale.width = (window.innerHeight / baseHeight).toFixed(5)
// appRef.style.transform = `scale(${parseFloat(scale.width)}, ${scale.height}) translate(-50%, -50%)`
appRef.style.transform = `scale(${(scale.width)}, ${scale.height}) translate(-50%, -50%)`
} else { } else {
// 表示更高 // 表示更高
scale.height = ((window.innerWidth / baseProportion) / baseHeight).toFixed(5) scale.height = ((window.innerWidth / baseProportion) / baseHeight).toFixed(5)
// scale.width = (window.innerWidth / baseWidth).toFixed(5) scale.width = (window.innerWidth / baseWidth).toFixed(5)
scale.width = 1; // scale.width = 1;
appRef.style.transform = `scale(${scale.width}, ${scale.height}) translate(-50%, -50%)` appRef.style.transform = `scale(${scale.width}, ${scale.height}) translate(-50%, -50%)`
} }
} }

View File

@ -9,8 +9,12 @@
<!-- <div class="body-bottom"></div>--> <!-- <div class="body-bottom"></div>-->
<dv-loading v-if="loading">Loading...</dv-loading> <dv-loading v-if="loading">Loading...</dv-loading>
<div v-else class="host-body"> <div v-else class="host-body">
<headerIndex :cdata="{ title: '360全景', margin: '26px auto' }" style="position:relative"/> <!-- <headerIndex :cdata="{ title: '360全景', margin: '26px auto' }" :isShow="false" :backdata="scene" style="position:relative"/>-->
<headerIndex
:cdata="{ title: '360全景', margin: '26px auto' }"
:isShow="false"
style="position: relative"
/>
<div class="body-box" style="margin-top: -100px;"> <div class="body-box" style="margin-top: -100px;">
<!-- 第四行数据 --> <!-- 第四行数据 -->
<div class="bottom-box"> <div class="bottom-box">
@ -26,9 +30,12 @@
<router-view></router-view> <router-view></router-view>
</div> --> </div> -->
<!-- 返回按钮 --> <!-- 返回按钮 -->
<!-- <div class="back-button"> <div class="back-button" @click="cancel()">
<a href="../../index.html"></a> <a></a>
</div> --> </div>
<!-- <div class="back-button" @click="floor">-->
<!--&lt;!&ndash; <a href="../../index"></a>&ndash;&gt;-->
<!-- </div>-->
<div class="left"> <div class="left">
@ -64,7 +71,9 @@ export default {
mixins: [drawMixin], mixins: [drawMixin],
data() { data() {
return { return {
buildingUrl:'/sgs/index.html' buildingUrl:'/sgs/index.html',
floors:'true',
scenes: ''
}; };
}, },
components: { components: {
@ -78,9 +87,11 @@ export default {
bottomRight, bottomRight,
}, },
mounted() { mounted() {
let that = this
window.OnSceneLoaded= function(scene){ window.OnSceneLoaded= function(scene){
console.log("scene",scene); console.log("scene",scene);
window.FloorUI('true') that.scenes = scene
window.FloorUI(that.floors)
} }
window.addEventListener("message", this.buildUrl, false); window.addEventListener("message", this.buildUrl, false);
}, },
@ -89,7 +100,16 @@ export default {
if (e.data.status === '200'){ if (e.data.status === '200'){
this.buildingUrl = e.data.panorama this.buildingUrl = e.data.panorama
} }
console.log(e.data.panorama) },
cancel(){
let that = this
console.log(that.scenes)
if (that.scenes === '360'){
console.log('取消模型')
window.cancel()
}else{
this.$router.back();
}
}, },
}, },
created() { created() {

View File

@ -9,7 +9,12 @@
<!-- <div class="body-bottom"></div>--> <!-- <div class="body-bottom"></div>-->
<dv-loading v-if="loading">Loading...</dv-loading> <dv-loading v-if="loading">Loading...</dv-loading>
<div v-else class="host-body"> <div v-else class="host-body">
<headerIndex :cdata="{ title: '车辆管理', margin: '26px auto' }" style="position: relative" /> <!-- <headerIndex :cdata="{ title: '车辆管理', margin: '26px auto' }" style="position: relative" />-->
<headerIndex
:cdata="{ title: '车辆管理', margin: '26px auto' }"
:isShow="false"
style="position: relative"
/>
<div class="body-box"> <div class="body-box">
<!-- 第三行数据 --> <!-- 第三行数据 -->
@ -23,6 +28,9 @@
<!-- <div class="back-button" @click="goPage('home')"> <!-- <div class="back-button" @click="goPage('home')">
<a href="../../index.html"></a> <a href="../../index.html"></a>
</div> --> </div> -->
<div class="back-button" @click="cancel()">
<a></a>
</div>
<div> <div>
<carManageLeft /> <carManageLeft />
</div> </div>
@ -113,7 +121,7 @@ export default {
dateWeek: null, dateWeek: null,
weekday: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"], weekday: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
decorationColor: ["#568aea", "#000000"], decorationColor: ["#568aea", "#000000"],
scenes:''
}; };
}, },
components: { components: {
@ -128,11 +136,13 @@ export default {
bottomRight, bottomRight,
}, },
mounted() { mounted() {
let that = this;
this.timeFn(); this.timeFn();
this.cancelLoading(); this.cancelLoading();
window.addEventListener("message", this.buildUrl, false); window.addEventListener("message", this.buildUrl, false);
window.OnSceneLoaded= function(scene){ window.OnSceneLoaded= function(scene){
console.log("scene",scene); console.log("scene",scene);
that.scenes = scene
// window.FloorBase('true') // window.FloorBase('true')
} }
this.buildUrl() this.buildUrl()
@ -182,8 +192,17 @@ export default {
// console.log("5-") // console.log("5-")
// } // }
},
cancel(){
let that = this
if (that.scenes === '360'){
console.log('取消模型')
window.cancel()
}else{
this.$router.back();
} }
}, },
},
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

View File

@ -13,7 +13,7 @@
<div class="body-box"> <div class="body-box">
<!-- 第三行数据 --> <!-- 第三行数据 -->
<div class="food-content-box"> <div class="food-content-box">
<div style="width:400px" class="left"> <div style="width:400px;top: 11%" class="left">
<div class="data-block-bk"> <div class="data-block-bk">
<div class="data-tit-bg">基地及供应商基本情况</div> <div class="data-tit-bg">基地及供应商基本情况</div>
<div class="data-flex" style="height: 278px;"> <div class="data-flex" style="height: 278px;">
@ -972,5 +972,6 @@ $box-width: 300px;
width: 21.5%; width: 21.5%;
right: 2%; right: 2%;
position: absolute; position: absolute;
top: 11%;
} }
</style> </style>

View File

@ -6,8 +6,8 @@
}"> --> }"> -->
<div class="bg"> <div class="bg">
<iframe :src="buildUrl" ref="iframe" frameborder="0" width="100%" height="100%" style="position: absolute"></iframe> <iframe :src="buildUrl" ref="iframe" frameborder="0" width="100%" height="100%" style="position: absolute"></iframe>
<div class="body-left"></div> <div class="body-left" style="width: 470px"></div>
<div class="body-right"></div> <div class="body-right" style="width: 470px"></div>
<div class="body-bottom"></div> <div class="body-bottom"></div>
<dv-loading v-if="loading">Loading...</dv-loading> <dv-loading v-if="loading">Loading...</dv-loading>
<div v-else class="host-body"> <div v-else class="host-body">

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="index" class="contentText" style="overflow:hidden"> <div id="index" ref="appRef" style="overflow:hidden">
<!-- <div class="bg" :style="{ <!-- <div class="bg" :style="{
backgroundImage: backgroundImage:
'url(' + require(`../../assets/${backgroundPic.index}.png`) + ')', 'url(' + require(`../../assets/${backgroundPic.index}.png`) + ')',