Browse Source

修改样式

ljh 2 năm trước cách đây
mục cha
commit
839538b844

+ 2 - 2
nngkxxdp/src/main/resources/static/district/css/sy_mobile.css

@@ -357,7 +357,7 @@ a {
     border: 10px solid transparent;
     border-bottom-color: #176AB7;
     position: absolute;
-    top: 134px;
+    top: 17.86666vw;
     right: 31%;
     margin-top: -20px;
     transform:rotate(180deg);
@@ -370,7 +370,7 @@ a {
     border: 10px solid transparent;
     border-bottom-color: #176AB7;
     position: absolute;
-    top: 154px;
+    top: 161px;
     left: 38%;
     margin-top: -20px;
     transform:rotate(180deg);

+ 1 - 3
nngkxxdp/src/main/resources/static/district/js/sy_mobile.js

@@ -29,8 +29,7 @@ $(function () {
     // });
     
     // 点击图片,显示弹窗
-    $(".flex_li").click(function () {
-        //   = $(".pop").css("display");
+    $(".flex_li").click(function (e) {
         var tabshow = $(this).text().replace(/\s+/g, '');
         if (tabshow == "教育") {
             $(".pop").toggle();
@@ -56,7 +55,6 @@ $(function () {
         } else if (tabshow == "医疗") {
             $(".popMedical").toggle();
             $(".popMedical").siblings().hide()
-
         }
     })
     // 百度地图API功能

+ 1 - 1
nngkxxdp/src/main/resources/static/district/sy_mobile.html

@@ -886,7 +886,7 @@
     <script src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=nSxiPohfziUaCuONe4ViUP2N"></script>
     <script type="text/javascript" src="./layui/layui.js"></script>
     <script type="text/javascript" src="./js/jquery-3.5.1.min.js"></script>
-    <script type="text/javascript" src="./js/district.js"></script>
+    <script type="text/javascript" src="./js/district_mobile.js"></script>
     <script type="text/javascript" src="./js/swiper-bundle.min.js"></script>
     <script src="./js/sy_mobile.js" type="text/javascript" charset="utf-8"></script>
     <script>