my.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  1. /* 页面级别限制水平滚动 */
  2. page {
  3. overflow-x: hidden;
  4. width: 100%;
  5. }
  6. ax-body {
  7. display: block;
  8. height: 100%;
  9. background: #f6faff;
  10. overflow: hidden;
  11. }
  12. ax-body .__root {
  13. overflow-x: hidden;
  14. overflow-y: auto;
  15. }
  16. app-navigation {
  17. position: fixed;
  18. left: 0;
  19. right: 0;
  20. bottom: 0;
  21. }
  22. .page-background {
  23. position: fixed;
  24. top: 0;
  25. left: 0;
  26. right: 0;
  27. z-index: 0;
  28. }
  29. .page-background image {
  30. display: block;
  31. width: 100%;
  32. }
  33. .main {
  34. position: relative;
  35. z-index: 1;
  36. }
  37. /* 用户卡 */
  38. .user-card {
  39. padding: 20px 0;
  40. position: relative;
  41. margin-right: -10px;
  42. }
  43. .user-avatar {
  44. display: block;
  45. width: 50px;
  46. height: 50px;
  47. margin-right: 10px;
  48. }
  49. .user-name {
  50. display: flex;
  51. align-items: center;
  52. }
  53. .user-name-text {
  54. font-size: 18px;
  55. font-weight: bold;
  56. }
  57. .user-phone {
  58. font-size: 12px;
  59. margin-top: 5px;
  60. }
  61. .seting-icon-box {
  62. position: absolute;
  63. display: flex;
  64. align-items: center;
  65. right: 0;
  66. }
  67. .seting-icon-box .img-icon {
  68. position: absolute;
  69. right: 110rpx;
  70. width: 100rpx;
  71. height: 100rpx;
  72. }
  73. .seting-icon-box .tips-text {
  74. width: 146rpx;
  75. height: 44rpx;
  76. background: linear-gradient(259deg, #f75441 0%, #fcb83c 100%);
  77. border-radius: 22rpx 0rpx 0rpx 22rpx;
  78. font-size: 28rpx;
  79. color: #ffffff;
  80. text-align: center;
  81. line-height: 44rpx;
  82. }
  83. .get-phone-number {
  84. display: inline-flex;
  85. height: unset;
  86. border: none;
  87. line-height: normal;
  88. background-color: transparent;
  89. font-size: 12px;
  90. color: #2b303a;
  91. padding: 0;
  92. margin: 0;
  93. }
  94. .get-phone-number::after {
  95. display: none;
  96. }
  97. .enterprise-name-card {
  98. margin-left: 10rpx;
  99. padding: 10rpx;
  100. background-color: rgba(62, 182, 248, 0.3);
  101. border-radius: 8rpx;
  102. font-size: 22rpx;
  103. color: #181818;
  104. }
  105. /* 统计卡 新*/
  106. .statistics-card {
  107. background: #ffffff;
  108. border-radius: 32rpx;
  109. padding: 20rpx;
  110. }
  111. .statistics-title {
  112. font-weight: bold;
  113. font-size: 32rpx;
  114. }
  115. .statistics-dataInfo {
  116. display: flex;
  117. align-items: center;
  118. justify-content: space-around;
  119. margin-top: 28rpx;
  120. }
  121. .dataInfo-left {
  122. text-align: center;
  123. position: relative;
  124. flex: 1;
  125. }
  126. .dataInfo-left .left-text {
  127. font-size: 24rpx;
  128. color: #2b303a;
  129. }
  130. .left-number {
  131. margin-top: 20rpx;
  132. font-weight: 600;
  133. font-size: 48rpx;
  134. color: #2b303a;
  135. }
  136. .dataInfo-left .left-refund-btn {
  137. position: absolute;
  138. font-size: 14px;
  139. color: #fff;
  140. background-color: #3eb6f8;
  141. padding: 2px 8px;
  142. border-radius: 10px 0 0 10px;
  143. bottom: 5px;
  144. right: -20rpx;
  145. z-index: 99;
  146. }
  147. .dataInfo-line {
  148. height: 104rpx;
  149. border: 2rpx solid #f0f0f0;
  150. }
  151. /* 我的车辆卡片 */
  152. .vehicle-card {
  153. padding: 24rpx;
  154. background: linear-gradient(180deg, #C7FFFD 0%, #F2FFFF 100%);
  155. }
  156. .vehicle-card-content {
  157. display: flex;
  158. align-items: center;
  159. justify-content: space-between;
  160. }
  161. .vehicle-left {
  162. flex: 1;
  163. min-width: 0;
  164. }
  165. .vehicle-car-img {
  166. width: 200rpx;
  167. height: 120rpx;
  168. flex-shrink: 0;
  169. margin-left: 20rpx;
  170. }
  171. /* 未绑定车辆状态 */
  172. .vehicle-empty {
  173. display: flex;
  174. align-items: center;
  175. gap: 16rpx;
  176. margin-top: 20rpx;
  177. }
  178. .vehicle-add-btn {
  179. width: 48rpx;
  180. height: 48rpx;
  181. border-radius: 50%;
  182. background: linear-gradient(180deg, #8FF8FB 0%, #47AEFF 100%);
  183. text-align: center;
  184. line-height: 48rpx;
  185. flex-shrink: 0;
  186. }
  187. .vehicle-add-icon {
  188. font-size: 40rpx;
  189. font-weight: 600;
  190. color: #fff;
  191. }
  192. .vehicle-add-text {
  193. font-size: 28rpx;
  194. color: #666;
  195. }
  196. /* 已绑定车辆状态 */
  197. .vehicle-bound {
  198. display: flex;
  199. align-items: center;
  200. gap: 16rpx;
  201. margin-top: 16rpx;
  202. }
  203. .vehicle-plate {
  204. font-size: 32rpx;
  205. font-weight: bold;
  206. color: #2b303a;
  207. letter-spacing: 2rpx;
  208. }
  209. .vehicle-manage-btn {
  210. display: flex;
  211. align-items: center;
  212. padding: 8rpx 16rpx;
  213. font-weight: bold;
  214. font-size: 28rpx;
  215. color: #3EB6F8;
  216. }
  217. .vehicle-manage-arrow {
  218. font-size: 22rpx;
  219. margin-left: 4rpx;
  220. }
  221. /* 版头广告 */
  222. .banner {
  223. width: 100%;
  224. /* height: calc((100vw - 20px) * (5 / 20)); */
  225. height: 200rpx;
  226. margin-top: 10rpx;
  227. border-radius: 10rpx;
  228. overflow: hidden;
  229. }
  230. .banner .swiper-item {
  231. display: flex;
  232. width: 100%;
  233. }
  234. .banner .swiper-item .swiper-item-image {
  235. display: block;
  236. width: 100%;
  237. border-radius: 5px;
  238. }
  239. .buy {
  240. display: flex;
  241. align-items: center;
  242. justify-content: center;
  243. height: 50px;
  244. border-radius: 8px;
  245. font-size: 14px;
  246. margin-top: 15px;
  247. background: linear-gradient(to right, #8ff8fb, #47aeff);
  248. }
  249. /* 卡片 */
  250. .card {
  251. background-color: #fff;
  252. border-radius: 8px;
  253. margin-top: 15px;
  254. box-shadow: 0 1px 8px rgba(122, 168, 222, 0.1);
  255. }
  256. .card-title {
  257. padding: 10px 20px 0 20px;
  258. font-weight: bold;
  259. }
  260. .act-wrap {
  261. display: flex;
  262. align-items: flex-end;
  263. width: 100%;
  264. padding: 15px 0px;
  265. }
  266. .act-item {
  267. display: inline-flex;
  268. align-items: center;
  269. justify-content: space-between;
  270. flex-direction: column;
  271. width: 25%;
  272. height: 50px;
  273. }
  274. .act-item .icon {
  275. display: block;
  276. width: 30px;
  277. height: 30px;
  278. }
  279. .act-item .name {
  280. font-size: 12px;
  281. }
  282. .act-item.about {
  283. height: auto;
  284. }
  285. .act-item.about .icon {
  286. width: 40px;
  287. height: 40px;
  288. }
  289. .playbil-box {
  290. position: relative;
  291. }
  292. .playbil-box .playbil-bg {
  293. width: 600rpx;
  294. }
  295. .enterprise-name {
  296. width: 600rpx;
  297. text-align: center;
  298. font-size: 22rpx;
  299. position: absolute;
  300. top: 610rpx;
  301. color: rgb(33, 111, 247);
  302. }
  303. .playbil-qrcode {
  304. position: absolute;
  305. left: 170rpx;
  306. top: 280rpx;
  307. width: 260rpx;
  308. height: 260rpx;
  309. }
  310. .enterprise-user {
  311. position: absolute;
  312. width: 600rpx;
  313. text-align: center;
  314. top: 880rpx;
  315. font-size: 22rpx;
  316. color: #fff;
  317. }
  318. .enterprise-tips {
  319. margin: auto;
  320. margin-top: 10rpx;
  321. background: linear-gradient(to right, #8ff8fb, #47aeff);
  322. width: 140rpx;
  323. height: 60rpx;
  324. text-align: center;
  325. line-height: 60rpx;
  326. font-size: 24rpx;
  327. border-radius: 10rpx;
  328. color: #fff;
  329. }
  330. .logout {
  331. margin: auto;
  332. margin-top: 50rpx;
  333. width: 224rpx;
  334. height: 100rpx;
  335. background: linear-gradient(99deg, #8ff8fb 0%, #47aeff 100%);
  336. border-radius: 50rpx;
  337. font-weight: 800;
  338. font-size: 28rpx;
  339. color: #2b303a;
  340. text-align: center;
  341. line-height: 100rpx;
  342. }