index.wxss 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  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-row .sex{
  107. width: 30rpx;
  108. height: 30rpx;
  109. }
  110. .user-name {
  111. font-size: 36rpx;
  112. font-weight: 600;
  113. /* color: #FFFFFF; */
  114. margin-right: 10rpx;
  115. }
  116. .vip-icon {
  117. width: 32rpx;
  118. height: 32rpx;
  119. margin-right: 8rpx;
  120. }
  121. .gender-icon {
  122. width: 32rpx;
  123. height: 32rpx;
  124. border-radius: 50%;
  125. display: flex;
  126. align-items: center;
  127. justify-content: center;
  128. font-size: 20rpx;
  129. color: #ffffff;
  130. }
  131. .gender-icon.male {
  132. background: #4a90e2;
  133. }
  134. .gender-icon.female {
  135. background: #ff69b4;
  136. }
  137. .user-id-row {
  138. display: flex;
  139. align-items: center;
  140. }
  141. .user-id {
  142. font-size: 24rpx;
  143. color: #666666;
  144. margin-right: 16rpx;
  145. }
  146. .check-in {
  147. display: flex;
  148. align-items: center;
  149. justify-content: center;
  150. background: linear-gradient(180deg, #ec931a, #f3bb6f);
  151. border-radius: 10rpx;
  152. padding: 7rpx 13rpx;
  153. font-size: 22rpx;
  154. color: #ffffff;
  155. }
  156. .qr-code-section {
  157. padding: 16rpx;
  158. text-align: center;
  159. }
  160. .qr-icon {
  161. width: 57rpx;
  162. height: 57rpx;
  163. margin-bottom: 10rpx;
  164. background: #ecf6ff;
  165. }
  166. .qr-text {
  167. font-size: 24rpx;
  168. color: #1a1a1a;
  169. }
  170. /* 会员升级提示 */
  171. .vip-upgrade-banner {
  172. border-radius: 16rpx;
  173. padding: 24rpx;
  174. display: flex;
  175. align-items: center;
  176. justify-content: space-between;
  177. background-size: 100% 100%;
  178. background-repeat: no-repeat;
  179. }
  180. .vip-banner-left {
  181. display: flex;
  182. align-items: center;
  183. flex: 1;
  184. }
  185. .upgrade-icon {
  186. width: 48rpx;
  187. height: 48rpx;
  188. margin-right: 40rpx;
  189. }
  190. .upgrade-text {
  191. font-size: 28rpx;
  192. color: #ffffff;
  193. font-weight: 500;
  194. }
  195. .vip-banner-right {
  196. display: flex;
  197. align-items: center;
  198. }
  199. .vip-banner-right .righticon {
  200. font-size: 36rpx !important;
  201. color: #ffffff !important;
  202. }
  203. .upgrade-btn {
  204. font-size: 24rpx;
  205. color: #ffffff;
  206. margin-right: 2rpx;
  207. }
  208. .arrow {
  209. font-size: 24rpx;
  210. color: #5790f7;
  211. }
  212. /* 主要内容区域 */
  213. .main-content {
  214. padding: 30rpx;
  215. margin-top: -40rpx;
  216. position: relative;
  217. z-index: 10;
  218. }
  219. /* 我的积分 */
  220. .points-card {
  221. background: linear-gradient(180deg, #e5eafe, #ffffff 47%);
  222. border-radius: 20rpx;
  223. padding: 30rpx;
  224. display: flex;
  225. align-items: center;
  226. justify-content: space-between;
  227. /* box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.06); */
  228. margin-bottom: 30rpx;
  229. /* border: 2rpx dashed #e0e0e0; */
  230. }
  231. .points-left {
  232. display: flex;
  233. align-items: center;
  234. flex: 1;
  235. }
  236. .points-icon {
  237. width: 96rpx;
  238. height: 96rpx;
  239. margin-right: 15rpx;
  240. }
  241. .points-info {
  242. display: flex;
  243. flex-direction: column;
  244. }
  245. .points-label {
  246. font-size: 24rpx;
  247. color: #666666;
  248. margin-bottom: 8rpx;
  249. }
  250. .points-value {
  251. font-size: 48rpx;
  252. font-weight: bold;
  253. color: #4a90e2;
  254. }
  255. .points-right {
  256. display: flex;
  257. align-items: center;
  258. width: 188rpx;
  259. height: 61rpx;
  260. background: #ffffff;
  261. border: 1rpx solid #5790f7;
  262. border-radius: 32rpx;
  263. justify-content: center;
  264. }
  265. .points-action {
  266. font-size: 24rpx;
  267. color: #4a90e2;
  268. /* margin-right: 8rpx; */
  269. }
  270. .points-right .righticon{
  271. font-size: 36rpx !important;
  272. color: #4a90e2 !important;
  273. }
  274. /* 我的报名 */
  275. .my-registration {
  276. margin-bottom: 30rpx;
  277. /* height: 259px; */
  278. background: #ffffff;
  279. border-radius: 20rpx;
  280. padding: 40rpx 20rpx;
  281. }
  282. .section-title {
  283. font-size: 36rpx;
  284. font-weight: 600;
  285. color: #1a1a1a;
  286. margin-bottom: 20rpx;
  287. display: inline-block;
  288. position: relative;
  289. }
  290. .section-title::after {
  291. display: block;
  292. content: "";
  293. position: absolute;
  294. top: -6rpx;
  295. right: -3%;
  296. width: 30rpx;
  297. height: 30rpx;
  298. background-color: #005eff42;
  299. border-radius: 50%;
  300. z-index: 1;
  301. }
  302. .registration-cards {
  303. display: flex;
  304. align-items: center;
  305. justify-content: space-between;
  306. }
  307. .card-icon {
  308. width: 320rpx;
  309. height: 113rpx;
  310. }
  311. /* 功能菜单列表 */
  312. .menu-list {
  313. background: #ffffff;
  314. border-radius: 20rpx;
  315. overflow: hidden;
  316. box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.06);
  317. }
  318. .menu-item {
  319. display: flex;
  320. align-items: center;
  321. justify-content: space-between;
  322. padding: 32rpx 30rpx;
  323. border-bottom: 1rpx solid #f5f5f5;
  324. transition: background-color 0.2s ease;
  325. }
  326. .menu-item:last-child {
  327. border-bottom: none;
  328. }
  329. .menu-item:active {
  330. background-color: #f8f9fa;
  331. }
  332. .menu-left {
  333. display: flex;
  334. align-items: center;
  335. flex: 1;
  336. }
  337. .menu-icon {
  338. width: 44rpx;
  339. height: 44rpx;
  340. margin-right: 20rpx;
  341. }
  342. .menu-text {
  343. font-size: 28rpx;
  344. color: #333333;
  345. }
  346. .menu-item .righticon,
  347. .points-right .righticon,
  348. .vip-banner-right .righticon {
  349. font-size: 40rpx;
  350. color: #cccccc;
  351. font-family: "iconfont" !important;
  352. }