terminal.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. >>> ax-custom-title {
  2. z-index: 9999 !important;
  3. }
  4. .page-background{
  5. display: block;
  6. position: fixed;
  7. top: 0;
  8. left: 0;
  9. width: 100%;
  10. height: 100%;
  11. }
  12. .body{
  13. width: 100%;
  14. height: 100%;
  15. overflow: auto;
  16. padding-bottom: 130px;
  17. position: relative;
  18. z-index: 1;
  19. }
  20. .body::-webkit-scrollbar{
  21. display: none;
  22. }
  23. .body.visit{
  24. padding-bottom: 0px;
  25. }
  26. .block{
  27. padding: 0 10px;
  28. }
  29. .block + .block{
  30. margin-top: 10px;
  31. }
  32. /* 主图 */
  33. .host-graph{
  34. margin: 20px 0 10px;
  35. }
  36. .host-graph .image{
  37. width: 60vw;
  38. }
  39. /* 主参数 */
  40. .parameter{
  41. display: flex;
  42. align-items: center;
  43. justify-content: space-between;
  44. padding: 0 10px;
  45. margin: 0 20px;
  46. margin-top: 10px;
  47. margin-bottom: 20px;
  48. }
  49. .parameter .param{
  50. display: flex;
  51. align-items: center;
  52. justify-content: center;
  53. flex-direction: column;
  54. }
  55. .parameter .param .value{
  56. font-size: 20px;
  57. font-weight: bold;
  58. }
  59. .parameter .param .name{
  60. font-size: 14px;
  61. color: #aaa;
  62. margin-top: 7px;
  63. }
  64. /* 卡片 */
  65. .card{
  66. background-color: #fff;
  67. border-radius: 8px;
  68. padding: 10px;
  69. box-shadow: 0 0 10px rgba(0,0,0,0.05);
  70. }
  71. .card .title{
  72. display: flex;
  73. align-items: center;
  74. justify-content: space-between;
  75. font-size: 15px;
  76. font-weight: bold;
  77. padding-bottom: 10px;
  78. padding-left: 10px;
  79. border-bottom: 1px solid #ddd;
  80. }
  81. .card .title .more{
  82. font-size: 14px;
  83. color: #aaa;
  84. font-weight: normal;
  85. }
  86. .card .title .more .icon{
  87. margin-left: 5px;
  88. }
  89. .card .cell{
  90. display: flex;
  91. align-items: center;
  92. justify-content: space-between;
  93. font-size: 14px;
  94. height: 32px;
  95. padding: 0 10px;
  96. }
  97. .cell .contet{
  98. color: #aaa;
  99. }
  100. .cell .obsolete{
  101. font-size: 12px;
  102. text-decoration: line-through;
  103. color: #aaa;
  104. margin-right: 5px;
  105. }
  106. .cell .obsolete .money{
  107. font-size: inherit;
  108. color: inherit;
  109. font-weight: normal;
  110. }
  111. .cell .money{
  112. font-size: 16px;
  113. font-weight: bold;
  114. color: #f44033;
  115. }
  116. /* 开关 */
  117. .switch{
  118. display: flex;
  119. align-items: center;
  120. justify-content: space-between;
  121. width: 110px;
  122. height: 30px;
  123. font-size: 14px;
  124. border-radius: 100pc;
  125. background-color: #fff;
  126. position: relative;
  127. color: #333;
  128. }
  129. .switch > text{
  130. flex: 1;
  131. display: flex;
  132. justify-content: center;
  133. transform: translateY(-1px);
  134. transition: all 300ms ease;
  135. position: relative;
  136. z-index: 2;
  137. }
  138. .switch.personal > text:first-child,
  139. .switch > text:last-child{
  140. color: #fff;
  141. }
  142. .switch.personal > text:last-child{
  143. color: inherit;
  144. }
  145. .switch::after{
  146. content: '';
  147. display: block;
  148. width: calc(50% - 3px);
  149. height: calc(100% - 6px);
  150. border-radius: 100pc;
  151. background-color: #3eb6f8;
  152. position: absolute;
  153. top: 3px;
  154. right: 3px;
  155. transition: all 200ms ease;
  156. }
  157. .switch.personal::after{
  158. transform: translateX(-100%);
  159. }
  160. /* 提示 */
  161. .tips{
  162. font-size: 14px;
  163. margin-top: 10px;
  164. padding: 0 10px;
  165. }
  166. /* 优惠券 */
  167. .coupon{
  168. --coupon-height: 80px;
  169. --coupon-cut-size: 16px;
  170. display: flex;
  171. align-items: center;
  172. width: 100%;
  173. height: var(--coupon-height);
  174. padding: 5px;
  175. border-radius: 8px;
  176. background-color: #3eb6f8;
  177. margin-top: 10px;
  178. }
  179. .coupon .name{
  180. padding: 0 10px;
  181. }
  182. .coupon .info{
  183. flex: 1;
  184. display: flex;
  185. align-items: center;
  186. justify-content: center;
  187. flex-direction: column;
  188. }
  189. .coupon .info .value{
  190. font-size: 30px;
  191. font-weight: bold;
  192. }
  193. .coupon .info .describe{
  194. font-size: 12px;
  195. }
  196. .coupon .feature{
  197. display: block;
  198. position: relative;
  199. width: var(--coupon-cut-size);
  200. height: var(--coupon-height);
  201. overflow: hidden;
  202. }
  203. .coupon .feature .line{
  204. display: block;
  205. width: 1px;
  206. position: absolute;
  207. left: 50%;
  208. top: var(--coupon-cut-size);
  209. bottom: var(--coupon-cut-size);
  210. border-left: 1px dashed #fff;
  211. }
  212. .coupon .feature::after,
  213. .coupon .feature::before{
  214. content: '';
  215. display: block;
  216. width: var(--coupon-cut-size);
  217. height: var(--coupon-cut-size);
  218. border-radius: 100pc;
  219. background-color: #fff;
  220. position: absolute;
  221. }
  222. .coupon .feature::before{
  223. top: 0;
  224. transform: translateY(-50%);
  225. }
  226. .coupon .feature::after{
  227. bottom: 0;
  228. transform: translateY(50%);
  229. }
  230. .coupon.personal{
  231. background-color: #ff7043;
  232. color: #fff;
  233. }
  234. /* 主信息 */
  235. .footer{
  236. display: flex;
  237. flex-direction: column;
  238. background-color: #fff;
  239. border-radius: 16px 16px 0 0;
  240. height: 120px;
  241. padding: 10px;
  242. position: fixed;
  243. left: 0;
  244. right: 0;
  245. bottom: 0;
  246. box-shadow: 0 0 10px rgba(0,0,0,0.1);
  247. z-index: 99999;
  248. }
  249. .footer .tips{
  250. flex: 1;
  251. display: flex;
  252. align-items: center;
  253. justify-content: center;
  254. font-size: 12px;
  255. color: #aaa;
  256. margin-bottom: 10px;
  257. }
  258. .footer .startup{
  259. display: flex;
  260. align-items: center;
  261. justify-content: center;
  262. font-size: 14px;
  263. border-radius: 8px;
  264. height: 50px;
  265. background: linear-gradient(to right,#8FF8FB,#47AEFF);
  266. }