deviceLocal.css 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480
  1. /* pages/deviceLocal/deviceLocal.wxss */
  2. .bottom-view {
  3. position: absolute;
  4. z-index: 1;
  5. width: 100%;
  6. bottom: 0;
  7. left: 0;
  8. height: 118rpx;
  9. background: rgba(255, 255, 255, 1);
  10. box-shadow: 0px -5rpx 12rpx 0rpx rgba(173, 187, 217, 0.24);
  11. }
  12. .bottom-center {
  13. width: 88rpx;
  14. height: 88rpx;
  15. background: rgba(255, 255, 255, 1);
  16. box-shadow: 0px -5rpx 12rpx 0rpx rgba(173, 187, 217, 0.24);
  17. border-radius: 50%;
  18. margin: 0 auto;
  19. margin-top: -18rpx;
  20. display: flex;
  21. align-items: center;
  22. justify-content: center;
  23. }
  24. .bottom-centent {
  25. width: 100%;
  26. height: 100%;
  27. position: absolute;
  28. top: 0;
  29. left: 0;
  30. display: flex;
  31. align-items: center;
  32. justify-content: space-around;
  33. }
  34. .sel_location_view {
  35. border: 1rpx solid #08c58b;
  36. padding-left: 16rpx;
  37. padding-right: 16rpx;
  38. padding-top: 4rpx;
  39. padding-bottom: 4rpx;
  40. margin-left: 10rpx;
  41. margin-right: 10rpx;
  42. border-radius: 8rpx;
  43. font-size: 26rpx;
  44. }
  45. .un_location_view {
  46. border: 1rpx solid rgba(179, 179, 179, 1);
  47. padding-left: 16rpx;
  48. padding-right: 16rpx;
  49. padding-top: 4rpx;
  50. padding-bottom: 4rpx;
  51. margin-left: 10rpx;
  52. margin-right: 10rpx;
  53. border-radius: 8rpx;
  54. font-size: 26rpx;
  55. }
  56. .location_mark {
  57. font-size: 28rpx;
  58. }
  59. .bottom-item {
  60. text-align: center;
  61. }
  62. .bottom-img {
  63. width: 50rpx;
  64. height: 50rpx;
  65. }
  66. .battery_num_view {
  67. height: 19rpx;
  68. width: 0rpx;
  69. background-color: #08c58b;
  70. position: fixed;
  71. right: 71rpx;
  72. }
  73. .battery_num_view_red {
  74. height: 19rpx;
  75. width: 0rpx;
  76. background-color: #ff2727;
  77. position: fixed;
  78. right: 71rpx;
  79. }
  80. .bottom-text {
  81. font-size: 18rpx;
  82. font-family: PingFang SC;
  83. font-weight: 400;
  84. color: rgba(135, 135, 135, 1);
  85. line-height: 34rpx;
  86. }
  87. .play-img {
  88. width: 92rpx;
  89. height: 92rpx;
  90. position: absolute;
  91. bottom: 330rpx;
  92. left: 20rpx;
  93. }
  94. .stop-img {
  95. width: 92rpx;
  96. height: 92rpx;
  97. position: absolute;
  98. bottom: 430rpx;
  99. left: 20rpx;
  100. }
  101. .close-img {
  102. width: 92rpx;
  103. height: 92rpx;
  104. position: absolute;
  105. bottom: 330rpx;
  106. left: 120rpx;
  107. }
  108. .fence-img {
  109. width: 92rpx;
  110. height: 92rpx;
  111. position: absolute;
  112. bottom: 120rpx;
  113. right: 20rpx;
  114. }
  115. .text_view {
  116. font-size: 24rpx;
  117. text-align: center;
  118. height: 39rpx;
  119. line-height: 39rpx;
  120. }
  121. .gps_last {
  122. width: 78rpx;
  123. height: 78rpx;
  124. border-radius: 10rpx;
  125. bottom: 220rpx;
  126. position: absolute;
  127. right: 28rpx;
  128. background-color: #ffffff;
  129. box-shadow: 3rpx 3rpx 3rpx 3rpx #cccccc;
  130. }
  131. .tip-top {
  132. position: absolute;
  133. top: 0;
  134. right: 0;
  135. width: 26rpx;
  136. height: 26rpx;
  137. background: rgba(255, 39, 39, 1);
  138. border-radius: 50%;
  139. text-align: center;
  140. font-size: 18rpx;
  141. font-family: DIN;
  142. font-weight: bold;
  143. color: rgba(255, 255, 255, 1);
  144. line-height: 26rpx;
  145. }
  146. .trace-box {
  147. width: 300rpx;
  148. height: 90rpx;
  149. position: absolute;
  150. bottom: 190rpx;
  151. left: calc(50% - 150rpx);
  152. background: rgba(255, 255, 255, 1);
  153. border-radius: 20rpx;
  154. box-shadow: 0rpx 0rpx 12rpx 0rpx rgba(173, 187, 217, 0.24);
  155. line-height: 90rpx;
  156. text-align: center;
  157. font-weight: bold;
  158. font-size: 28rpx;
  159. }
  160. .battery-group {
  161. position: fixed;
  162. z-index: 100;
  163. top: 30rpx;
  164. width: 100%;
  165. }
  166. .battery-item {
  167. background-color: #fff;
  168. border-radius: 8rpx;
  169. box-shadow: 0px 6rpx 10rpx 0px rgba(192, 192, 192, 0.16);
  170. position: relative;
  171. width: 671rpx;
  172. margin: 0 auto;
  173. }
  174. .batter-info-group {
  175. padding: 5rpx 28rpx;
  176. }
  177. .battery-desc {
  178. font-size: 22rpx;
  179. font-family: PingFang SC;
  180. font-weight: 500;
  181. color: rgba(0, 0, 0, 1);
  182. margin: 0 10rpx;
  183. margin-bottom: 22rpx;
  184. }
  185. .map-top {
  186. padding: 0 23rpx;
  187. height: 60rpx;
  188. display: flex;
  189. align-items: center;
  190. justify-content: space-between;
  191. margin-bottom: 20rpx;
  192. }
  193. .map-cross {
  194. display: flex;
  195. }
  196. .gsm-view {
  197. margin-left: 20rpx;
  198. }
  199. .map-top-box-1 {
  200. display: flex;
  201. }
  202. .map-top-box {
  203. display: flex;
  204. align-items: center;
  205. justify-content: center;
  206. }
  207. .map-top-text {
  208. font-size: 26rpx;
  209. font-family: DIN;
  210. font-weight: bold;
  211. color: rgba(0, 0, 0, 1);
  212. margin-right: 15rpx;
  213. }
  214. .map-top-text-1 {
  215. font-size: 24rpx;
  216. color: rgba(0, 0, 0, 1);
  217. margin-right: 15rpx;
  218. height: 19rpx;
  219. line-height: 19rpx;
  220. text-align: center;
  221. margin-top: 16rpx;
  222. }
  223. .map-top-i {
  224. width: 6rpx;
  225. height: 20rpx;
  226. background: rgba(17, 191, 150, 1);
  227. border-radius: 3rpx;
  228. margin-right: 5rpx;
  229. }
  230. .map-top-n {
  231. width: 6rpx;
  232. height: 20rpx;
  233. background: rgba(186, 222, 214, 1);
  234. border-radius: 3rpx;
  235. margin-right: 5rpx;
  236. }
  237. .custom-button {
  238. height: 40rpx;
  239. font-size: 26rpx;
  240. font-family: DIN;
  241. font-weight: bold;
  242. line-height: 40rpx;
  243. color: rgba(255, 255, 255, 1);
  244. background: #08c58b;
  245. border-radius: 20rpx;
  246. padding: 0 20rpx;
  247. box-shadow: 0rpx 0rpx 6rpx 0rpx rgba(173, 187, 217, 0.24);
  248. }
  249. .save-btn {
  250. width: 100%;
  251. font-size: 32rpx;
  252. font-family: PingFang SC;
  253. font-weight: 500;
  254. color: rgba(255, 255, 255, 1);
  255. text-align: center;
  256. margin: 0 auto;
  257. background: rgba(17, 191, 150, 1);
  258. border-radius: 45rpx;
  259. }
  260. .left-group {
  261. left: 17rpx;
  262. }
  263. .left-group,
  264. .right-group {
  265. position: fixed;
  266. }
  267. .left-group,
  268. .right-group {
  269. bottom: 80px;
  270. }
  271. .track_bottom {
  272. position: fixed;
  273. bottom: 140rpx;
  274. height: 180rpx;
  275. width: 100%;
  276. background-color: white;
  277. }
  278. .track_slide {
  279. height: 120rpx;
  280. width: 100%;
  281. }
  282. .track_total_time {
  283. font-size: 26rpx;
  284. padding-left: 20rpx;
  285. padding-right: 10rpx;
  286. padding-top: 30rpx;
  287. color: rgba(135, 135, 135, 1);
  288. }
  289. .fastForward_img {
  290. width: 64rpx;
  291. height: 64rpx;
  292. /* margin-top: 28rpx; */
  293. }
  294. .fastForward {
  295. margin-right: 20rpx;
  296. margin: 0 auto;
  297. }
  298. .fastForward_text {
  299. /* height: 120rpx;
  300. line-height: 120rpx; */
  301. height: 120rpx;
  302. line-height: 120rpx;
  303. text-align: center;
  304. padding: 20rpx;
  305. }
  306. .btn-ctr {
  307. margin-top: 22rpx;
  308. width: 89rpx;
  309. height: 89rpx;
  310. display: block;
  311. }
  312. .popup-black {
  313. position: fixed;
  314. bottom: 0;
  315. left: 0;
  316. z-index: 100;
  317. width: 100%;
  318. height: 100vh;
  319. background-color: rgba(0,0,0,0.4);
  320. }
  321. .popup-view {
  322. position: fixed;
  323. top: 50%;
  324. left: 50%;
  325. transform: translate(-50%, -50%);
  326. width: 90%;
  327. border-radius: 30rpx;
  328. overflow: hidden;
  329. z-index: 2;
  330. background-color: #ffffff;
  331. padding-top: 50rpx;
  332. }
  333. .time-img {
  334. margin-right: 20rpx;
  335. width: 30rpx;
  336. height: 30rpx;
  337. }
  338. .day-btn {
  339. justify-content: space-around;
  340. }
  341. .bottom-btn {
  342. justify-content: space-around;
  343. margin-top: 30rpx;
  344. }
  345. .bottom-btn view {
  346. width: 50%;
  347. padding-top: 30rpx;
  348. padding-bottom: 30rpx;
  349. border-top: 6rpx solid #f7f7f7;
  350. text-align: center;
  351. }
  352. .bottom-btn view:nth-of-type(1) {
  353. border-right: 3rpx solid #f7f7f7;
  354. }
  355. .bottom-btn view:nth-of-type(2) {
  356. border-left: 3rpx solid #f7f7f7;
  357. color: #1989fa;
  358. }
  359. .alarm-view,
  360. .fence-view,
  361. .stop-view,
  362. .time-view {
  363. position: fixed;
  364. bottom: 0;
  365. width: 100%;
  366. height: 45%;
  367. border-radius: 50rpx 50rpx 0 0;
  368. overflow: hidden;
  369. z-index: 2;
  370. background-color: #ffffff;
  371. padding-top: 40rpx;
  372. padding-bottom: 30rpx;
  373. white-space: nowrap; /* 保持项目在同一行 */
  374. overflow-y: auto;
  375. }
  376. .alarm-top,
  377. .fence-top,
  378. .stop-top {
  379. justify-content: space-between;
  380. align-items: end;
  381. padding-bottom: 20rpx;
  382. margin-left: 30rpx;
  383. margin-right: 30rpx;
  384. }
  385. .alarm-top img,
  386. .fence-top img,
  387. .stop-view img {
  388. width: 50rpx;
  389. height: 50rpx;
  390. }
  391. .alarm-content,
  392. .fence-content,
  393. .fence-config,
  394. .stop-content {
  395. border-top: 4rpx solid #f7f7f7;
  396. padding: 30rpx;
  397. }
  398. .danger-view {
  399. color: #ffffff;
  400. font-size: 24rpx;
  401. padding: 6rpx 10rpx;
  402. background-color: #ee0a24;
  403. border-radius: 5rpx;
  404. margin-right: 10rpx;
  405. }
  406. .primary-view {
  407. color: #ffffff;
  408. font-size: 24rpx;
  409. padding: 6rpx 10rpx;
  410. background-color: #1989fa;
  411. border-radius: 5rpx;
  412. }
  413. .alarm-right,
  414. .stop-right {
  415. width: 45%;
  416. white-space: break-spaces;
  417. }
  418. .fence-btn {
  419. padding: 10rpx 20rpx;
  420. background-color: #1989fa;
  421. color: #ffffff;
  422. border-radius: 5rpx;
  423. }
  424. .fence-btn img {
  425. width: 30rpx;
  426. height: 30rpx;
  427. margin-right: 15rpx;
  428. }
  429. .o-text {
  430. background-color: #ff976a;
  431. color: #ffffff;
  432. border-radius: 5rpx;
  433. padding: 5rpx 10rpx;
  434. font-size: 24rpx;
  435. margin-left: 20rpx;
  436. }