site.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. @font-face {
  2. font-family: "ysbth";
  3. src: url('ysbth2.ttf') format('truetype');
  4. }
  5. ax-body >>> .ax-body{
  6. background-image: linear-gradient(to bottom,#A1DEFF,rgba(209,239,255,0.93) 100px,rgba(209,239,255,0) 258px,transparent);
  7. background-color: #F6FAFF;
  8. }
  9. .body{
  10. height: 100%;
  11. color: #2B303A;
  12. overflow: auto;
  13. padding-bottom: 74px;
  14. }
  15. .main{
  16. background-color: #fff;
  17. border-radius: 8px 8px 0 0;
  18. margin-top: -8px;
  19. position: relative;
  20. z-index: 1;
  21. padding: 10px;
  22. overflow: auto;
  23. }
  24. .top{
  25. --right-size: 40vw;
  26. display: block;
  27. padding-right: var(--right-size);
  28. position: relative;
  29. }
  30. .top > .left{
  31. flex: 1;
  32. }
  33. .top .site-name{
  34. font-size: 18px;
  35. font-weight: bold;
  36. }
  37. .top .site-parkade{
  38. font-size: 12px;
  39. line-height: 18px;
  40. margin-top: 10px;
  41. color: #aaa;
  42. }
  43. .top .logo{
  44. position: absolute;
  45. top: 0;
  46. right: 0;
  47. width: var(--right-size);
  48. }
  49. .top .site-base{
  50. margin-bottom: 10px;
  51. }
  52. .location{
  53. display: flex;
  54. align-items: center;
  55. justify-content: space-between;
  56. position: relative;
  57. overflow: hidden;
  58. border-radius: 8px;
  59. height: 70px;
  60. padding: 10px;
  61. background: linear-gradient(to bottom,#E5FEFF,rgba(143,246,249,0));
  62. box-shadow: 0 3px 6px rgba(255, 255, 255, 0.16) inset;
  63. }
  64. .location .info{
  65. position: relative;
  66. z-index: 1;
  67. }
  68. .location .info + .info{
  69. margin-left: 20px;
  70. }
  71. .location .name{
  72. font-size: 14px;
  73. }
  74. .location .subname{
  75. display: block;
  76. max-width: 35vw;
  77. font-size: 11px;
  78. color: #aaa;
  79. white-space: nowrap;
  80. overflow: hidden;
  81. text-overflow: ellipsis;
  82. }
  83. .location .txt{
  84. font-size: 12px;
  85. }
  86. .location .bg{
  87. display: block;
  88. width: 100%;
  89. height: 70px;
  90. position: absolute;
  91. top: 0;
  92. left: 0;
  93. }
  94. .location .icon{
  95. width: 20px;
  96. height: 20px;
  97. }
  98. .card{
  99. display: block;
  100. padding: 10px;
  101. background-color: #fff;
  102. }
  103. .card + .card{
  104. margin-top: 10px;
  105. }
  106. .card .card-title{
  107. display: flex;
  108. align-items: center;
  109. justify-content: space-between;
  110. height: 40px;
  111. font-size: 16px;
  112. font-weight: bold;
  113. }
  114. .card .card-title .more{
  115. display: flex;
  116. align-items: center;
  117. font-size: 12px;
  118. color: #aaa;
  119. font-weight: normal;
  120. }
  121. .card .card-title .more .icon{
  122. margin-left: 5px;
  123. }
  124. .info-cell{
  125. display: flex;
  126. align-items: center;
  127. height: 32px;
  128. font-size: 14px;
  129. }
  130. .info-cell .icon{
  131. width: 20px;
  132. height: 20px;
  133. margin-right: 10px;
  134. }
  135. .current-price{
  136. display: flex;
  137. height: 60px;
  138. border-radius: 8px;
  139. overflow: hidden;
  140. background-image: linear-gradient(to right,#FEE4C6,rgba(251,235,198,0));
  141. margin-top: 10px;
  142. }
  143. .price-wrap{
  144. display: flex;
  145. align-items: center;
  146. }
  147. .price-wrap .price{
  148. display: flex;
  149. align-items: flex-end;
  150. font-size: 24px;
  151. font-weight: bold;
  152. color: #F5531A;
  153. margin-left: 10px;
  154. }
  155. .price-wrap .price .symbol{
  156. display: inline-block;
  157. font-size: 12px;
  158. color: #F5531A;
  159. transform: translateY(-4px);
  160. }
  161. .price-wrap .unit{
  162. font-size: 12px;
  163. color: #aaa;
  164. margin-left: 15px;
  165. }
  166. .bg5{
  167. display: inline-flex;
  168. align-items: center;
  169. justify-content: center;
  170. position: relative;
  171. color: #fff;
  172. height: inherit;
  173. }
  174. .bg5 > .text{
  175. display: inline-block;
  176. position: absolute;
  177. font-family: 'ysbth';
  178. white-space: nowrap;
  179. top: 50%;
  180. left: 50%;
  181. transform: translate(-65%,-50%);
  182. font-size: 16px;
  183. }
  184. .bg5 > .bg{
  185. height: 100%;
  186. }
  187. .bread{
  188. display: flex;
  189. align-items: center;
  190. height: 60px;
  191. background-color: rgba(62, 182, 248, 0.2);
  192. border-radius: 8px;
  193. }
  194. .bread .bread-item{
  195. flex: 1;
  196. display: flex;
  197. align-items: center;
  198. justify-content: center;
  199. flex-direction: column;
  200. position: relative;
  201. }
  202. .bread .bread-item .value{
  203. color: #3EB6F8;
  204. font-size: 16px;
  205. font-weight: bold;
  206. }
  207. .bread .bread-item .name{
  208. font-size: 12px;
  209. margin-top: 2px;
  210. }
  211. .bread .bread-item + .bread-item::before{
  212. content: '';
  213. height: 30px;
  214. border-left: 1px solid #3EB6F8;
  215. position: absolute;
  216. left: 0;
  217. top: 50%;
  218. transform: translateY(-50%);
  219. }
  220. .terminals{
  221. margin-top: 10px;
  222. }
  223. .terminal-item{
  224. display: flex;
  225. align-items: center;
  226. justify-content: space-between;
  227. background-color: #F6F6F6;
  228. border-radius: 8px;
  229. height: 78px;
  230. padding: 10px;
  231. }
  232. .terminal-item+.terminal-item{
  233. margin-top: 10px;
  234. }
  235. .terminal-item .state{
  236. display: flex;
  237. width: 58px;
  238. height: 58px;
  239. border-radius: 100%;
  240. margin-right: 10px;
  241. padding: 4px;
  242. background-image: linear-gradient(to right, #ccc 0%, #ccc 35.8%, #c7cccf 65.9%, #e8e8e8 80.4%, #c8c8c8 100%);
  243. }
  244. .terminal-item .state .cake{
  245. display: flex;
  246. align-items: center;
  247. justify-content: center;
  248. flex-direction: column;
  249. width: 100%;
  250. height: 100%;
  251. border-radius: 100%;
  252. background-color: #eee;
  253. }
  254. .terminal-item .state .icon{
  255. display: block;
  256. width: 20px;
  257. height: 20px;
  258. }
  259. .terminal-item .state .name{
  260. font-size: 12px;
  261. margin-top: 3px;
  262. }
  263. .terminal-item .info{
  264. flex: 1;
  265. }
  266. .terminal-item .info .name{
  267. font-size: 14px;
  268. font-weight: bold;
  269. margin-bottom: 5px;
  270. }
  271. .terminal-item .info .subinfo{
  272. font-size: 12px;
  273. color: #aaa;
  274. }
  275. .terminal-item .state.green{
  276. background-image: linear-gradient(to right, #73e6a0 0%, #3eff8a 30%, #4edc86 60%, #b4ffd1 75%, #6be49a 100%);
  277. }
  278. .terminal-item .state.green .cake{
  279. background-color: #ECFFF4;
  280. }
  281. .terminal-item .state.blue{
  282. background-image: linear-gradient(to right, #3eb6f8 0%, #81d8ff 35%, #75ceff 65%, #94e2ff 80%, #2cb5ff 100%);
  283. }
  284. .terminal-item .state.blue .cake{
  285. background-color: #E9F9FF;
  286. }
  287. .terminal-item .state.orange{
  288. background-image: linear-gradient(to right, #FFE9BC 0%, #FFD070 35%, #FFD887 65%, #FFD887 80%, #FFC246 100%);
  289. }
  290. .terminal-item .state.orange .cake{
  291. background-color: #FFF8EB;
  292. }
  293. .terminal-item .state.err{
  294. background-image: linear-gradient(to right, #FFC4C4 0%, #F77474 35%, #FFAAAA 65%, #FFAAAA 80%, #F55B5B 100%);
  295. }
  296. .terminal-item .state.err .cake{
  297. background-color: #FFE9E9;
  298. }
  299. .footer{
  300. position: fixed;
  301. left: 0;
  302. right: 0;
  303. bottom: 0;
  304. display: flex;
  305. align-items: center;
  306. height: 84px;
  307. overflow: hidden;
  308. border-radius: 20px 20px 0 0;
  309. background-image: linear-gradient(to right,#fee4c6 0%,rgba(255,255,255,0.533) 75%,rgba(255,255,255,0) 100%);
  310. background-color: #fff;
  311. }
  312. .footer .price-wrap .price{
  313. font-size: 20px;
  314. }
  315. .scan{
  316. flex: 1;
  317. display: flex;
  318. align-items: center;
  319. justify-content: center;
  320. border-radius: 8px;
  321. height: 50px;
  322. font-size: 14px;
  323. color: #2B303A;
  324. background-image: linear-gradient(to right,#8FF8FB,#47AEFF);
  325. margin: 0 10px;
  326. }