From 798128053bb17ed293aa8d5424db3b5ed007d375 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期一, 23 十二月 2024 10:20:57 +0800 Subject: [PATCH] 1.优化订单列表框架,升级为viewPager2,提升性能。 2.添加收到新工单后的红点提醒。 3.修复查询数据为空时报错。 4.优化修改经纬度的流程。 5.修复mqtt的CLIENT_ID一致导致的连接错误。 6.修复收到新工单后点击消息通知栏跳转详情时不更新数据的bug。 --- app/src/main/assets/index.html | 44 ++++++++++++++++++++++++-------------------- 1 files changed, 24 insertions(+), 20 deletions(-) diff --git a/app/src/main/assets/index.html b/app/src/main/assets/index.html index 69d3cf5..2032c9b 100644 --- a/app/src/main/assets/index.html +++ b/app/src/main/assets/index.html @@ -4,32 +4,36 @@ <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>澶╁湴鍥�</title> + <title>Map Example</title> <style> - /* 纭繚 body 鍜� html 鍏呮弧鏁翠釜瑙嗗彛 */ + /* 纭繚 body 鍜� html 鍏呮弧鏁翠釜瑙嗗彛 */ html, body { - margin: 0; - padding: 0; - width: 100%; - height: 100%; - overflow: hidden; /* 闃叉婊氬姩鏉″嚭鐜� */ - } - /* 纭繚鍦板浘瀹瑰櫒鍏呮弧鏁翠釜瑙嗗彛 */ - #mapDiv { - width: 100%; - height: 100%; - position: absolute; /* 淇濊瘉鍦板浘鍏ㄥ睆 */ - top: 0; - left: 0; - } + margin: 0; + padding: 0; + width: 100%; + height: 100%; + overflow: hidden; /* 闃叉婊氬姩鏉″嚭鐜� */ + } + /* 纭繚鍦板浘瀹瑰櫒鍏呮弧鏁翠釜瑙嗗彛 */ + #mapDiv { + width: 100%; + height: 100%; + position: absolute; /* 淇濊瘉鍦板浘鍏ㄥ睆 */ + top: 0; + left: 0; + } </style> - <script src="http://api.tianditu.gov.cn/api?v=4.0&tk=d8beed89b43160a9a185e5aff431f85d" - type="text/javascript"></script> + <!-- 寮曠敤鏈湴鐨勫ぉ鍦板浘 JS 鏂囦欢 --> + <script src="js/tianditu.js"></script> + <!-- <script src="http://api.tianditu.gov.cn/api?v=4.0&tk=d8beed89b43160a9a185e5aff431f85d" + type="text/javascript"></script> --> </head> <body> - <div id="mapDiv"></div> - <script src="js/map.js"></script> +<div id="mapDiv"></div> + +<script src="js/map.js"></script> + </body> </html> \ No newline at end of file -- Gitblit v1.8.0