ansel0926
2022-05-17 885edef97a642aaceede847c084f70156cbfe9a9
assets/js/indexAI.js
@@ -47,7 +47,7 @@
        layer.closeAll();//首先关闭所有的弹窗
        layer.open({
            type: 2,
            title: '<i class="iconfont icon-dituliulan i-item" style="font-size: 18px; color: white;"></i>  ' + " 关联项目",
            title: '<i class="iconfont icon-dituliulan i-item" style="font-size: 18px; color: white;"></i>  ' + " 剖面全景",
            maxmin: true,
            skin: 'layer-ext-myskin',
            shade: 0,
@@ -122,6 +122,35 @@
    });
}
//shp图层
function shpFeature(){
    layui.use(['element', 'layer', 'form', 'upload', 'tree', 'util'], function () {
        var layer = layui.layer;
        layer.config({
            extend: 'myskin/style.css' //同样需要先加载新皮肤
        });
        layer.closeAll();
        layer.open({
            type: 2,
            title: '<i class="iconfont icon-shichuang i-item" style="font-size: 18px; color: white;"></i>' + ' shp添加',
            maxmin: true,
            skin: 'layer-ext-myskin',
            shade: 0,
            maxmin: false,
            scrollbar: false,
            shadeClose: true, //点击遮罩关闭层
            area: ['330px', '380px'],
            resize: false,
            offset: [layerPageStyle.offsetX, layerPageStyle.offsetY],
            content: 'project/shpAdd.html',
            success: function (layero, index) {
                dataViewPage = window[layero.find('iframe')[0]['name']];
            }
        });
    });
}
//空间量算
function measureAnalysis() {