ebab191767e28d8c3cb24f8c376c67fa69709c8c..f21edeca726a9fdbe30399252c29ba03f35083ef
2026-01-19 sbjw
add
f21ede diff | tree
2026-01-19 sbjw
默认显示
5159b1 diff | tree
2026-01-19 sbjw
使用1.0.36
2993da diff | tree
2026-01-19 sbjw
关闭
d23d11 diff | tree
1 files added
3 files modified
20 ■■■■ changed files
Dockerfile 8 ●●●●● patch | view | raw | blame | history
package.json 4 ●●●● patch | view | raw | blame | history
src/example/ExampleBpPage.js 6 ●●●● patch | view | raw | blame | history
src/example/ExampleDrawPage.js 2 ●●●●● patch | view | raw | blame | history
Dockerfile
New file
@@ -0,0 +1,8 @@
FROM ubuntu/nginx:1.24-24.04_edge
# 复制自定义配置文件
#COPY nginx.conf /etc/nginx/nginx.conf
#COPY default.conf /etc/nginx/conf.d/default.conf
# 复制网站文件
COPY build /usr/share/nginx/html
package.json
@@ -17,12 +17,12 @@
    },
    "dependencies": {
        "@ant-design/icons": "^4.0.0",
        "@turf/turf": "^7.2.0",
        "antd": "^4.24.16",
        "echarts": "^5.6.0",
        "iclient3d-plot-diy": "^1.0.33",
        "iclient3d-plot-diy": "^1.0.36",
        "iclient3d-plot-diy-attachment": "^1.0.2",
        "jquery": "^3.7.1",
        "@turf/turf": "^7.2.0",
        "react-draggable": "^3.3.2",
        "react-router-dom": "^5.3.4",
        "rxjs": "^7.8.2"
src/example/ExampleBpPage.js
@@ -49,6 +49,7 @@
            .then(mdText => {
                this.setState({htmlString: window.marked.parse(mdText)});
            });
        this.showData();
        //监听拨盘事件
        this.mapFunction.addBpListener(function (id, dom) {
            if (id && dom) {
@@ -63,7 +64,7 @@
                        {name: '图标1', img: './project3d/icon/bpImgs/icon-1.png'},
                        {name: '图标2', img: './project3d/icon/bpImgs/icon-2.png'},
                        {name: '图标3', img: './project3d/icon/bpImgs/icon-3.png'},
                        {name: '图标4', img: './project3d/icon/bpImgs/icon-4.png'},
                        {name: '关闭', img: './project3d/icon/bpImgs/icon-4.png'},
                    ]
                };
                this.setState({
@@ -74,6 +75,9 @@
                    this.setState({
                        clickBpIndex: index
                    });
                    if (index === 3) {
                        this.closeBp();
                    }
                });
            }
        }, this);
src/example/ExampleDrawPage.js
@@ -10,6 +10,7 @@
    optionObjs = {
        "目标简标": {
            code: '123123',
            bz: true,
            bzlx: 'simple',
            jbwb: 'R:00017',
@@ -239,6 +240,7 @@
            .then(mdText => {
                this.setState({htmlString: window.marked.parse(mdText)});
            });
        this.showOptions();
    }
    showOptions = () => {