index.less 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694
  1. .positionPage {
  2. background-color: rgba(255, 255, 255, 1);
  3. position: relative;
  4. // overflow: hidden;
  5. .listBox {
  6. width: 100%;
  7. .positionBox1 {
  8. .searchRow {
  9. padding: 0.5rem 0.5rem;
  10. .bd3 {
  11. width: 2.1rem;
  12. // height: 16px;
  13. .outer4 {
  14. width: 0.4rem;
  15. height: 0.4rem;
  16. background: url("../../assets/home/positionIcon.png") top center no-repeat;
  17. background-size: 100%;
  18. }
  19. .outer2 {
  20. width: 16px;
  21. height: 16px;
  22. background: url("../../assets/position/hisBillIcon.png") top center no-repeat;
  23. background-size: 100%;
  24. }
  25. .txt2 {
  26. // width: 65px;
  27. // height: 15px;
  28. overflow-wrap: break-word;
  29. color: rgba(64, 77, 116, 1);
  30. font-size: 0.4rem;
  31. font-family: 'Noto Sans SC', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  32. font-weight: bold;
  33. text-align: left;
  34. white-space: nowrap;
  35. line-height: 0.4rem;
  36. display: block;
  37. }
  38. }
  39. .main5 {
  40. width: auto;
  41. cursor: pointer;
  42. .label2 {
  43. width: 0.5rem;
  44. height: 0.5rem;
  45. margin-right: 5px;
  46. }
  47. }
  48. }
  49. .pic1 {
  50. width: 100%;
  51. height: 2px;
  52. }
  53. .holdings {
  54. /* 父元素宽度的10%作为左右边距 */
  55. padding-left: 10%;
  56. padding-right: 10%;
  57. margin-left: 2%;
  58. margin-right: 2%;
  59. border: 2px solid transparent;
  60. border-radius: 10px; /* 设置圆角的半径 */
  61. background-clip: padding-box, border-box;
  62. background-origin: padding-box, border-box;
  63. background-image: linear-gradient(to right, #fff, #fff), linear-gradient(90deg, #f561a1, #ff9a5c);
  64. padding: 0 10%;
  65. overflow: hidden;
  66. }
  67. /* 使用 /deep/ 或 ::v-deep 来确保样式穿透组件的作用域 */
  68. .holdings ::v-deep .van-cell {
  69. --van-cell-text-color: #f561a1; /* 覆盖文本颜色为蓝色 */
  70. }
  71. /* 如果您需要为值(value)设置不同的颜色,可以覆盖 van-cell__value 的颜色 */
  72. .holdings ::v-deep .van-cell__value {
  73. color: #f89947; /* 例如,设置为红色 */
  74. }
  75. .o-ptb-20 {
  76. padding-top: 5px;
  77. padding-bottom: 10px;
  78. .bd1 {
  79. width: 100%;
  80. // height: 108px;
  81. background: url(../../assets/home/outer.png) no-repeat;
  82. background-size: 100% 100%;
  83. padding: 0.6rem 0.2rem;
  84. .box2 {
  85. // width: 100%;
  86. // height: 100%;
  87. .TextGroup {
  88. height: 57px;
  89. width: 48px;
  90. .main6 {
  91. width: 48px;
  92. height: 57px;
  93. .word5 {
  94. height: 26px;
  95. overflow-wrap: break-word;
  96. color: #ff5d88;
  97. font-size: 22px;
  98. font-family: Helvetica;
  99. text-align: center;
  100. white-space: nowrap;
  101. line-height: 26px;
  102. display: block;
  103. }
  104. .word6 {
  105. height: 17px;
  106. overflow-wrap: break-word;
  107. color: #39a6fe;
  108. font-size: 12px;
  109. text-align: center;
  110. white-space: nowrap;
  111. line-height: 17px;
  112. margin-top: 14px;
  113. display: block;
  114. }
  115. .green-color {
  116. color: #2ce39d;
  117. }
  118. }
  119. }
  120. }
  121. }
  122. }
  123. }
  124. .positionBox2 {
  125. width: 100%;
  126. .section1 {
  127. background-color: rgba(255, 255, 255, 1);
  128. margin-top: 1px;
  129. width: 100%;
  130. .outer1 {
  131. width: 100%;
  132. .bd1 {
  133. width: 100%;
  134. // height: 15px;
  135. .layer1 {
  136. background-color: #8096ec;
  137. border-radius: 2px;
  138. width: 4px;
  139. height: 12px;
  140. // margin-top: 4px;
  141. }
  142. .txtBox {
  143. width: 7rem;
  144. // overflow: auto;
  145. .txt1 {
  146. white-space: nowrap;
  147. color: rgba(64, 77, 116, 1);
  148. font-size: 0.4rem;
  149. font-family: PingFangSC-Medium;
  150. text-align: left;
  151. line-height: 0.7rem;
  152. display: block;
  153. margin: 0 0 0 6px;
  154. // overflow: hidden;
  155. white-space: normal;
  156. text-overflow: ellipsis;
  157. }
  158. }
  159. .layer2 {
  160. height: 0.6rem;
  161. background: url("../../assets/device/powerOff.png") 100% no-repeat;
  162. background-size: 100%;
  163. width: 0.6rem;
  164. // margin-left: 30px;
  165. &.layerLeft {
  166. margin-left: 5px;
  167. }
  168. &.deviceOn {
  169. background: url("../../assets/device/powerOn.png") 100% no-repeat;
  170. background-size: 100%;
  171. }
  172. }
  173. .flash-icon {
  174. animation: blink-animation 0.5s infinite; // 定义闪烁动画,1s表示1秒,infinite表示无限循环
  175. }
  176. @keyframes blink-animation {
  177. 0% {
  178. opacity: 1; // 初始状态完全显示
  179. }
  180. 50% {
  181. opacity: 0; // 中间状态隐藏
  182. }
  183. 100% {
  184. opacity: 1; // 结束状态完全显示
  185. }
  186. }
  187. .box4 {
  188. height: 0.7rem;
  189. background: url("../../assets/device/alarm.png") 100% no-repeat;
  190. background-size: 100%;
  191. width: 0.7rem;
  192. }
  193. }
  194. .txt1 {
  195. width: 100%;
  196. color: rgba(64, 77, 116, 1);
  197. font-size: 0.375rem;
  198. line-height: 0.5rem;;
  199. display: flex;
  200. align-items: center;
  201. }
  202. .pic1 {
  203. width: 100%;
  204. height: 2px;
  205. // margin-top: 19px;
  206. }
  207. .contentBottomCon {
  208. background-color: #e7e7e7;
  209. border-radius: 15px;
  210. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 阴影效果 */
  211. padding: 5px 5px;
  212. .contentWord {
  213. width: 100%;
  214. padding: 10px 10px;
  215. color: rgba(64, 77, 116, 1);
  216. font-size: 0.375rem;
  217. text-align: left;
  218. flex-wrap: wrap;
  219. line-height: 0.375rem;
  220. display: flex;
  221. align-items: center;
  222. .word10 {
  223. width: 65%
  224. // display: block;
  225. }
  226. .word2 {
  227. width: 75%;
  228. padding: 0 0;
  229. .van-cell--center {
  230. background-color: #e7e7e7;
  231. }
  232. .van-field__control {
  233. border: 0.5px solid #ccc;
  234. background-color: #fff;
  235. padding: 2px 5px;
  236. border-radius: 3px;
  237. // width: 40%;
  238. /* 添加边框 */
  239. }
  240. .van-field__body {
  241. background-color: #e7e7e7;
  242. }
  243. }
  244. .word3 {
  245. width: 50%;
  246. // padding: 0 0;
  247. margin-right: 10px;
  248. line-height: 0.5rem;
  249. }
  250. .editIcon {
  251. color: #4d6add;
  252. // padding: 0 0 0 5px;
  253. }
  254. .btn {
  255. justify-content: flex-end;
  256. }
  257. .clickable-link {
  258. // text-decoration: underline;
  259. cursor: pointer;
  260. font-size: 0.375rem;
  261. width: 80%;
  262. // display: flex;
  263. // flex-wrap: wrap;
  264. // padding-right: 1rem;
  265. // margin-right: 1rem;
  266. line-height: 0.5rem;;
  267. }
  268. }
  269. // .word11 {
  270. // width: 95%;
  271. // padding: 10px 10px;
  272. // // overflow-wrap: break-word;
  273. // color: rgba(64, 77, 116, 1);
  274. // font-size: 14px;
  275. // text-align: left;
  276. // // white-space: nowrap;
  277. // // text-overflow: ellipsis;
  278. // line-height: 14px;
  279. // display: flex;
  280. // align-items: center;
  281. // // justify-content: space-between;
  282. // .word12 {
  283. // width: 65%;
  284. // }
  285. // }
  286. .van-button--primary {
  287. background-color: #4d6add;
  288. padding: 0 5px;
  289. margin: 0 5px 0 0;
  290. height: 30px !important;
  291. }
  292. .layer2 {
  293. width: 100%;
  294. }
  295. .layer3 {
  296. width: 100%;
  297. display: flex;
  298. align-items: center;
  299. .word1 {
  300. text-overflow: ellipsis;
  301. width: 100%;
  302. font-size: 14px;
  303. }
  304. .word3 {
  305. color: rgba(64, 77, 116, 1);
  306. width: 70%;
  307. }
  308. .editIcon {
  309. color: #4d6add;
  310. padding: 0 0 0px 5px;
  311. }
  312. }
  313. .layer5 {
  314. // width: 100%;
  315. padding: 10px 10px;
  316. .word5 {
  317. // width: 33.33%;
  318. // overflow-wrap: break-word;
  319. color: rgba(64, 77, 116, 1);
  320. font-size: 0.375rem;
  321. // text-align: left;
  322. // line-height: 0.8rem;
  323. // display: block;
  324. }
  325. // .word6 {
  326. // // width: 33.33%;
  327. // overflow-wrap: break-word;
  328. // color: rgba(64, 77, 116, 1);
  329. // font-size: 14px;
  330. // line-height: 13px;
  331. // display: block;
  332. // }
  333. }
  334. .info1 {
  335. overflow-wrap: break-word;
  336. color: rgba(64, 77, 116, 1);
  337. font-size: 14px;
  338. text-align: left;
  339. white-space: nowrap;
  340. display: block;
  341. }
  342. .info2 {
  343. overflow-wrap: break-word;
  344. color: rgba(64, 77, 116, 1);
  345. font-size: 14px;
  346. text-align: left;
  347. white-space: nowrap;
  348. display: block;
  349. }
  350. .info3 {
  351. overflow-wrap: break-word;
  352. color: rgba(64, 77, 116, 1);
  353. font-size: 14px;
  354. text-align: left;
  355. white-space: nowrap;
  356. }
  357. .info4 {
  358. width: 60%;
  359. }
  360. .info5 {
  361. overflow-wrap: break-word;
  362. word-wrap: break-word;
  363. color: rgba(64, 77, 116, 1);
  364. font-size: 14px;
  365. text-align: left;
  366. max-width: 100%;
  367. }
  368. .editDeviceBtnCon {
  369. .box2 {
  370. width: 0.5rem;
  371. height: 0.5rem;
  372. background: url("../../assets/order/gotoRight.png") no-repeat;
  373. background-size: 100%;
  374. // margin-top: 0.2rem;
  375. }
  376. .c-text-14 {
  377. display: inline-block;
  378. /* 将行内文本转为块级元素 */
  379. padding: 0.1rem 0.5rem;
  380. /* 添加内边距 */
  381. background-color: #df5e4c;
  382. border-radius: 0.5rem;
  383. /* 添加圆角效果 */
  384. color: #fff;
  385. /* 设置文本颜色 */
  386. cursor: pointer;
  387. /* 设置光标样式 */
  388. }
  389. }
  390. .bd8 {
  391. width: 345px;
  392. height: 18px;
  393. margin: 20px 0 0 15px;
  394. .outer5 {
  395. background-color: rgba(128, 150, 236, 1);
  396. border-radius: 2px;
  397. width: 4px;
  398. height: 12px;
  399. margin-top: 4px;
  400. }
  401. .txt6 {
  402. width: 176px;
  403. height: 13px;
  404. overflow-wrap: break-word;
  405. color: rgba(64, 77, 116, 1);
  406. font-size: 14px;
  407. font-family: PingFangSC-Medium;
  408. text-align: left;
  409. white-space: nowrap;
  410. line-height: 15px;
  411. display: block;
  412. margin: 3px 0 0 6px;
  413. }
  414. .outer6 {
  415. width: 18px;
  416. height: 18px;
  417. background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPng164fc6854bc0badab9c36f9e9751c42ceda02742fc5e78f7662ced4a0f76844c) 100% no-repeat;
  418. margin-left: 141px;
  419. }
  420. }
  421. .txt7 {
  422. width: 242px;
  423. height: 20px;
  424. overflow-wrap: break-word;
  425. color: rgba(64, 77, 116, 1);
  426. font-size: 14px;
  427. text-align: left;
  428. white-space: nowrap;
  429. line-height: 20px;
  430. display: block;
  431. margin: 8px 0 0 15px;
  432. }
  433. .word8 {
  434. width: 262px;
  435. height: 13px;
  436. overflow-wrap: break-word;
  437. color: rgba(64, 77, 116, 1);
  438. font-size: 14px;
  439. text-align: left;
  440. white-space: nowrap;
  441. line-height: 13px;
  442. display: block;
  443. margin: 10px 0 0 15px;
  444. }
  445. .bd9 {
  446. width: 61px;
  447. height: 17px;
  448. margin: 15px 0 0 157px;
  449. .txt8 {
  450. width: 48px;
  451. height: 17px;
  452. overflow-wrap: break-word;
  453. color: rgba(135, 135, 166, 1);
  454. font-size: 14px;
  455. text-align: center;
  456. white-space: nowrap;
  457. line-height: 17px;
  458. display: block;
  459. }
  460. .block1 {
  461. width: 10px;
  462. height: 4px;
  463. background: url("../../assets/device/deviceSelect.png") 0px -1px no-repeat;
  464. margin-top: 7px;
  465. }
  466. }
  467. .bd10 {
  468. width: 345px;
  469. height: 1px;
  470. background: url("../../assets/home/line.png") -1px 0px no-repeat;
  471. margin: 15px 0 0 15px;
  472. }
  473. .bd11 {
  474. width: 345px;
  475. height: 18px;
  476. margin: 20px 0 0 15px;
  477. .section3 {
  478. background-color: rgba(128, 150, 236, 1);
  479. border-radius: 2px;
  480. width: 4px;
  481. height: 12px;
  482. margin-top: 4px;
  483. }
  484. .txt9 {
  485. width: 176px;
  486. height: 13px;
  487. overflow-wrap: break-word;
  488. color: rgba(64, 77, 116, 1);
  489. font-size: 14px;
  490. font-family: PingFangSC-Medium;
  491. text-align: left;
  492. white-space: nowrap;
  493. line-height: 15px;
  494. display: block;
  495. margin: 3px 0 0 6px;
  496. }
  497. .section4 {
  498. width: 22px;
  499. height: 15px;
  500. background: url(https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/be1271ed70774869b81ed2d5f43b6a44_mergeImage.png) 100% no-repeat;
  501. margin: 3px 0 0 111px;
  502. }
  503. .section5 {
  504. height: 18px;
  505. background: url(https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/5723fcdad1574aef9e65c326de33d8b2_mergeImage.png) 100% no-repeat;
  506. margin-left: 8px;
  507. width: 18px;
  508. .box3 {
  509. background-color: rgba(255, 255, 255, 1);
  510. border-radius: 1px;
  511. width: 2px;
  512. height: 7px;
  513. margin: 2px 0 0 8px;
  514. }
  515. }
  516. }
  517. .txt10 {
  518. width: 242px;
  519. height: 20px;
  520. overflow-wrap: break-word;
  521. color: rgba(64, 77, 116, 1);
  522. font-size: 14px;
  523. text-align: left;
  524. white-space: nowrap;
  525. line-height: 20px;
  526. display: block;
  527. margin: 8px 0 0 15px;
  528. }
  529. }
  530. .sugarTxt {
  531. color: rgba(64, 77, 116, 1);
  532. font-size: 0.375rem;
  533. // line-height: 0.8rem;
  534. padding: 10px 10px;
  535. }
  536. .bd6 {
  537. width: 100%;
  538. border-bottom: 1px solid #eee;
  539. .info2 {
  540. overflow-wrap: break-word;
  541. color: rgb(77, 106, 221);
  542. font-size: 14px;
  543. text-align: center;
  544. white-space: nowrap;
  545. display: block;
  546. }
  547. .group2 {
  548. width: 10px;
  549. height: 5px;
  550. background: url("../../assets/device/deviceSelect.png") center no-repeat;
  551. background-size: 100%;
  552. &.checkType {
  553. transform: scaleY(-1);
  554. }
  555. }
  556. }
  557. }
  558. }
  559. }
  560. }
  561. }
  562. .passwordIdx {
  563. overflow: hidden;
  564. overflow-y: auto;
  565. .headerCon {
  566. .line {
  567. background-color: #8096ec;
  568. border-radius: 2px;
  569. width: 4px;
  570. height: 16px;
  571. }
  572. }
  573. }
  574. .van-button--primary {
  575. background-color: #4d6add;
  576. border-color: #4d6add;
  577. }
  578. .van-dropdown-menu__title--active {
  579. color: #4d6add;
  580. }
  581. .van-dropdown-item__option--active,
  582. .van-dropdown-item__option--active .van-dropdown-item__icon {
  583. color: #4d6add;
  584. }
  585. .van-dropdown-menu__title {
  586. color: #4d6add;
  587. }
  588. :root {
  589. --van-width: auto;
  590. --van-popover-action-width: var(--van-width);
  591. }