index.wxss 6.3 KB

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