@aibee/crc-bmap 0.0.92 → 0.0.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/example/index.css CHANGED
@@ -3,20 +3,16 @@ body {
3
3
  padding: 0;
4
4
  overflow: hidden;
5
5
  background-color: red;
6
+ display: flex;
7
+ flex-direction: column;
8
+ width: 80vw;
9
+ height: 90vh;
10
+ margin-left: 10vw;
6
11
  }
7
12
 
8
13
  #app {
9
- width: 80vw;
10
- height: 80vh;
11
- position: fixed;
12
- top: 10vh;
13
- left: 10vw;
14
+ flex: 1;
14
15
  z-index: 0;
15
- }
16
-
17
- #button-group {
18
- position: fixed;
19
- top: 10px;
20
- left: 10px;
21
- z-index: 1;
16
+ height: 0;
17
+ min-height: 0;
22
18
  }
@@ -6,9 +6,7 @@
6
6
  <title>BMap Example</title>
7
7
  <link rel="stylesheet" href="./index.css">
8
8
  </head>
9
- <body style="display: flex;">
10
- <div id="app" style="flex: 1;"></div>
11
- <div id="app1"></div>
9
+ <body>
12
10
  <div id="button-group">
13
11
  <button id="addSelectBox">添选中框</button>
14
12
  <button id="changeContainerSize">修改容器大小</button>
@@ -58,6 +56,8 @@
58
56
  <button id="measureArea">测量面积</button>
59
57
  <button id="cancelMeasureArea">取消测量面积</button>
60
58
  </div>
59
+ <div id="app"></div>
60
+ <div id="app1"></div>
61
61
  <script type="module" src="/src/main.ts"></script>
62
62
  </body>
63
63
  </html>