App.vue 6.9 KB

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