site-more.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. .page-background{
  2. display: block;
  3. position: fixed;
  4. top: 0;
  5. left: 0;
  6. width: 100%;
  7. height: 100%;
  8. }
  9. .body{
  10. width: 100%;
  11. height: 100%;
  12. position: relative;
  13. z-index: 1;
  14. }
  15. .top-title-box{
  16. display: flex;
  17. align-items: center;
  18. justify-content: space-between;
  19. }
  20. .title{
  21. font-size: 16px;
  22. font-weight: bold;
  23. }
  24. .subtitle{
  25. font-size: 12px;
  26. color: #aaa;
  27. margin-top: 10px;
  28. }
  29. .site-more-topIcon{
  30. width: 140rpx;
  31. height: 140rpx;
  32. }
  33. /* 面包屑 */
  34. .crumbs{
  35. display: flex;
  36. align-items: center;
  37. height: 60px;
  38. border-radius: 8px;
  39. background-color: #fff;
  40. margin: 15px 0;
  41. }
  42. .crumbs .item{
  43. flex: 1;
  44. display: flex;
  45. align-items: center;
  46. justify-content: center;
  47. flex-direction: column;
  48. }
  49. .crumbs .item .value{
  50. font-size: 16px;
  51. font-weight: bold;
  52. color: #3EB6F8;
  53. }
  54. .crumbs .item .name{
  55. font-size: 12px;
  56. }
  57. /* 切换 */
  58. .switch{
  59. display: flex;
  60. align-items: center;
  61. justify-content: space-between;
  62. width: 100%;
  63. height: 44px;
  64. background-color: #fff;
  65. border-radius: 100pc;
  66. position: relative;
  67. }
  68. .switch .bg{
  69. width: 50%;
  70. height: 40px;
  71. background-color: #3EB6F8;
  72. border-radius: 100pc;
  73. position: absolute;
  74. top: 2px;
  75. left: 2px;
  76. transition: all 200ms ease;
  77. }
  78. .switch .contet{
  79. display: flex;
  80. align-items: center;
  81. justify-content: space-between;
  82. width: 100%;
  83. }
  84. .switch .text{
  85. flex: 1;
  86. display: flex;
  87. align-items: center;
  88. justify-content: center;
  89. font-size: 14px;
  90. position: relative;
  91. z-index: 2;
  92. transition: color 200ms ease;
  93. }
  94. .switch .text:first-child,
  95. .switch.another .text:last-child{
  96. color: #fff;
  97. }
  98. .switch.another .text:first-child{
  99. color: inherit;
  100. }
  101. .switch.another .bg{
  102. transform: translateX(100%);
  103. }
  104. .list{
  105. height: var(--list-height);
  106. overflow: auto;
  107. padding: 10px 0;
  108. }
  109. .list::-webkit-scrollbar{
  110. display: none;
  111. }
  112. /* 设备列表 */
  113. .terminals{
  114. margin-top: 10px;
  115. }
  116. .terminal-item{
  117. display: flex;
  118. align-items: center;
  119. justify-content: space-between;
  120. background-color: #fff;
  121. border-radius: 8px;
  122. height: 78px;
  123. padding: 10px;
  124. }
  125. .terminal-item+.terminal-item{
  126. margin-top: 10px;
  127. }
  128. .terminal-item .state{
  129. display: flex;
  130. width: 58px;
  131. height: 58px;
  132. border-radius: 100%;
  133. margin-right: 10px;
  134. padding: 4px;
  135. background-image: linear-gradient(to right, #ccc 0%, #ccc 35.8%, #c7cccf 65.9%, #e8e8e8 80.4%, #c8c8c8 100%);
  136. }
  137. .terminal-item .state .cake{
  138. display: flex;
  139. align-items: center;
  140. justify-content: center;
  141. flex-direction: column;
  142. width: 100%;
  143. height: 100%;
  144. border-radius: 100%;
  145. background-color: #eee;
  146. }
  147. .terminal-item .state .icon{
  148. display: block;
  149. width: 20px;
  150. height: 20px;
  151. }
  152. .terminal-item .state .name{
  153. font-size: 12px;
  154. margin-top: 3px;
  155. }
  156. .terminal-item .info{
  157. flex: 1;
  158. }
  159. .terminal-item .info .name{
  160. font-size: 14px;
  161. font-weight: bold;
  162. margin-bottom: 5px;
  163. }
  164. .terminal-item .info .subinfo{
  165. font-size: 12px;
  166. color: #aaa;
  167. }
  168. .terminal-item .state.green{
  169. background-image: linear-gradient(to right, #73e6a0 0%, #3eff8a 30%, #4edc86 60%, #b4ffd1 75%, #6be49a 100%);
  170. }
  171. .terminal-item .state.green .cake{
  172. background-color: #ECFFF4;
  173. }
  174. .terminal-item .state.blue{
  175. background-image: linear-gradient(to right, #3eb6f8 0%, #81d8ff 35%, #75ceff 65%, #94e2ff 80%, #2cb5ff 100%);
  176. }
  177. .terminal-item .state.blue .cake{
  178. background-color: #E9F9FF;
  179. }
  180. .terminal-item .state.orange{
  181. background-image: linear-gradient(to right, #FFE9BC 0%, #FFD070 35%, #FFD887 65%, #FFD887 80%, #FFC246 100%);
  182. }
  183. .terminal-item .state.orange .cake{
  184. background-color: #FFF8EB;
  185. }
  186. .terminal-item .state.err{
  187. background-image: linear-gradient(to right, #FFC4C4 0%, #F77474 35%, #FFAAAA 65%, #FFAAAA 80%, #F55B5B 100%);
  188. }
  189. .terminal-item .state.err .cake{
  190. background-color: #FFE9E9;
  191. }
  192. /* 价格列表 */
  193. .price{
  194. padding: 10px;
  195. background-color: #fff;
  196. border-radius: 8px;
  197. border: 1px solid transparent;
  198. position: relative;
  199. overflow: hidden;
  200. }
  201. .price + .price{
  202. margin-top: 10px;
  203. }
  204. .price .header{
  205. display: flex;
  206. align-items: center;
  207. }
  208. .price .header .icon{
  209. display: flex;
  210. align-items: center;
  211. justify-content: center;
  212. width: 20px;
  213. height: 20px;
  214. font-size: 14px;
  215. color: #fff;
  216. border-radius: 4px;
  217. background-color: #ccc;
  218. margin-right: 14px;
  219. }
  220. .price .header .value{
  221. font-size: 14px;
  222. font-weight: bold;
  223. }
  224. .price .info{
  225. background-color: #F6F6F6;
  226. border-radius: 8px;
  227. padding: 10px;
  228. font-size: 14px;
  229. margin: 10px 0;
  230. }
  231. .price .info .row{
  232. display: flex;
  233. align-items: center;
  234. justify-content: space-between;
  235. height: 30px;
  236. }
  237. .price .info .row .unit{
  238. color: #aaa;
  239. margin-left: 5px;
  240. }
  241. .price .footer{
  242. display: flex;
  243. align-items: center;
  244. justify-content: space-between;
  245. font-size: 14px;
  246. }
  247. .price.active{
  248. border-color: #47B9F8;
  249. }
  250. .price.active .footer,
  251. .price.active .header{
  252. color: #47B9F8;
  253. }
  254. .price.active .header .icon{
  255. background: linear-gradient(to right,#8FF8FB,#47AEFF);
  256. }
  257. .price.active::after{
  258. content: '当前时段';
  259. display: flex;
  260. width: 76px;
  261. height: 30px;
  262. font-size: 14px;
  263. align-items: center;
  264. justify-content: center;
  265. color: #fff;
  266. background: linear-gradient(to right,#8FF8FB,#47AEFF);
  267. position: absolute;
  268. top: 0;
  269. right: 0;
  270. border-radius: 0 0 0 8px;
  271. text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
  272. }
  273. .price.active .row .name{
  274. font-weight: bolder;
  275. }
  276. .price.active .row .value,.price.active .row .unit{
  277. font-size: 18px;
  278. font-weight: bolder;
  279. color: #FF5D50;
  280. }
  281. /* 底部 */
  282. .underside{
  283. position: fixed;
  284. left: 0;
  285. right: 0;
  286. bottom: 0;
  287. z-index: 10;
  288. padding: 10px;
  289. padding-bottom: 0;
  290. }
  291. .underside .scan{
  292. display: flex;
  293. align-items: center;
  294. justify-content: center;
  295. width: 100%;
  296. height: 50px;
  297. border-radius: 8px;
  298. font-size: 14px;
  299. background: linear-gradient(to right,#8FF8FB,#47AEFF);
  300. }
  301. .operation-price-box{
  302. display: flex;
  303. align-items: center;
  304. }
  305. .operation-symbol{
  306. font-size: 24rpx;
  307. }
  308. .operation-price{
  309. font-weight: 800;
  310. font-size: 40rpx;
  311. color: #F5531A;
  312. }
  313. .mini-text {
  314. margin-left: 6rpx;
  315. font-size: 12px;
  316. }
  317. .operation-price-btn {
  318. margin-left: 20rpx;
  319. width: 140rpx;
  320. height: 40rpx;
  321. background: #FF6457;
  322. border-radius: 22rpx 22rpx 22rpx 22rpx;
  323. font-style: italic;
  324. text-align: center;
  325. line-height: 40rpx;
  326. font-weight: 400;
  327. font-size: 22rpx;
  328. color: #FFFFFF;
  329. }
  330. .ordinary-price {
  331. margin-left: 12rpx;
  332. font-size: 24rpx;
  333. color: #AAAAAA;
  334. text-decoration: line-through;
  335. }