.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: 20rpx; padding: 40rpx; display: flex; flex-direction: column; align-items: center; box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.2); } .loading-spinner { width: 60rpx; height: 60rpx; border: 6rpx solid #f3f3f3; border-top: 6rpx solid #667eea; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 20rpx; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .loading-text { font-size: 28rpx; color: #333; } .xs-font{ font-size: 24rpx; color: #0099FF; padding-left: 40rpx; } .xs-font-red{ font-size: 24rpx; color: #FFFF00; padding-left: 40rpx; } .sc{ color: #797979; } .addlogo{ margin-top: 12rpx; width: 60rpx; height: 34rpx; margin-left: 16rpx; } .contentDh{ } .container { background-image: url('@/static/bg.png'); /* 背景图片路径 */ display: flex; justify-content: center; align-items: center; height: 70vh; background-color: #162240; } .fixed-images { position: fixed; right: 40rpx; bottom: 600rpx; display: flex; flex-direction: column; gap: 20rpx; z-index: 999; } .fixed-image { width: 60rpx; height: 60rpx; } .containerDh { background-color: #162240; } .content { background-color: #162240; position: relative; width: 100%; /* 水平居中 */ display: flex; justify-content: center; overflow: hidden; } .canvas-wrap { width: 100%; height: 1000rpx; overflow: hidden; } .logo{ width: 60rpx; height: 34rpx; margin-right: 8rpx; } .text { font-size: 34rpx; color: #00e5ff; } .footer { position: fixed; bottom: 0; left: 0; right: 0; z-index: 99; } .bottom-button { border-radius: 20rpx; background-color:#00e5ff; width: 95%; height: 70rpx; line-height: 70rpx; font-size: 30rpx; color: #000; font-weight: bold; } .cxsm{ color: #FFFF00; padding-bottom: 20rpx; } .cxsm-ts{ color:#797979; font-size: 26rpx; line-height: 60rpx; padding-left: 16rpx; } .line{ padding-top: 10rpx; display: flex; flex-direction: row; gap: 6rpx; /* 改成组与组间距,三组(图标+文字)之间距离 */ align-items: center; padding-bottom: 10rpx; } .item-logo{ width: 24rpx; height: 24rpx; display: block; /* 关键修复uni-app image对齐 */ vertical-align: middle; flex-shrink: 0; } .item-font{ color: #fff; font-size: 24rpx; } .line-item{ margin-left: 10rpx; padding: 16rpx 10rpx; background-color: #fff; border-radius: 8rpx; font-size: 26rpx; line-height: 26rpx; color: #000; } .line-item-dis{ margin-left: 10rpx; padding: 16rpx 10rpx; background-color: #b0b0b0; border-radius: 8rpx; font-size: 26rpx; line-height: 26rpx; color: #fff; } .lleft{ margin-left: 20rpx; margin-top: 8rpx; } .jt{ margin-top: 18rpx; width: 24rpx; height: 24rpx; margin-left: 5rpx; } .tet { display: flex; justify-content: center; align-items: flex-start; margin-top: 60rpx; } .input { margin-left: 40rpx; width: 60%; font-size: 28rpx; margin-bottom: 20rpx; padding: 20rpx; border: 2rpx solid #ccc; border-radius: 10rpx; } .tet_font { display: flex; justify-content: center; align-items: flex-start; margin-top: 30rpx; } .close-btn { position: absolute; top: 20rpx; right: 20rpx; cursor: pointer; } .blue-button { width: 100%; background-color: #00e5ff; /* uni-app主题色 */ color: #000; border: none; border-radius: 10rpx; } .rec-btn{ position: absolute; padding: 16rpx; width: 80rpx; height: 80rpx; border-radius: 50%; background-color: #ff6633; color: #fff; font-size: 24rpx; line-height: 34rpx; z-index: 999; top:20%; /* 居中方案 */ display: flex; align-items: center; justify-content: center; text-align: center; /* 多行居中 */ /* 加个平滑动画更舒服 */ transition: all 0.3s ease; } .gre-btn{ position: absolute; padding: 16rpx; width: 60rpx; height: 60rpx; border-radius: 50%; background-color: #07c160; color: #fff; font-size: 24rpx; line-height: 34rpx; z-index: 999; top:30%; /* 居中方案 */ display: flex; align-items: center; justify-content: center; text-align: center; /* 多行居中 */ /* 加个平滑动画更舒服 */ transition: all 0.3s ease; } .canvas { /* 不要写死1000px,占满父容器 */ width: 100%; height: 100%; background: #f8f8f8; display: block; } .func-panel { background-color: #000; border-radius: 10rpx; padding: 10rpx 0rpx; margin: 10rpx 0rpx; } .func-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24rpx 0rpx; } .func-item { display: flex; flex-direction: column; align-items: center; } .circle-icon { width: 80rpx; height: 80rpx; display: flex; align-items: center; justify-content: center; margin-bottom: 6rpx; } .item-text { font-size: 22rpx; color: #00e5ff; } /* 遮罩层 */ .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; }