| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508 |
- .login-page {
- min-height: 100vh;
- background-color: #0C1226;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 20px;
- box-sizing: border-box;
- }
- .pw{
- font-size: 12px;
- color: #8b949e;
- padding-left: 5px;
- }
- /* 登录卡片:PC默认40%,设置最大最小宽度,防止平板过窄 */
- .login-card {
- width: 40%;
- min-width: 340px;
- max-width: 600px;
- background-color: #10172b;
- border: 2px solid #124966;
- border-radius: 10px;
- padding: 40px 32px;
- box-sizing: border-box;
- box-shadow: 1px 1px 1px rgba(0, 255, 255, 1);
- }
- /* 品牌标题 */
- .brand {
- margin-bottom: 24px;
- text-align: center;
- }
- .brand-cn {
- color: #00edff;
- display: block;
- font-size: 36px;
- font-weight: bold;
- line-height: 50px;
- }
- .brand-sub {
- display: block;
- margin-top: 4px;
- font-size: 16px;
- color: #8B949E;
- }
- /* 表单项 */
- .form-item {
- margin-bottom: 16px;
- }
- .form-row {
- display: flex;
- justify-content: space-between;
- gap:16px;
- }
- .half {
- width: 48%;
- }
- .label {
- display: block;
- font-weight: 700;
- font-size:14px;
- color:#00EDFF;
- margin-bottom: 6px;
- }
- /* 输入框 */
- .input {
- height: 50px;
- line-height: 50px;
- padding: 0 12px;
- font-size: 14px;
- color: #fff;
- background-color: #0C1226;
- border: 1px solid #124966;
- border-radius: 5px;
- box-sizing: border-box;
- }
- .placeholder {
- color: #8b949e;
- }
- /* IP + 配网 */
- .ip-row {
- display: flex;
- align-items: center;
- }
- .flex-1 {
- flex: 1;
- }
- .btn-pw {
- margin-left: 8px;
- height: 50px;
- line-height: 50px;
- padding: 0 15px;
- font-size: 13px;
- color: #00edff;
- border: 1px solid #124966;
- border-radius: 5px;
- }
- /* 下拉选择 */
- .select {
- display: flex;
- align-items: center;
- justify-content: space-between;
- height: 50px;
- padding: 0 12px;
- font-size: 14px;
- color: #fff;
- border: 1px solid #124966;
- border-radius: 5px;
- box-sizing: border-box;
- }
- .select-text {
- flex: 1;
- }
- .arrow {
- color: #8b949e;
- }
- /* 进入系统按钮(渐变) */
- .btn-submit {
- margin-top: 22px;
- height: 48px;
- line-height: 48px;
- text-align: center;
- font-size: 18px;
- color: #fff;
- border-radius: 10px;
- background: linear-gradient(90deg, rgba(0, 229, 255, 1) 0%, rgba(124, 77, 255, 1) 100%);
- }
- /* ========== 媒体查询:iPad竖屏(宽度 <= 768px)========== */
- @media screen and (max-width:768px){
- .login-card{
- width: 90%;
- padding:30px 24px;
- }
- .brand-cn{
- font-size:28px;
- line-height:40px;
- }
- /* 两列表单改成单列 */
- .form-row{
- flex-direction: column;
- gap:16px;
- }
- .half{
- width:100%;
- }
- /* 增大触摸区域,平板更容易点击 */
- .input,.select{
- height:52px;
- line-height:52px;
- }
- .btn-submit{
- height:52px;
- line-height:52px;
- }
- }
- /* 下面原有其余样式保持原样,我只截取改动部分,你把原来剩下的css直接保留 */
- .loading-modal {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.5);
- display: flex;
- justify-content: center;
- align-items: center;
- z-index: 9999;
- }
- .loading-content {
- background: white;
- border-radius: 10px;
- padding: 20px;
- display: flex;
- flex-direction: column;
- align-items: center;
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
- }
- .loading-spinner {
- width: 30px;
- height: 30px;
- border: 3px solid #f3f3f3;
- border-top: 3px solid #667eea;
- border-radius: 50%;
- animation: spin 1s linear infinite;
- margin-bottom: 10px;
- }
- @keyframes spin {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(360deg);
- }
- }
- .loading-text {
- font-size: 14px;
- color: #333;
- }
- .logo {
- margin-top: 6px;
- width: 30px;
- height: 34px;
- margin-left: 8px;
- }
- .jt {
- margin-top: 9px;
- width: 12px;
- height: 12px;
- margin-left: 3px;
- }
- .canvas {
- /* 不要写死1000px,占满父容器 */
- width: 100%;
- height: 100%;
- display: block;
- }
- .item-line {
- width: 12px;
- height: 5px;
- }
- .xs-font {
- font-size: 12px;
- color: #FFFF00;
- }
- .text {
- font-size: 17px;
- color: #999999;
- }
- .bottom-buttonx {
- width: 15%;
- 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%);
- color: #000;
- border-radius: 5px;
- height: 40px;
- line-height: 40px;
- font-size: 16px;
- border: none;
- position: absolute;
- bottom: 40px;
- }
- .bottom-button-xh {
- margin-top: 5px;
- background-color: #00e5ff;
- width: 80px;
- height: 25px;
- line-height: 25px;
- font-size: 12px;
- color: #000;
- }
- .cxsm {
- color: #FFFF00;
- padding-bottom: 10px;
- padding: 10px 5px;
- }
- .cxsm-ts {
- display: flex;
- flex-direction: row;
- /* 横向排列 */
- color: #fff;
- font-size: 13px;
- line-height: 30px;
- padding-left: 8px;
- padding-bottom: 5px;
- }
- .lright {
- top:71px;
- font-size: 14px;
- color: #00E676;
- position: absolute;
- margin-top: 5px;
- right: 10px;
- }
- .line-item {
- margin-left: 5px;
- padding: 8px 10px;
- border-radius: 4px;
- font-size: 13px;
- line-height: 13px;
- color: #00e5ff;
- }
- .line-itemd {
- margin-left: 5px;
- padding: 8px 10px;
- background-color: #0099ff;
- border-radius: 4px;
- font-size: 13px;
- line-height: 13px;
- color: #fff;
- }
- .lleft {
- margin-left: 10px;
- margin-top: 5px;
- }
-
- .val {
- color: #00e5ff;
- font-weight: 500;
- }
- .canvas-wrap {
- width: 100%;
- height: 100%;
- }
- .fixed-images {
- position: absolute;
- left: 240px;
- bottom: 50px;
- display: flex;
- flex-direction: column;
- gap: 10px;
- z-index: 999;
- }
- .fixed-image {
- width: 50px;
- height: 50px;
- }
- .route-page {
- padding: 5px 10px;
- }
- .section-title {
- font-size: 13px;
- color: #fff;
- margin: 10px 0;
- }
- /* 顶部地点按钮 */
- .place-buttons {
- display: flex;
- flex-wrap: wrap;
- gap: 5px;
- margin-bottom: 5px;
- }
- .place-btn {
- background-color: #124966;
- padding: 8px 13px;
- border-radius:8px;
- font-size: 12px;
- border: 1px solid #00ffff;
- color: #00ffff;
- }
- /* 路线条目 */
- .route-list {
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
- .route-item {
- background-color: rgba(22, 34, 64, 1);
- border: 1px solid rgba(18, 73, 102, 1);
- border-radius: 8px;
- display: flex;
- align-items: center;
- padding: 3px 7px;
- color: #00e5ff;
- }
- .route-item-dd {
- background-color: #c4e9ff;
- border-radius: 8px;
- display: flex;
- align-items: center;
- padding: 3px 7px;
- }
- /* 拖拽手柄 三条横线 */
- .drag-handle {
- width: 20px;
- height: 20px;
- line-height: 20px;
- border-radius: 50%;
- text-align: center;
- color: #000;
- align-items: center;
- margin-right: 13px;
- background-color: #00e5ff;
- }
- .drag-handle-dd {
- width: 20px;
- height: 20px;
- line-height: 20px;
- border-radius: 50%;
- text-align: center;
- color: #000;
- font-size: 13px;
- align-items: center;
- margin-right: 13px;
- background-color: #00e5ff ;
- }
- .drag-handle .line {
- width: 18px;
- background-color: #cc6600;
- border-radius: 1px;
- }
- /* 点位圆点 */
- .point-marker {
- width: 7px;
- height: 7px;
- border-radius: 50%;
- margin-left: 18px;
- margin-right: 8px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .marker-green {
- background-color: #28b847;
- }
- .marker-blue {
- background-color: #00e5ff;
- }
- .elevator-icon {
- border: 1px dashed #007aff;
- width: 16px;
- height: 16px;
- font-size: 12px;
- color: #007aff;
- text-align: center;
- }
- .point-name {
- font-size: 12px;
- flex: 1;
- }
- .point-distance {
- font-size: 12px;
- color: #00e5ff;
- margin-right: 15px;
- }
- .del-btn {
- font-size: 18px;
- color: #00e5ff;
- }
- .del-img {
- width: 15px;
- height: 17px;
- }
- .rtitle {
- font-size: 15px;
- font-weight: bold;
- color: #fff;
- padding-top: 8px;
- padding-bottom: 8px;
- border-left: 3px solid #00edff;
- padding-left: 20px;
- margin-bottom: 20px;
- }
- .xhms{
- color: #00e676;
- font-size: 13px;
- border: 1px solid #01ffff;
- border-radius: 6px;
- padding: 5px 0;
- text-align: center;
- width: 100%;
- }
- /* 遮罩层 */
- .popup-mask {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- /* 透明遮罩,只用来点击关闭,不需要背景色;如需半透明自行添加 background:rgba(0,0,0,0.15) */
- background: transparent;
- z-index: 998;
- }
-
- /* 悬浮下拉弹窗 */
- .popup-box {
- position: fixed;
- top: 80rpx;
- right: 10rpx;
- padding: 40rpx 50rpx;
- background: #f2f2f2;
- border: 1rpx solid rgba(242, 242, 242, 1);
- border-radius: 10rpx;
- /* 柔和阴影,替换生硬阴影 */
- box-shadow: 0 4rpx 16rpx rgba(180, 180, 180, 0.35);
- z-index: 999999;
- overflow: hidden;
- }
-
- /* 菜单选项 */
- .itemxf {
- display: flex;
- align-items: center;
- justify-content: flex-start;
- padding: 8rpx 0;
- margin-bottom: 40rpx;
- cursor: pointer;
- transition: background-color 0.2s;
- &:last-child {
- margin-bottom: 0;
- }
- /* hover悬浮效果 */
- &:hover {
- background-color: #f6f7f9;
- }
- /* 当前选中地图高亮 */
- &.active {
- .fx-text {
- color: #007aff;
- }
- }
- }
-
- /* 文字样式 */
- .fx-text {
- font-size: 30rpx;
- line-height: 36rpx;
- color: #333333;
- }
|