App.vue 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  1. <template>
  2. <!-- 切换为路由显示 -->
  3. <router-view></router-view>
  4. </template>
  5. <script>
  6. export default {
  7. name: 'App',
  8. }
  9. </script>
  10. <style lang="scss">
  11. // .lk-status-bar{
  12. // font-size:16rem !important;
  13. // }
  14. // ::-webkit-scrollbar {
  15. // width: 5rem;
  16. // }
  17. // /*定义滚动条轨道 内阴影+圆角*/
  18. // ::-webkit-scrollbar-track {
  19. // border-radius: 10rem;
  20. // background-color: rgba(0, 0, 0, 0.1);
  21. // }
  22. // /*定义滑块 内阴影+圆角*/
  23. // ::-webkit-scrollbar-thumb {
  24. // border-radius: 10rem;
  25. // -webkit-box-shadow: inset 0 0 6rem rgba(0, 0, 0, .3);
  26. // background-color: rgba(0, 0, 0, 0.1);
  27. // }
  28. //选取颜色组件
  29. .el-color-svpanel {
  30. width: 280rem !important;
  31. height: 180rem !important;
  32. }
  33. // .el-color-hue-slider.is-vertical{
  34. // width: 280rem !important;
  35. // height: 12rem !important;
  36. // background-size: 12rem 12rem !important;
  37. // }
  38. .el-color-alpha-slider {
  39. width: 280rem !important;
  40. height: 12rem !important;
  41. background-size: 12rem 12rem !important;
  42. background-position: 0 0, 6rem 0, 6rem -6rem, 0 6rem !important;
  43. }
  44. .el-button.is-text {
  45. background-color: #fff !important;
  46. }
  47. .el-color-predefine {
  48. width: 320rem !important;
  49. margin-top: 8rem !important;
  50. font-size: 12rem !important;
  51. }
  52. .el-color-dropdown__value {
  53. width: 160rem !important;
  54. height: 26rem !important;
  55. font-size: 12rem !important;
  56. line-height: 26rem !important;
  57. }
  58. .el-color-dropdown__btns {
  59. margin-top: 12rem !important;
  60. }
  61. .el-input--small {
  62. --el-input-height: 24rem !important;
  63. }
  64. .el-color-svpanel__cursor {
  65. // left: 280rem !important;
  66. }
  67. .el-color-hue-slider.is-vertical {
  68. height: 180rem !important;
  69. width: 12rem !important;
  70. padding: 2rem 0 !important;
  71. }
  72. .el-color-picker__panel {
  73. padding: 5rem 11rem !important;
  74. font-size: 12rem !important;
  75. line-height: 20rem !important;
  76. min-height: 10rem !important;
  77. width: 322rem !important;
  78. height: 311rem !important;
  79. left: 15rem !important;
  80. top: 250rem !important;
  81. background-color: rgba(255, 255, 255, 0.9) !important;
  82. }
  83. .el-color-predefine__color-selector {
  84. margin: 0 0 8rem 8rem !important;
  85. height: 20rem !important;
  86. width: 20rem !important;
  87. border-radius: 4rem !important;
  88. }
  89. ::v-deep .el-color-dropdown {
  90. width: 300rem !important;
  91. }
  92. /* el-button组件自适应大小 */
  93. .el-input-group__append {
  94. padding: 0 20rem !important;
  95. }
  96. .el-button {
  97. height: 32rem !important;
  98. padding: 8rem 15rem !important;
  99. font-size: 14rem !important;
  100. }
  101. .overflowtext {
  102. padding: 0 5rem;
  103. width: 150rem !important;
  104. display: inline-block;
  105. text-align: left;
  106. /*作为弹性伸缩盒子模型显示*/
  107. white-space: nowrap;
  108. /*显示的行数;如果要设置2行加...则设置为2*/
  109. overflow: hidden;
  110. /*超出的文本隐藏*/
  111. text-overflow: ellipsis;
  112. /* 溢出用省略号*/
  113. }
  114. .el-dropdown-menu__item {
  115. line-height: 22rem !important;
  116. padding: 5rem 16rem !important;
  117. font-size: 14rem !important;
  118. }
  119. .el-form-item__label {
  120. height: 32rem !important;
  121. line-height: 32rem !important;
  122. padding: 0 12rem 0 0 !important;
  123. font-size: 14rem !important;
  124. }
  125. .el-input__wrapper {
  126. padding: 1rem 11rem !important;
  127. }
  128. .el-input__inner {
  129. height: 32rem !important;
  130. font-size: 14rem !important;
  131. }
  132. .el-form-item__content {
  133. line-height: 32rem !important;
  134. }
  135. .el-slider {
  136. height: 32rem !important;
  137. }
  138. .el-form-item {
  139. --font-size: 14rem !important;
  140. }
  141. // .el-scrollbar{
  142. // background-color: gainsboro !important;
  143. // }
  144. .overflowtext {
  145. padding: 0 5rem;
  146. width: 150rem !important;
  147. display: inline-block;
  148. text-align: left;
  149. /*作为弹性伸缩盒子模型显示*/
  150. white-space: nowrap;
  151. /*显示的行数;如果要设置2行加...则设置为2*/
  152. overflow: hidden;
  153. /*超出的文本隐藏*/
  154. text-overflow: ellipsis;
  155. /* 溢出用省略号*/
  156. }
  157. //取消边框剪切
  158. .el-scrollbar {
  159. // background-color: gainsboro !important;
  160. color: #fff !important;
  161. background-color: rgba(5, 45, 115, 1) !important;
  162. overflow: visible !important;
  163. }
  164. //图层树间距
  165. .el-tree-node__content {
  166. margin: 2rem 0rem !important;
  167. }
  168. //dropdown行样式
  169. .el-popper.is-light,
  170. .el-dropdown__popper.el-popper {
  171. background: rgba(0, 0, 0, 0);
  172. border: 0 !important;
  173. }
  174. //三角边框样式
  175. .el-popper__arrow::before {
  176. border: 0 !important;
  177. }
  178. //三角背景样式
  179. .el-popper.is-light .el-popper__arrow::before {
  180. background: rgba(0, 0, 0, 0) !important;
  181. z-index: -10;
  182. }
  183. #app {
  184. font-family: Avenir, Helvetica, Arial, sans-serif;
  185. -webkit-font-smoothing: antialiased;
  186. -moz-osx-font-smoothing: grayscale;
  187. text-align: center;
  188. color: rgb(255, 0, 0);
  189. }
  190. .maxsize {
  191. font-size: 18rem !important;
  192. }
  193. .minsize {
  194. font-size: 14rem !important;
  195. }
  196. /*cesium-navigation-es6 比例尺、指南针 位置样式*/
  197. .cesium-widget-cesiumNavigationContainer {
  198. position: absolute;
  199. bottom: 0rem;
  200. left: 5rem;
  201. width: 100rem;
  202. height: 320rem;
  203. border: 0rem solid green;
  204. /*导航栏*/
  205. #navigationDiv {
  206. height: 320rem;
  207. border: 0rem solid red;
  208. /* 罗盘定位 */
  209. .compass {
  210. pointer-events: auto;
  211. position: absolute;
  212. right: 0rem;
  213. top: 100rem;
  214. width: 95rem;
  215. height: 95rem;
  216. overflow: hidden;
  217. }
  218. .navigation-control-icon-zoom-out {
  219. font-size: 20rem;
  220. }
  221. .navigation-control-icon-zoom-in {
  222. font-size: 20rem;
  223. }
  224. /*缩放定位*/
  225. .navigation-controls {
  226. position: absolute;
  227. right: 30rem;
  228. top: 200rem;
  229. width: 30rem;
  230. height: 30rem;
  231. border: 1rem solid rgba(255, 255, 255, 0.1);
  232. font-weight: 300;
  233. -webkit-touch-callout: none;
  234. -webkit-user-select: none;
  235. -khtml-user-select: none;
  236. -moz-user-select: none;
  237. -ms-user-select: none;
  238. user-select: none;
  239. }
  240. .navigation-controls>div:nth-child(2) {
  241. display: none;
  242. }
  243. //放大按钮
  244. .navigation-control-icon-zoom-in {
  245. border: 1rem solid #ddd; //重点
  246. }
  247. //缩小按钮
  248. .navigation-control-icon-zoom-out {
  249. border: 1rem solid #ddd; //重点
  250. }
  251. .compass-outer-ring-background {
  252. position: absolute;
  253. top: 14rem;
  254. left: 14rem;
  255. width: 44rem;
  256. height: 44rem;
  257. border-radius: 44rem;
  258. border: 12rem solid rgb(47 53 60); //重点
  259. box-sizing: content-box;
  260. }
  261. .compass-outer-ring {
  262. position: absolute;
  263. top: 0;
  264. width: 95rem;
  265. height: 95rem;
  266. fill: rgb(255 255 255); //重点
  267. }
  268. .compass-gyro-background {
  269. position: absolute;
  270. top: 30rem;
  271. left: 30rem;
  272. width: 33rem;
  273. height: 33rem;
  274. border-radius: 33rem;
  275. background-color: rgb(47 53 60); //重点
  276. border: 1rem solid rgb(255 255 255); //重点
  277. box-sizing: content-box;
  278. }
  279. .compass-gyro {
  280. pointer-events: none;
  281. position: absolute;
  282. top: 0;
  283. width: 95rem;
  284. height: 95rem;
  285. fill: #fff; //重点
  286. }
  287. }
  288. /*比例尺位置*/
  289. .distance-legend {
  290. left: -10rem;
  291. bottom: 0rem;
  292. border: 0rem solid darkred;
  293. }
  294. }
  295. </style>