南昌市物联网技防平台-前端
Administrator
2021-04-24 282563ed2b86a1d319a3db27a870d65ca33a14cb
电子围栏提示音样式修改
2 files modified
19 ■■■■■ changed files
public/map/widgets/securityMap/SecurityMap.css 9 ●●●●● patch | view | raw | blame | history
public/map/widgets/securityMap/SecurityMap.js 10 ●●●●● patch | view | raw | blame | history
public/map/widgets/securityMap/SecurityMap.css
@@ -52,14 +52,17 @@
.tips {
    width: 120px;
    height: 18px;
    height: 26px;
    background-color: #ffffff;
    position: absolute;
    display: none;
    border-radius: 5px;
    border-radius: 4px;
    border: 1px solid #3385FF;
}
.tips span {
    line-height: 18px;
    line-height: 26px;
    font-size: 10px;
    position: absolute;
    left: 7px;
}
public/map/widgets/securityMap/SecurityMap.js
@@ -160,8 +160,8 @@
        editToolbarStatus: false,
        //基础路径
        //pathUrl: "http://localhost:89",
        pathUrl: "https://web.byisf.com/api/blade-jfpts",
        pathUrl: "http://localhost:89",
        //pathUrl: "https://web.byisf.com/api/blade-jfpts",
        // 电子围栏需要新增的Id
        newElectronicFenceId: null,
@@ -534,8 +534,10 @@
                //编辑电子围栏提示语
                if (that.editToolbarStatus) {
                    $("#securityMapTips4").css("width", "200px");
                    $("#securityMapTips4").css("height", "36");
                    $("#securityMapTips4").css("width", "220px");
                    $("#securityMapTips4").css("height", "40px");
                    $("#securityMapTips4").css("line-height", "20px");
                    $("#securityMapTips4 span").css("line-height", "20px");
                    var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
                    var scrollLeft = document.documentElement.scrollLeft || document.body.scrollLeft;
                    oDiv4.style.left = oEvent.clientX + scrollLeft + 15 + 'px';