index.wxss 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. /* pages/my/index/index.wxss */
  2. .mycontent {
  3. min-height: calc(100vh - 4rpx);
  4. background-size: 100% 100%;
  5. background-repeat: no-repeat;
  6. background-color: #f7f8fa;
  7. box-sizing: border-box;
  8. }
  9. /* 自定义导航栏 */
  10. .custom-navbar {
  11. background-size: 100% 451rpx;
  12. background-repeat: no-repeat;
  13. }
  14. .navbar-content {
  15. display: flex;
  16. align-items: center;
  17. justify-content: space-between;
  18. padding: 20rpx 30rpx;
  19. height: 88rpx;
  20. position: fixed;
  21. top: 0;
  22. left: 0;
  23. right: 0;
  24. z-index: 1000;
  25. background: transparent;
  26. }
  27. .navbar-left {
  28. position: relative;
  29. }
  30. .customer-service {
  31. width: 136rpx;
  32. display: flex;
  33. align-items: center;
  34. background: #2b58a5;
  35. border-radius: 30rpx;
  36. padding: 12rpx 24rpx;
  37. position: absolute;
  38. left: 0;
  39. top: -28rpx;
  40. box-sizing: border-box;
  41. }
  42. .service-icon {
  43. width: 28rpx;
  44. height: 28rpx;
  45. margin-right: 8rpx;
  46. flex-shrink: 0;
  47. }
  48. .customer-service text {
  49. flex-shrink: 0;
  50. font-size: 24rpx;
  51. color: #ffffff;
  52. }
  53. .navbar-center {
  54. flex: 1;
  55. text-align: center;
  56. }
  57. .navbar-title {
  58. font-size: 36rpx;
  59. font-weight: 600;
  60. /* color: #FFFFFF; */
  61. }
  62. .navbar-right {
  63. flex: 1;
  64. display: flex;
  65. justify-content: flex-end;
  66. }
  67. .more-icon {
  68. width: 44rpx;
  69. height: 44rpx;
  70. }
  71. /* 用户信息区域 */
  72. .mycontent .head {
  73. background-size: 100% 100%;
  74. background-repeat: no-repeat;
  75. padding-top: 120rpx;
  76. position: relative;
  77. }
  78. .user-info-container {
  79. padding: 0 30rpx 40rpx;
  80. }
  81. .user-basic-info {
  82. display: flex;
  83. /* align-items: flex-start; */
  84. align-items: center;
  85. margin-bottom: 30rpx;
  86. }
  87. .avatar-section {
  88. margin-right: 24rpx;
  89. }
  90. .user-avatar {
  91. width: 120rpx;
  92. height: 120rpx;
  93. border-radius: 50%;
  94. /* border: 4rpx solid #ffffff;
  95. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1); */
  96. }
  97. .user-details {
  98. flex: 1;
  99. /* padding-top: 8rpx; */
  100. }
  101. .user-name-row {
  102. display: flex;
  103. align-items: center;
  104. /* margin-bottom: 12rpx; */
  105. }
  106. .user-name {
  107. font-size: 36rpx;
  108. font-weight: 600;
  109. /* color: #FFFFFF; */
  110. margin-right: 10rpx;
  111. }
  112. .vip-icon {
  113. width: 32rpx;
  114. height: 32rpx;
  115. margin-right: 8rpx;
  116. }
  117. .gender-icon {
  118. width: 32rpx;
  119. height: 32rpx;
  120. border-radius: 50%;
  121. display: flex;
  122. align-items: center;
  123. justify-content: center;
  124. font-size: 20rpx;
  125. color: #ffffff;
  126. }
  127. .gender-icon.male {
  128. background: #4a90e2;
  129. }
  130. .gender-icon.female {
  131. background: #ff69b4;
  132. }
  133. .user-id-row {
  134. display: flex;
  135. align-items: center;
  136. }
  137. .user-id {
  138. font-size: 24rpx;
  139. color: #666666;
  140. margin-right: 16rpx;
  141. }
  142. .check-in {
  143. display: flex;
  144. align-items: center;
  145. justify-content: center;
  146. background: linear-gradient(180deg, #ec931a, #f3bb6f);
  147. border-radius: 10rpx;
  148. padding: 7rpx 13rpx;
  149. font-size: 22rpx;
  150. color: #ffffff;
  151. }
  152. .qr-code-section {
  153. padding: 16rpx;
  154. text-align: center;
  155. }
  156. .qr-icon {
  157. width: 57rpx;
  158. height: 57rpx;
  159. margin-bottom: 10rpx;
  160. background: #ecf6ff;
  161. }
  162. .qr-text {
  163. font-size: 24rpx;
  164. color: #1a1a1a;
  165. }
  166. /* 会员升级提示 */
  167. .vip-upgrade-banner {
  168. border-radius: 16rpx;
  169. padding: 24rpx;
  170. display: flex;
  171. align-items: center;
  172. justify-content: space-between;
  173. background-size: 100% 100%;
  174. background-repeat: no-repeat;
  175. }
  176. .vip-banner-left {
  177. display: flex;
  178. align-items: center;
  179. flex: 1;
  180. }
  181. .upgrade-icon {
  182. width: 48rpx;
  183. height: 48rpx;
  184. margin-right: 40rpx;
  185. }
  186. .upgrade-text {
  187. font-size: 28rpx;
  188. color: #ffffff;
  189. font-weight: 500;
  190. }
  191. .vip-banner-right {
  192. display: flex;
  193. align-items: center;
  194. }
  195. .vip-banner-right .righticon {
  196. font-size: 36rpx !important;
  197. color: #ffffff !important;
  198. }
  199. .upgrade-btn {
  200. font-size: 24rpx;
  201. color: #ffffff;
  202. margin-right: 2rpx;
  203. }
  204. .arrow {
  205. font-size: 24rpx;
  206. color: #5790f7;
  207. }
  208. /* 主要内容区域 */
  209. .main-content {
  210. padding: 30rpx;
  211. margin-top: -40rpx;
  212. position: relative;
  213. z-index: 10;
  214. }
  215. /* 我的积分 */
  216. .points-card {
  217. background: linear-gradient(180deg, #e5eafe, #ffffff 47%);
  218. border-radius: 20rpx;
  219. padding: 30rpx;
  220. display: flex;
  221. align-items: center;
  222. justify-content: space-between;
  223. /* box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.06); */
  224. margin-bottom: 30rpx;
  225. /* border: 2rpx dashed #e0e0e0; */
  226. }
  227. .points-left {
  228. display: flex;
  229. align-items: center;
  230. flex: 1;
  231. }
  232. .points-icon {
  233. width: 96rpx;
  234. height: 96rpx;
  235. margin-right: 15rpx;
  236. }
  237. .points-info {
  238. display: flex;
  239. flex-direction: column;
  240. }
  241. .points-label {
  242. font-size: 24rpx;
  243. color: #666666;
  244. margin-bottom: 8rpx;
  245. }
  246. .points-value {
  247. font-size: 48rpx;
  248. font-weight: bold;
  249. color: #4a90e2;
  250. }
  251. .points-right {
  252. display: flex;
  253. align-items: center;
  254. width: 188rpx;
  255. height: 61rpx;
  256. background: #ffffff;
  257. border: 1rpx solid #5790f7;
  258. border-radius: 32rpx;
  259. justify-content: center;
  260. }
  261. .points-action {
  262. font-size: 24rpx;
  263. color: #4a90e2;
  264. /* margin-right: 8rpx; */
  265. }
  266. .points-right .righticon{
  267. font-size: 36rpx !important;
  268. color: #4a90e2 !important;
  269. }
  270. /* 我的报名 */
  271. .my-registration {
  272. margin-bottom: 30rpx;
  273. /* height: 259px; */
  274. background: #ffffff;
  275. border-radius: 20rpx;
  276. padding: 40rpx 20rpx;
  277. }
  278. .section-title {
  279. font-size: 36rpx;
  280. font-weight: 600;
  281. color: #1a1a1a;
  282. margin-bottom: 20rpx;
  283. display: inline-block;
  284. position: relative;
  285. }
  286. .section-title::after {
  287. display: block;
  288. content: "";
  289. position: absolute;
  290. top: -6rpx;
  291. right: -3%;
  292. width: 30rpx;
  293. height: 30rpx;
  294. background-color: #005eff42;
  295. border-radius: 50%;
  296. z-index: 1;
  297. }
  298. .registration-cards {
  299. display: flex;
  300. align-items: center;
  301. justify-content: space-between;
  302. }
  303. .card-icon {
  304. width: 320rpx;
  305. height: 113rpx;
  306. }
  307. /* 功能菜单列表 */
  308. .menu-list {
  309. background: #ffffff;
  310. border-radius: 20rpx;
  311. overflow: hidden;
  312. box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.06);
  313. }
  314. .menu-item {
  315. display: flex;
  316. align-items: center;
  317. justify-content: space-between;
  318. padding: 32rpx 30rpx;
  319. border-bottom: 1rpx solid #f5f5f5;
  320. transition: background-color 0.2s ease;
  321. }
  322. .menu-item:last-child {
  323. border-bottom: none;
  324. }
  325. .menu-item:active {
  326. background-color: #f8f9fa;
  327. }
  328. .menu-left {
  329. display: flex;
  330. align-items: center;
  331. flex: 1;
  332. }
  333. .menu-icon {
  334. width: 44rpx;
  335. height: 44rpx;
  336. margin-right: 20rpx;
  337. }
  338. .menu-text {
  339. font-size: 28rpx;
  340. color: #333333;
  341. }
  342. .menu-item .righticon,
  343. .points-right .righticon,
  344. .vip-banner-right .righticon {
  345. font-size: 40rpx;
  346. color: #cccccc;
  347. font-family: "iconfont" !important;
  348. }