my.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  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. }
  155. .vehicle-card-content {
  156. display: flex;
  157. align-items: center;
  158. justify-content: space-between;
  159. }
  160. .vehicle-left {
  161. flex: 1;
  162. min-width: 0;
  163. }
  164. .vehicle-car-img {
  165. width: 200rpx;
  166. height: 120rpx;
  167. flex-shrink: 0;
  168. margin-left: 20rpx;
  169. }
  170. /* 未绑定车辆状态 */
  171. .vehicle-empty {
  172. display: flex;
  173. align-items: center;
  174. gap: 16rpx;
  175. margin-top: 20rpx;
  176. }
  177. .vehicle-add-btn {
  178. width: 48rpx;
  179. height: 48rpx;
  180. border-radius: 50%;
  181. background: linear-gradient( 180deg, #8FF8FB 0%, #47AEFF 100%);
  182. text-align: center;
  183. line-height: 48rpx;
  184. flex-shrink: 0;
  185. }
  186. .vehicle-add-icon {
  187. font-size: 40rpx;
  188. font-weight: 600;
  189. color: #fff;
  190. }
  191. .vehicle-add-text {
  192. font-size: 28rpx;
  193. color: #666;
  194. }
  195. /* 已绑定车辆状态 */
  196. .vehicle-bound {
  197. display: flex;
  198. align-items: center;
  199. gap: 16rpx;
  200. margin-top: 16rpx;
  201. }
  202. .vehicle-plate {
  203. font-size: 32rpx;
  204. font-weight: bold;
  205. color: #2b303a;
  206. letter-spacing: 2rpx;
  207. }
  208. .vehicle-manage-btn {
  209. display: flex;
  210. align-items: center;
  211. padding: 8rpx 16rpx;
  212. font-weight: bold;
  213. font-size: 28rpx;
  214. color: #3EB6F8;
  215. }
  216. .vehicle-manage-arrow {
  217. font-size: 22rpx;
  218. margin-left: 4rpx;
  219. }
  220. /* 版头广告 */
  221. .banner {
  222. width: 100%;
  223. /* height: calc((100vw - 20px) * (5 / 20)); */
  224. height: 200rpx;
  225. margin-top: 10rpx;
  226. border-radius: 10rpx;
  227. overflow: hidden;
  228. }
  229. .banner .swiper-item {
  230. display: flex;
  231. width: 100%;
  232. }
  233. .banner .swiper-item .swiper-item-image {
  234. display: block;
  235. width: 100%;
  236. border-radius: 5px;
  237. }
  238. .buy {
  239. display: flex;
  240. align-items: center;
  241. justify-content: center;
  242. height: 50px;
  243. border-radius: 8px;
  244. font-size: 14px;
  245. margin-top: 15px;
  246. background: linear-gradient(to right, #8ff8fb, #47aeff);
  247. }
  248. /* 卡片 */
  249. .card {
  250. background-color: #fff;
  251. border-radius: 8px;
  252. margin-top: 15px;
  253. box-shadow: 0 1px 8px rgba(122, 168, 222, 0.1);
  254. }
  255. .card-title {
  256. padding: 10px 20px 0 20px;
  257. font-weight: bold;
  258. }
  259. .act-wrap {
  260. display: flex;
  261. align-items: flex-end;
  262. width: 100%;
  263. padding: 15px 0px;
  264. }
  265. .act-item {
  266. display: inline-flex;
  267. align-items: center;
  268. justify-content: space-between;
  269. flex-direction: column;
  270. width: 25%;
  271. height: 50px;
  272. }
  273. .act-item .icon {
  274. display: block;
  275. width: 30px;
  276. height: 30px;
  277. }
  278. .act-item .name {
  279. font-size: 12px;
  280. }
  281. .act-item.about {
  282. height: auto;
  283. }
  284. .act-item.about .icon {
  285. width: 40px;
  286. height: 40px;
  287. }
  288. .playbil-box {
  289. position: relative;
  290. }
  291. .playbil-box .playbil-bg {
  292. width: 600rpx;
  293. }
  294. .enterprise-name {
  295. width: 600rpx;
  296. text-align: center;
  297. font-size: 22rpx;
  298. position: absolute;
  299. top: 610rpx;
  300. color: rgb(33, 111, 247);
  301. }
  302. .playbil-qrcode {
  303. position: absolute;
  304. left: 170rpx;
  305. top: 280rpx;
  306. width: 260rpx;
  307. height: 260rpx;
  308. }
  309. .enterprise-user {
  310. position: absolute;
  311. width: 600rpx;
  312. text-align: center;
  313. top: 880rpx;
  314. font-size: 22rpx;
  315. color: #fff;
  316. }
  317. .enterprise-tips {
  318. margin: auto;
  319. margin-top: 10rpx;
  320. background: linear-gradient(to right, #8ff8fb, #47aeff);
  321. width: 140rpx;
  322. height: 60rpx;
  323. text-align: center;
  324. line-height: 60rpx;
  325. font-size: 24rpx;
  326. border-radius: 10rpx;
  327. color: #fff;
  328. }
  329. .logout {
  330. margin: auto;
  331. margin-top: 50rpx;
  332. width: 224rpx;
  333. height: 100rpx;
  334. background: linear-gradient(99deg, #8ff8fb 0%, #47aeff 100%);
  335. border-radius: 50rpx;
  336. font-weight: 800;
  337. font-size: 28rpx;
  338. color: #2b303a;
  339. text-align: center;
  340. line-height: 100rpx;
  341. }