index-old.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. .loading-modal {
  2. position: fixed;
  3. top: 0;
  4. left: 0;
  5. width: 100%;
  6. height: 100%;
  7. background: rgba(0, 0, 0, 0.5);
  8. display: flex;
  9. justify-content: center;
  10. align-items: center;
  11. z-index: 9999;
  12. }
  13. .loading-content {
  14. background: white;
  15. border-radius: 20rpx;
  16. padding: 40rpx;
  17. display: flex;
  18. flex-direction: column;
  19. align-items: center;
  20. box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.2);
  21. }
  22. .loading-spinner {
  23. width: 60rpx;
  24. height: 60rpx;
  25. border: 6rpx solid #f3f3f3;
  26. border-top: 6rpx solid #667eea;
  27. border-radius: 50%;
  28. animation: spin 1s linear infinite;
  29. margin-bottom: 20rpx;
  30. }
  31. @keyframes spin {
  32. 0% { transform: rotate(0deg); }
  33. 100% { transform: rotate(360deg); }
  34. }
  35. .loading-text {
  36. font-size: 28rpx;
  37. color: #333;
  38. }
  39. .xs-font{
  40. font-size: 24rpx;
  41. color: #0099FF;
  42. padding-left: 40rpx;
  43. }
  44. .xs-font-red{
  45. font-size: 24rpx;
  46. color: #FFFF00;
  47. padding-left: 40rpx;
  48. }
  49. .sc{
  50. color: #797979;
  51. }
  52. .addlogo{
  53. margin-top: 12rpx;
  54. width: 60rpx;
  55. height: 34rpx;
  56. margin-left: 16rpx;
  57. }
  58. .contentDh{
  59. }
  60. .container {
  61. background-image: url('@/static/bg.png'); /* 背景图片路径 */
  62. display: flex;
  63. justify-content: center;
  64. align-items: center;
  65. height: 70vh;
  66. background-color: #162240;
  67. }
  68. .fixed-images {
  69. position: fixed;
  70. right: 40rpx;
  71. bottom: 600rpx;
  72. display: flex;
  73. flex-direction: column;
  74. gap: 20rpx;
  75. z-index: 999;
  76. }
  77. .fixed-image {
  78. width: 60rpx;
  79. height: 60rpx;
  80. }
  81. .containerDh {
  82. background-color: #162240;
  83. }
  84. .content {
  85. background-color: #162240;
  86. position: relative;
  87. width: 100%;
  88. /* 水平居中 */
  89. display: flex;
  90. justify-content: center;
  91. overflow: hidden;
  92. }
  93. .canvas-wrap {
  94. width: 100%;
  95. height: 1000rpx;
  96. overflow: hidden;
  97. }
  98. .logo{
  99. width: 60rpx;
  100. height: 34rpx;
  101. margin-right: 8rpx;
  102. }
  103. .text {
  104. font-size: 34rpx;
  105. color: #00e5ff;
  106. }
  107. .footer {
  108. position: fixed;
  109. bottom: 0;
  110. left: 0;
  111. right: 0;
  112. z-index: 99;
  113. }
  114. .bottom-button {
  115. border-radius: 20rpx;
  116. background-color:#00e5ff;
  117. width: 95%;
  118. height: 70rpx;
  119. line-height: 70rpx;
  120. font-size: 30rpx;
  121. color: #000;
  122. font-weight: bold;
  123. }
  124. .cxsm{
  125. color: #FFFF00;
  126. padding-bottom: 20rpx;
  127. }
  128. .cxsm-ts{
  129. color:#797979;
  130. font-size: 26rpx;
  131. line-height: 60rpx;
  132. padding-left: 16rpx;
  133. }
  134. .line{
  135. padding-top: 10rpx;
  136. display: flex;
  137. flex-direction: row;
  138. gap: 6rpx; /* 改成组与组间距,三组(图标+文字)之间距离 */
  139. align-items: center;
  140. padding-bottom: 10rpx;
  141. }
  142. .item-logo{
  143. width: 24rpx;
  144. height: 24rpx;
  145. display: block;
  146. /* 关键修复uni-app image对齐 */
  147. vertical-align: middle;
  148. flex-shrink: 0;
  149. }
  150. .item-font{
  151. color: #fff;
  152. font-size: 24rpx;
  153. }
  154. .line-item{
  155. margin-left: 10rpx;
  156. padding: 16rpx 10rpx;
  157. background-color: #fff;
  158. border-radius: 8rpx;
  159. font-size: 26rpx;
  160. line-height: 26rpx;
  161. color: #000;
  162. }
  163. .line-item-dis{
  164. margin-left: 10rpx;
  165. padding: 16rpx 10rpx;
  166. background-color: #b0b0b0;
  167. border-radius: 8rpx;
  168. font-size: 26rpx;
  169. line-height: 26rpx;
  170. color: #fff;
  171. }
  172. .lleft{
  173. margin-left: 20rpx;
  174. margin-top: 8rpx;
  175. }
  176. .jt{
  177. margin-top: 18rpx;
  178. width: 24rpx;
  179. height: 24rpx;
  180. margin-left: 5rpx;
  181. }
  182. .tet {
  183. display: flex;
  184. justify-content: center;
  185. align-items: flex-start;
  186. margin-top: 60rpx;
  187. }
  188. .input {
  189. margin-left: 40rpx;
  190. width: 60%;
  191. font-size: 28rpx;
  192. margin-bottom: 20rpx;
  193. padding: 20rpx;
  194. border: 2rpx solid #ccc;
  195. border-radius: 10rpx;
  196. }
  197. .tet_font {
  198. display: flex;
  199. justify-content: center;
  200. align-items: flex-start;
  201. margin-top: 30rpx;
  202. }
  203. .close-btn {
  204. position: absolute;
  205. top: 20rpx;
  206. right: 20rpx;
  207. cursor: pointer;
  208. }
  209. .blue-button {
  210. width: 100%;
  211. background-color: #00e5ff; /* uni-app主题色 */
  212. color: #000;
  213. border: none;
  214. border-radius: 10rpx;
  215. }
  216. .rec-btn{
  217. position: absolute;
  218. padding: 16rpx;
  219. width: 80rpx;
  220. height: 80rpx;
  221. border-radius: 50%;
  222. background-color: #ff6633;
  223. color: #fff;
  224. font-size: 24rpx;
  225. line-height: 34rpx;
  226. z-index: 999;
  227. top:20%;
  228. /* 居中方案 */
  229. display: flex;
  230. align-items: center;
  231. justify-content: center;
  232. text-align: center; /* 多行居中 */
  233. /* 加个平滑动画更舒服 */
  234. transition: all 0.3s ease;
  235. }
  236. .gre-btn{
  237. position: absolute;
  238. padding: 16rpx;
  239. width: 60rpx;
  240. height: 60rpx;
  241. border-radius: 50%;
  242. background-color: #07c160;
  243. color: #fff;
  244. font-size: 24rpx;
  245. line-height: 34rpx;
  246. z-index: 999;
  247. top:30%;
  248. /* 居中方案 */
  249. display: flex;
  250. align-items: center;
  251. justify-content: center;
  252. text-align: center; /* 多行居中 */
  253. /* 加个平滑动画更舒服 */
  254. transition: all 0.3s ease;
  255. }
  256. .canvas {
  257. /* 不要写死1000px,占满父容器 */
  258. width: 100%;
  259. height: 100%;
  260. background: #f8f8f8;
  261. display: block;
  262. }
  263. .func-panel {
  264. background-color: #000;
  265. border-radius: 10rpx;
  266. padding: 10rpx 0rpx;
  267. margin: 10rpx 0rpx;
  268. }
  269. .func-grid {
  270. display: grid;
  271. grid-template-columns: repeat(4, 1fr);
  272. gap: 24rpx 0rpx;
  273. }
  274. .func-item {
  275. display: flex;
  276. flex-direction: column;
  277. align-items: center;
  278. }
  279. .circle-icon {
  280. width: 80rpx;
  281. height: 80rpx;
  282. display: flex;
  283. align-items: center;
  284. justify-content: center;
  285. margin-bottom: 6rpx;
  286. }
  287. .item-text {
  288. font-size: 22rpx;
  289. color: #00e5ff;
  290. }
  291. /* 遮罩层 */
  292. .popup-mask {
  293. position: fixed;
  294. top: 0;
  295. left: 0;
  296. width: 100%;
  297. height: 100%;
  298. /* 透明遮罩,只用来点击关闭,不需要背景色;如需半透明自行添加 background:rgba(0,0,0,0.15) */
  299. background: transparent;
  300. z-index: 998;
  301. }
  302. /* 悬浮下拉弹窗 */
  303. .popup-box {
  304. position: fixed;
  305. top: 80rpx;
  306. right: 10rpx;
  307. padding: 40rpx 50rpx;
  308. background: #f2f2f2;
  309. border: 1rpx solid rgba(242, 242, 242, 1);
  310. border-radius: 10rpx;
  311. /* 柔和阴影,替换生硬阴影 */
  312. box-shadow: 0 4rpx 16rpx rgba(180, 180, 180, 0.35);
  313. z-index: 999999;
  314. overflow: hidden;
  315. }
  316. /* 菜单选项 */
  317. .itemxf {
  318. display: flex;
  319. align-items: center;
  320. justify-content: flex-start;
  321. padding: 8rpx 0;
  322. margin-bottom: 40rpx;
  323. cursor: pointer;
  324. transition: background-color 0.2s;
  325. &:last-child {
  326. margin-bottom: 0;
  327. }
  328. /* hover悬浮效果 */
  329. &:hover {
  330. background-color: #f6f7f9;
  331. }
  332. /* 当前选中地图高亮 */
  333. &.active {
  334. .fx-text {
  335. color: #007aff;
  336. }
  337. }
  338. }
  339. /* 文字样式 */
  340. .fx-text {
  341. font-size: 30rpx;
  342. line-height: 36rpx;
  343. color: #333333;
  344. }