企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
在D:\ireport365\ireport365.war\js\enduser\designer\designer.css D:\ireport365\ireport365.war\WEB-INF\classes\report-resource\design.css 分别添加以下css ``` /*2019-1-16 cesium 组件需要的css 导航类 start*/ .cesium-main .cesium-viewer-bottom{ display:none; } .cesium-main a { text-decoration: none; color: #fff; } .cesium-main a:hover { text-decoration: none; } .cesium-main ul { margin: 0; padding: 0; list-style-type: none; } .cesium-main nav { position:absolute; top:0px; left:0px; z-index:999; width:100%; height: 50px; padding: 5px; display: flex; flex-flow: row wrap; justify-content: space-between; align-items: center; background-color: #000; } .cesium-main .navbar-header { display: flex; flex-flow: row wrap; justify-content: space-between; align-items: center; } .cesium-main .navbar-toggle { height: 37px; display: none; border: none; background-color: green; border-radius: 2px; cursor: pointer; } .cesium-main .navbar-toggle span { display: block; width: 2em; margin: 3px 0; border-bottom: 2px solid #fff; } .cesium-main .navbar-brand { display: block; } .cesium-main .navbar-nav li { display: inline-block; /\*padding: .5em;\*/ background-color: #000; cursor: pointer; } .cesium-main .navbar-nav li { color:#fff; } @media(max-width: 768px) { .cesium-main nav { display: block; } .cesium-main .navbar-header { margin-top: 6.5px; } .cesium-main .navbar-toggle { display: flex; flex-flow: column; justify-content: center; align-items: center; margin-right: 10px; } .cesium-main .collapse { display: none; } .cesium-main .navbar-collapse { position: relative; top: 12.5px; z-index:999; } .cesium-main .navbar-collapse li { width: 100%; border-bottom: 1px solid #fff;; text-align: center; } } .cesium-main .nav\>li\>a:hover{ background-color:#000; } /*2019-1-16 cesium 组件需要的css 导航类 end*/ ``` 在下面的js文件里添加 D:\ireport365\ireport365.war\WEB-INF\pages\enduser\designer\index.jsp ``` <link rel="stylesheet" href="${pageContext.request.contextPath}/cdn/1.0/CesiumUnminified/Widgets/widgets.css"> ``` ``` \_scripts.push({url: "/cdn/1.0/CesiumUnminified/Cesium.js"}); ``` 如下图: ![](https://box.kancloud.cn/3de232dbf77e278546aedc9d8e9fa8c6_896x652.png) 在分享页添加以下 路径:D:\ireport365\ireport365.war\WEB-INF\classes\system-resource\report-template.html ``` <link rel="stylesheet" href="${cdnPath}cdn/1.0/CesiumUnminified/Widgets/widgets.css"> ``` ``` \_scripts.push({url: "${cdnPath}cdn/1.0/CesiumUnminified/Cesium.js"}); ``` 如下图: ![](https://box.kancloud.cn/35f3d4d3aaa7acffd763f5156a09b0bc_863x487.png) ![](https://box.kancloud.cn/d117e3fab5f529338edfbc6ff46826a3_950x569.png)