index.wxss 6.5 KB

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