index.wxss 6.3 KB

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