fuchengshen
2022-06-20 6e8409b56b300c5810c2a772ffa94c384ed81f41
Merge branch 'master' of http://www.shsening.com:10000/r/template/hn_view
2个文件已添加
3个文件已修改
90 ■■■■ 已修改文件
public/hn3d/example/00_hn_new.html 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/hn3d/example/css/hn.css 64 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/hn3d/example/css/style.css 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/hn3d/example/img/bg_total.png 补丁 | 查看 | 原始文档 | blame | 历史
public/hn3d/example/img/bg_total1.png 补丁 | 查看 | 原始文档 | blame | 历史
public/hn3d/example/00_hn_new.html
@@ -22,17 +22,6 @@
  <link rel="stylesheet" href="./css/time_search.css">
  <link rel="stylesheet" href="./js/bootstrap/bootstrap-datepicker/bootstrap-datetimepicker.css">
  <style>
    .btn-primary {
      margin: 2px;
      padding: auto 16px
    }
    .handle {
      top: 30%;
      width: 120px;
      text-align: center
    }
    .disable {
      pointer-events: none;
    }
@@ -79,16 +68,22 @@
  <div id="mars3dContainer" class="mars3d-container"></div>
  <div class="infoview">
  <div class="infoview topWindows">
    <div>
      华能石洞口二厂视角:
      华能石洞口二厂视角
    </div>
  </div>
  <div class="infoview bottomWindows">
    <div>
      <input id="changqu_btn" type="button" class="btn btn-primary" value="厂区" />
      <input id="meipeng_btn" type="button" class="btn btn-primary" value="煤棚" />
      <input id="pengnei_btn" type="button" class="btn btn-primary" value="棚内" />
    </div>
  </div>
  <!-- 操作按钮栏 -->
  <div class="infoview handle">
  <div class="infoview infoWindows handle">
    <button type="button" id="meipeng" class="btn btn-primary active" style="width: 100%;">煤棚整体</button>
    <button type="button" id="meipeng_qiang_ding" class="btn btn-primary" style="width: 100%;">墙面棚顶</button>
    <button type="button" id="meipeng_pati_madao" class="btn btn-primary" style="width: 100%;">爬梯马道</button>
public/hn3d/example/css/hn.css
@@ -1,4 +1,4 @@
.infoview {
.infoWindows {
    position: absolute;
    z-index: 9;
    border: none;
@@ -10,14 +10,64 @@
    box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.infoview > div{
.infoWindows > div{
    color: #fff;
    margin-top: 0;
}
.btn-primary{
    border-radius: 20px;
    margin-bottom: 0 0 4px!important;
.topWindows{
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: url(../img/bg_total.png) rgba(12, 25, 48, 0.7) no-repeat center top;
    background-size: auto 100%;
    border: none;
    box-shadow: none;
}
.btn-primary:last-child{
    margin-bottom: 0;
.topWindows > div{
    margin: 0 auto;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: #fff;
}
.bottomWindows{
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
}
.bottomWindows > div{
    margin: 0 auto;
    width: 300px;
    display: flex;
    justify-content: space-between;
}
.handle {
    top: 30%;
    left: 10px;
    width: 120px;
    padding: 15px;
    text-align: center
}
.handle > .btn-primary{
    margin: 0 0 8px!important;
}
.handle > .btn-primary:last-child{
    margin: 0!important;
}
.btn-primary{
    padding: auto 16px;
    border-radius: 20px;
    margin: 0;
}
/*隐藏底部toolbar*/
.mars3d-distance-legend,
.mars3d-locationbar{
    display: none;
    visibility: hidden;
}
public/hn3d/example/css/style.css
@@ -341,10 +341,7 @@
/**infoview浮动面板*/
.infoview {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  border-radius: 4px;
  border: 1px solid rgba(128, 128, 128, 0.5);
  color: #ffffff;
  background: rgba(12, 25, 48, 0.7);
public/hn3d/example/img/bg_total.png
public/hn3d/example/img/bg_total1.png