login.css 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  1. .login-page {
  2. min-height: 100vh;
  3. background-color: #0C1226;
  4. display: flex;
  5. align-items: center;
  6. justify-content: center;
  7. padding: 20px;
  8. box-sizing: border-box;
  9. }
  10. .pw{
  11. font-size: 12px;
  12. color: #8b949e;
  13. padding-left: 5px;
  14. }
  15. /* 登录卡片:PC默认40%,设置最大最小宽度,防止平板过窄 */
  16. .login-card {
  17. width: 40%;
  18. min-width: 340px;
  19. max-width: 600px;
  20. background-color: #10172b;
  21. border: 2px solid #124966;
  22. border-radius: 10px;
  23. padding: 40px 32px;
  24. box-sizing: border-box;
  25. box-shadow: 1px 1px 1px rgba(0, 255, 255, 1);
  26. }
  27. /* 品牌标题 */
  28. .brand {
  29. margin-bottom: 24px;
  30. text-align: center;
  31. }
  32. .brand-cn {
  33. color: #00edff;
  34. display: block;
  35. font-size: 36px;
  36. font-weight: bold;
  37. line-height: 50px;
  38. }
  39. .brand-sub {
  40. display: block;
  41. margin-top: 4px;
  42. font-size: 16px;
  43. color: #8B949E;
  44. }
  45. /* 表单项 */
  46. .form-item {
  47. margin-bottom: 16px;
  48. }
  49. .form-row {
  50. display: flex;
  51. justify-content: space-between;
  52. gap:16px;
  53. }
  54. .half {
  55. width: 48%;
  56. }
  57. .label {
  58. display: block;
  59. font-weight: 700;
  60. font-size:14px;
  61. color:#00EDFF;
  62. margin-bottom: 6px;
  63. }
  64. /* 输入框 */
  65. .input {
  66. height: 50px;
  67. line-height: 50px;
  68. padding: 0 12px;
  69. font-size: 14px;
  70. color: #fff;
  71. background-color: #0C1226;
  72. border: 1px solid #124966;
  73. border-radius: 5px;
  74. box-sizing: border-box;
  75. }
  76. .placeholder {
  77. color: #8b949e;
  78. }
  79. /* IP + 配网 */
  80. .ip-row {
  81. display: flex;
  82. align-items: center;
  83. }
  84. .flex-1 {
  85. flex: 1;
  86. }
  87. .btn-pw {
  88. margin-left: 8px;
  89. height: 50px;
  90. line-height: 50px;
  91. padding: 0 15px;
  92. font-size: 13px;
  93. color: #00edff;
  94. border: 1px solid #124966;
  95. border-radius: 5px;
  96. }
  97. /* 下拉选择 */
  98. .select {
  99. display: flex;
  100. align-items: center;
  101. justify-content: space-between;
  102. height: 50px;
  103. padding: 0 12px;
  104. font-size: 14px;
  105. color: #fff;
  106. border: 1px solid #124966;
  107. border-radius: 5px;
  108. box-sizing: border-box;
  109. }
  110. .select-text {
  111. flex: 1;
  112. }
  113. .arrow {
  114. color: #8b949e;
  115. }
  116. /* 进入系统按钮(渐变) */
  117. .btn-submit {
  118. margin-top: 22px;
  119. height: 48px;
  120. line-height: 48px;
  121. text-align: center;
  122. font-size: 18px;
  123. color: #fff;
  124. border-radius: 10px;
  125. background: linear-gradient(90deg, rgba(0, 229, 255, 1) 0%, rgba(124, 77, 255, 1) 100%);
  126. }
  127. /* ========== 媒体查询:iPad竖屏(宽度 <= 768px)========== */
  128. @media screen and (max-width:768px){
  129. .login-card{
  130. width: 90%;
  131. padding:30px 24px;
  132. }
  133. .brand-cn{
  134. font-size:28px;
  135. line-height:40px;
  136. }
  137. /* 两列表单改成单列 */
  138. .form-row{
  139. flex-direction: column;
  140. gap:16px;
  141. }
  142. .half{
  143. width:100%;
  144. }
  145. /* 增大触摸区域,平板更容易点击 */
  146. .input,.select{
  147. height:52px;
  148. line-height:52px;
  149. }
  150. .btn-submit{
  151. height:52px;
  152. line-height:52px;
  153. }
  154. }
  155. /* 下面原有其余样式保持原样,我只截取改动部分,你把原来剩下的css直接保留 */
  156. .loading-modal {
  157. position: fixed;
  158. top: 0;
  159. left: 0;
  160. width: 100%;
  161. height: 100%;
  162. background: rgba(0, 0, 0, 0.5);
  163. display: flex;
  164. justify-content: center;
  165. align-items: center;
  166. z-index: 9999;
  167. }
  168. .loading-content {
  169. background: white;
  170. border-radius: 10px;
  171. padding: 20px;
  172. display: flex;
  173. flex-direction: column;
  174. align-items: center;
  175. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  176. }
  177. .loading-spinner {
  178. width: 30px;
  179. height: 30px;
  180. border: 3px solid #f3f3f3;
  181. border-top: 3px solid #667eea;
  182. border-radius: 50%;
  183. animation: spin 1s linear infinite;
  184. margin-bottom: 10px;
  185. }
  186. @keyframes spin {
  187. 0% {
  188. transform: rotate(0deg);
  189. }
  190. 100% {
  191. transform: rotate(360deg);
  192. }
  193. }
  194. .loading-text {
  195. font-size: 14px;
  196. color: #333;
  197. }
  198. .logo {
  199. margin-top: 6px;
  200. width: 30px;
  201. height: 34px;
  202. margin-left: 8px;
  203. }
  204. .jt {
  205. margin-top: 9px;
  206. width: 12px;
  207. height: 12px;
  208. margin-left: 3px;
  209. }
  210. .canvas {
  211. /* 不要写死1000px,占满父容器 */
  212. width: 100%;
  213. height: 100%;
  214. display: block;
  215. }
  216. .item-line {
  217. width: 12px;
  218. height: 5px;
  219. }
  220. .xs-font {
  221. font-size: 12px;
  222. color: #FFFF00;
  223. }
  224. .text {
  225. font-size: 17px;
  226. color: #999999;
  227. }
  228. .bottom-buttonx {
  229. width: 15%;
  230. background: linear-gradient(150deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 0%, rgba(239, 68, 68, 1) 100%, rgba(239, 68, 68, 1) 100%);
  231. color: #000;
  232. border-radius: 5px;
  233. height: 40px;
  234. line-height: 40px;
  235. font-size: 16px;
  236. border: none;
  237. position: absolute;
  238. bottom: 40px;
  239. }
  240. .bottom-button-xh {
  241. margin-top: 5px;
  242. background-color: #00e5ff;
  243. width: 80px;
  244. height: 25px;
  245. line-height: 25px;
  246. font-size: 12px;
  247. color: #000;
  248. }
  249. .cxsm {
  250. color: #FFFF00;
  251. padding-bottom: 10px;
  252. padding: 10px 5px;
  253. }
  254. .cxsm-ts {
  255. display: flex;
  256. flex-direction: row;
  257. /* 横向排列 */
  258. color: #fff;
  259. font-size: 13px;
  260. line-height: 30px;
  261. padding-left: 8px;
  262. padding-bottom: 5px;
  263. }
  264. .lright {
  265. top:71px;
  266. font-size: 14px;
  267. color: #00E676;
  268. position: absolute;
  269. margin-top: 5px;
  270. right: 10px;
  271. }
  272. .line-item {
  273. margin-left: 5px;
  274. padding: 8px 10px;
  275. border-radius: 4px;
  276. font-size: 13px;
  277. line-height: 13px;
  278. color: #00e5ff;
  279. }
  280. .line-itemd {
  281. margin-left: 5px;
  282. padding: 8px 10px;
  283. background-color: #0099ff;
  284. border-radius: 4px;
  285. font-size: 13px;
  286. line-height: 13px;
  287. color: #fff;
  288. }
  289. .lleft {
  290. margin-left: 10px;
  291. margin-top: 5px;
  292. }
  293. .val {
  294. color: #00e5ff;
  295. font-weight: 500;
  296. }
  297. .canvas-wrap {
  298. width: 100%;
  299. height: 100%;
  300. }
  301. .fixed-images {
  302. position: absolute;
  303. left: 240px;
  304. bottom: 50px;
  305. display: flex;
  306. flex-direction: column;
  307. gap: 10px;
  308. z-index: 999;
  309. }
  310. .fixed-image {
  311. width: 50px;
  312. height: 50px;
  313. }
  314. .route-page {
  315. padding: 5px 10px;
  316. }
  317. .section-title {
  318. font-size: 13px;
  319. color: #fff;
  320. margin: 10px 0;
  321. }
  322. /* 顶部地点按钮 */
  323. .place-buttons {
  324. display: flex;
  325. flex-wrap: wrap;
  326. gap: 5px;
  327. margin-bottom: 5px;
  328. }
  329. .place-btn {
  330. background-color: #124966;
  331. padding: 8px 13px;
  332. border-radius:8px;
  333. font-size: 12px;
  334. border: 1px solid #00ffff;
  335. color: #00ffff;
  336. }
  337. /* 路线条目 */
  338. .route-list {
  339. display: flex;
  340. flex-direction: column;
  341. gap: 8px;
  342. }
  343. .route-item {
  344. background-color: rgba(22, 34, 64, 1);
  345. border: 1px solid rgba(18, 73, 102, 1);
  346. border-radius: 8px;
  347. display: flex;
  348. align-items: center;
  349. padding: 3px 7px;
  350. color: #00e5ff;
  351. }
  352. .route-item-dd {
  353. background-color: #c4e9ff;
  354. border-radius: 8px;
  355. display: flex;
  356. align-items: center;
  357. padding: 3px 7px;
  358. }
  359. /* 拖拽手柄 三条横线 */
  360. .drag-handle {
  361. width: 20px;
  362. height: 20px;
  363. line-height: 20px;
  364. border-radius: 50%;
  365. text-align: center;
  366. color: #000;
  367. align-items: center;
  368. margin-right: 13px;
  369. background-color: #00e5ff;
  370. }
  371. .drag-handle-dd {
  372. width: 20px;
  373. height: 20px;
  374. line-height: 20px;
  375. border-radius: 50%;
  376. text-align: center;
  377. color: #000;
  378. font-size: 13px;
  379. align-items: center;
  380. margin-right: 13px;
  381. background-color: #00e5ff ;
  382. }
  383. .drag-handle .line {
  384. width: 18px;
  385. background-color: #cc6600;
  386. border-radius: 1px;
  387. }
  388. /* 点位圆点 */
  389. .point-marker {
  390. width: 7px;
  391. height: 7px;
  392. border-radius: 50%;
  393. margin-left: 18px;
  394. margin-right: 8px;
  395. display: flex;
  396. align-items: center;
  397. justify-content: center;
  398. }
  399. .marker-green {
  400. background-color: #28b847;
  401. }
  402. .marker-blue {
  403. background-color: #00e5ff;
  404. }
  405. .elevator-icon {
  406. border: 1px dashed #007aff;
  407. width: 16px;
  408. height: 16px;
  409. font-size: 12px;
  410. color: #007aff;
  411. text-align: center;
  412. }
  413. .point-name {
  414. font-size: 12px;
  415. flex: 1;
  416. }
  417. .point-distance {
  418. font-size: 12px;
  419. color: #00e5ff;
  420. margin-right: 15px;
  421. }
  422. .del-btn {
  423. font-size: 18px;
  424. color: #00e5ff;
  425. }
  426. .del-img {
  427. width: 15px;
  428. height: 17px;
  429. }
  430. .rtitle {
  431. font-size: 15px;
  432. font-weight: bold;
  433. color: #fff;
  434. padding-top: 8px;
  435. padding-bottom: 8px;
  436. border-left: 3px solid #00edff;
  437. padding-left: 20px;
  438. margin-bottom: 20px;
  439. }
  440. .xhms{
  441. color: #00e676;
  442. font-size: 13px;
  443. border: 1px solid #01ffff;
  444. border-radius: 6px;
  445. padding: 5px 0;
  446. text-align: center;
  447. width: 100%;
  448. }
  449. /* 遮罩层 */
  450. .popup-mask {
  451. position: fixed;
  452. top: 0;
  453. left: 0;
  454. width: 100%;
  455. height: 100%;
  456. /* 透明遮罩,只用来点击关闭,不需要背景色;如需半透明自行添加 background:rgba(0,0,0,0.15) */
  457. background: transparent;
  458. z-index: 998;
  459. }
  460. /* 悬浮下拉弹窗 */
  461. .popup-box {
  462. position: fixed;
  463. top: 80rpx;
  464. right: 10rpx;
  465. padding: 40rpx 50rpx;
  466. background: #f2f2f2;
  467. border: 1rpx solid rgba(242, 242, 242, 1);
  468. border-radius: 10rpx;
  469. /* 柔和阴影,替换生硬阴影 */
  470. box-shadow: 0 4rpx 16rpx rgba(180, 180, 180, 0.35);
  471. z-index: 999999;
  472. overflow: hidden;
  473. }
  474. /* 菜单选项 */
  475. .itemxf {
  476. display: flex;
  477. align-items: center;
  478. justify-content: flex-start;
  479. padding: 8rpx 0;
  480. margin-bottom: 40rpx;
  481. cursor: pointer;
  482. transition: background-color 0.2s;
  483. &:last-child {
  484. margin-bottom: 0;
  485. }
  486. /* hover悬浮效果 */
  487. &:hover {
  488. background-color: #f6f7f9;
  489. }
  490. /* 当前选中地图高亮 */
  491. &.active {
  492. .fx-text {
  493. color: #007aff;
  494. }
  495. }
  496. }
  497. /* 文字样式 */
  498. .fx-text {
  499. font-size: 30rpx;
  500. line-height: 36rpx;
  501. color: #333333;
  502. }