App.vue 7.3 KB

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