my.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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. .banner {
  153. width: 100%;
  154. /* height: calc((100vw - 20px) * (5 / 20)); */
  155. height: 200rpx;
  156. margin-top: 10rpx;
  157. border-radius: 10rpx;
  158. overflow: hidden;
  159. }
  160. .banner .swiper-item {
  161. display: flex;
  162. width: 100%;
  163. }
  164. .banner .swiper-item .swiper-item-image {
  165. display: block;
  166. width: 100%;
  167. border-radius: 5px;
  168. }
  169. .buy {
  170. display: flex;
  171. align-items: center;
  172. justify-content: center;
  173. height: 50px;
  174. border-radius: 8px;
  175. font-size: 14px;
  176. margin-top: 15px;
  177. background: linear-gradient(to right, #8ff8fb, #47aeff);
  178. }
  179. /* 卡片 */
  180. .card {
  181. background-color: #fff;
  182. border-radius: 8px;
  183. margin-top: 15px;
  184. box-shadow: 0 1px 8px rgba(122, 168, 222, 0.1);
  185. }
  186. .card-title {
  187. padding: 10px 20px 0 20px;
  188. font-weight: bold;
  189. }
  190. .act-wrap {
  191. display: flex;
  192. align-items: flex-end;
  193. width: 100%;
  194. padding: 15px 0px;
  195. }
  196. .act-item {
  197. display: inline-flex;
  198. align-items: center;
  199. justify-content: space-between;
  200. flex-direction: column;
  201. width: 25%;
  202. height: 50px;
  203. }
  204. .act-item .icon {
  205. display: block;
  206. width: 30px;
  207. height: 30px;
  208. }
  209. .act-item .name {
  210. font-size: 12px;
  211. }
  212. .act-item.about {
  213. height: auto;
  214. }
  215. .act-item.about .icon {
  216. width: 40px;
  217. height: 40px;
  218. }
  219. .playbil-box {
  220. position: relative;
  221. }
  222. .playbil-box .playbil-bg {
  223. width: 600rpx;
  224. }
  225. .enterprise-name {
  226. width: 600rpx;
  227. text-align: center;
  228. font-size: 22rpx;
  229. position: absolute;
  230. top: 610rpx;
  231. color: rgb(33, 111, 247);
  232. }
  233. .playbil-qrcode {
  234. position: absolute;
  235. left: 170rpx;
  236. top: 280rpx;
  237. width: 260rpx;
  238. height: 260rpx;
  239. }
  240. .enterprise-user {
  241. position: absolute;
  242. width: 600rpx;
  243. text-align: center;
  244. top: 880rpx;
  245. font-size: 22rpx;
  246. color: #fff;
  247. }
  248. .enterprise-tips {
  249. margin: auto;
  250. margin-top: 10rpx;
  251. background: linear-gradient(to right, #8ff8fb, #47aeff);
  252. width: 140rpx;
  253. height: 60rpx;
  254. text-align: center;
  255. line-height: 60rpx;
  256. font-size: 24rpx;
  257. border-radius: 10rpx;
  258. color: #fff;
  259. }
  260. .logout {
  261. margin: auto;
  262. margin-top: 50rpx;
  263. width: 224rpx;
  264. height: 100rpx;
  265. background: linear-gradient(99deg, #8ff8fb 0%, #47aeff 100%);
  266. border-radius: 50rpx;
  267. font-weight: 800;
  268. font-size: 28rpx;
  269. color: #2b303a;
  270. text-align: center;
  271. line-height: 100rpx;
  272. }