terminal.css 6.0 KB

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