terminal.css 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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. pointer-events: none;
  12. }
  13. .body {
  14. width: 100%;
  15. min-height: 100vh;
  16. overflow: auto;
  17. padding-bottom: 130px;
  18. position: relative;
  19. z-index: 1;
  20. }
  21. .body::-webkit-scrollbar {
  22. display: none;
  23. }
  24. .body.visit {
  25. padding-bottom: 0px;
  26. }
  27. .block {
  28. padding: 0 10px;
  29. }
  30. .block + .block {
  31. margin-top: 10px;
  32. }
  33. /* 主图 */
  34. .host-graph {
  35. display: block;
  36. width: 100%;
  37. height: 100%;
  38. z-index: 100;
  39. pointer-events: none;
  40. }
  41. /* 主参数 */
  42. .parameter {
  43. display: flex;
  44. align-items: center;
  45. justify-content: space-between;
  46. padding: 0 10px;
  47. margin: 0 20px;
  48. margin-top: 10px;
  49. margin-bottom: 20px;
  50. }
  51. .parameter .param {
  52. display: flex;
  53. align-items: center;
  54. justify-content: center;
  55. flex-direction: column;
  56. }
  57. .parameter .param .value {
  58. font-size: 20px;
  59. font-weight: bold;
  60. }
  61. .parameter .param .name {
  62. font-size: 14px;
  63. color: #aaa;
  64. margin-top: 7px;
  65. }
  66. .lable {
  67. width: 200rpx;
  68. }
  69. /* 卡片 */
  70. .card {
  71. background-color: #fff;
  72. border-radius: 8px;
  73. padding: 10px;
  74. box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  75. }
  76. .card .title {
  77. display: flex;
  78. align-items: center;
  79. justify-content: space-between;
  80. font-size: 15px;
  81. font-weight: bold;
  82. padding-bottom: 10px;
  83. padding-left: 10px;
  84. border-bottom: 1px solid #ddd;
  85. }
  86. .card .title .more {
  87. font-size: 14px;
  88. color: #aaa;
  89. font-weight: normal;
  90. }
  91. .card .title .more .icon {
  92. margin-left: 5px;
  93. }
  94. .card .cell {
  95. display: flex;
  96. align-items: center;
  97. justify-content: space-between;
  98. font-size: 14px;
  99. height: 32px;
  100. padding: 0 10px;
  101. }
  102. .cell .contet {
  103. color: #aaa;
  104. }
  105. .cell .obsolete {
  106. font-size: 12px;
  107. text-decoration: line-through;
  108. color: #aaa;
  109. margin-right: 5px;
  110. }
  111. .cell .obsolete .money {
  112. font-size: inherit;
  113. color: inherit;
  114. font-weight: normal;
  115. }
  116. .cell .money {
  117. font-size: 16px;
  118. font-weight: bold;
  119. color: #f44033;
  120. }
  121. /* 开关 */
  122. .switch {
  123. display: flex;
  124. align-items: center;
  125. justify-content: space-between;
  126. width: 110px;
  127. height: 30px;
  128. font-size: 14px;
  129. border-radius: 100pc;
  130. background-color: #fff;
  131. position: relative;
  132. color: #333;
  133. }
  134. .switch > text {
  135. flex: 1;
  136. display: flex;
  137. justify-content: center;
  138. transform: translateY(-1px);
  139. transition: all 300ms ease;
  140. position: relative;
  141. z-index: 2;
  142. }
  143. .switch.personal > text:first-child,
  144. .switch > text:last-child {
  145. color: #fff;
  146. }
  147. .switch.personal > text:last-child {
  148. color: inherit;
  149. }
  150. .switch::after {
  151. content: "";
  152. display: block;
  153. width: calc(50% - 3px);
  154. height: calc(100% - 6px);
  155. border-radius: 100pc;
  156. background-color: #3eb6f8;
  157. position: absolute;
  158. top: 3px;
  159. right: 3px;
  160. transition: all 200ms ease;
  161. }
  162. .switch.personal::after {
  163. transform: translateX(-100%);
  164. }
  165. /* 提示 */
  166. .tips {
  167. font-size: 14px;
  168. margin-top: 10px;
  169. padding: 0 10px;
  170. }
  171. /* 优惠券 */
  172. .coupon {
  173. --coupon-height: 80px;
  174. --coupon-cut-size: 16px;
  175. display: flex;
  176. align-items: center;
  177. width: 100%;
  178. height: var(--coupon-height);
  179. padding: 5px;
  180. border-radius: 8px;
  181. background-color: #3eb6f8;
  182. margin-top: 10px;
  183. }
  184. .coupon .name {
  185. padding: 0 10px;
  186. }
  187. .coupon .info {
  188. flex: 1;
  189. display: flex;
  190. align-items: center;
  191. justify-content: center;
  192. flex-direction: column;
  193. }
  194. .coupon .info .value {
  195. font-size: 30px;
  196. font-weight: bold;
  197. }
  198. .coupon .info .describe {
  199. font-size: 12px;
  200. }
  201. .coupon .feature {
  202. display: block;
  203. position: relative;
  204. width: var(--coupon-cut-size);
  205. height: var(--coupon-height);
  206. overflow: hidden;
  207. }
  208. .coupon .feature .line {
  209. display: block;
  210. width: 1px;
  211. position: absolute;
  212. left: 50%;
  213. top: var(--coupon-cut-size);
  214. bottom: var(--coupon-cut-size);
  215. border-left: 1px dashed #fff;
  216. }
  217. .coupon .feature::after,
  218. .coupon .feature::before {
  219. content: "";
  220. display: block;
  221. width: var(--coupon-cut-size);
  222. height: var(--coupon-cut-size);
  223. border-radius: 100pc;
  224. background-color: #fff;
  225. position: absolute;
  226. }
  227. .coupon .feature::before {
  228. top: 0;
  229. transform: translateY(-50%);
  230. }
  231. .coupon .feature::after {
  232. bottom: 0;
  233. transform: translateY(50%);
  234. }
  235. .coupon.personal {
  236. background-color: #ff7043;
  237. color: #fff;
  238. }
  239. /* 主信息 */
  240. .footer {
  241. display: flex;
  242. flex-direction: column;
  243. background-color: #fff;
  244. border-radius: 16px 16px 0 0;
  245. height: 120px;
  246. padding: 10px;
  247. position: fixed;
  248. left: 0;
  249. right: 0;
  250. bottom: 0;
  251. box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  252. z-index: 99999;
  253. }
  254. .footer .tips {
  255. flex: 1;
  256. display: flex;
  257. align-items: center;
  258. justify-content: center;
  259. font-size: 12px;
  260. color: #aaa;
  261. margin-bottom: 10px;
  262. }
  263. .footer .startup {
  264. display: flex;
  265. align-items: center;
  266. justify-content: center;
  267. font-size: 14px;
  268. border-radius: 8px;
  269. height: 50px;
  270. background: linear-gradient(to right, #8ff8fb, #47aeff);
  271. }
  272. .coupon-image-card {
  273. display: flex;
  274. align-items: center;
  275. margin-top: 28rpx;
  276. width: 664rpx;
  277. height: 160rpx;
  278. /* background-image: url('@/static/img/coupon-gr.png'); */
  279. background-repeat: no-repeat;
  280. background-size: cover;
  281. background-position: center;
  282. }
  283. .coupon-title {
  284. width: 220rpx;
  285. text-align: center;
  286. font-weight: bold;
  287. font-size: 32rpx;
  288. color: #ffffff;
  289. }
  290. .price-info {
  291. width: 270rpx;
  292. text-align: center;
  293. color: #222222;
  294. }
  295. .price-numer {
  296. font-weight: 800;
  297. font-size: 48rpx;
  298. }
  299. .price-text {
  300. font-size: 22rpx;
  301. }
  302. .shop-coupon-btn {
  303. margin-left: 14rpx;
  304. width: 136rpx;
  305. height: 44rpx;
  306. border-radius: 22rpx;
  307. font-size: 24rpx;
  308. color: #ffffff;
  309. text-align: center;
  310. line-height: 44rpx;
  311. }
  312. .Modal-tips {
  313. width: 514rpx;
  314. height: 528rpx;
  315. background: #ffffff;
  316. border-radius: 16rpx;
  317. text-align: center;
  318. padding-top: 40rpx;
  319. }
  320. .tips-icon {
  321. margin: auto;
  322. width: 116rpx;
  323. height: 116rpx;
  324. line-height: 116rpx;
  325. font-size: 70rpx;
  326. font-weight: bold;
  327. color: #fff;
  328. border-radius: 50%;
  329. background-color: #ff4d3a;
  330. }
  331. .icon-title {
  332. margin-top: 24rpx;
  333. font-weight: bold;
  334. font-size: 40rpx;
  335. color: #2b303a;
  336. }
  337. .tips-text {
  338. margin-top: 28rpx;
  339. font-size: 28rpx;
  340. color: #2b303a;
  341. }
  342. .tips-btn {
  343. margin-top: 60rpx;
  344. display: flex;
  345. align-items: center;
  346. gap: 20rpx;
  347. justify-content: center;
  348. }
  349. .cancel-btn {
  350. width: 224rpx;
  351. height: 80rpx;
  352. background: #f0f0f0;
  353. border-radius: 40rpx;
  354. line-height: 80rpx;
  355. font-size: 28rpx;
  356. color: #aaaaaa;
  357. }
  358. .confirm-btn {
  359. width: 224rpx;
  360. height: 80rpx;
  361. background: #3eb6f8;
  362. border-radius: 40rpx;
  363. line-height: 80rpx;
  364. font-size: 28rpx;
  365. color: #ffffff;
  366. }