index.wxss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. .container {
  2. background-color: #f5f7fa;
  3. padding: 20rpx;
  4. }
  5. .header {
  6. display: flex;
  7. align-items: center;
  8. margin-bottom: 20rpx;
  9. }
  10. .avatar {
  11. width: 80rpx;
  12. height: 80rpx;
  13. border-radius: 50%;
  14. margin-right: 20rpx;
  15. }
  16. .user-info {
  17. display: flex;
  18. flex-direction: column;
  19. }
  20. .phone {
  21. font-size: 32rpx;
  22. font-weight: bold;
  23. }
  24. .personal-info {
  25. font-size: 28rpx;
  26. color: #999;
  27. }
  28. .my-study {
  29. background-color: #fff;
  30. border-radius: 20rpx;
  31. padding: 30rpx;
  32. margin-bottom: 25rpx;
  33. }
  34. .section-title {
  35. font-size: 32rpx;
  36. font-weight: bold;
  37. margin-bottom: 10rpx;
  38. }
  39. .function-icons {
  40. display: flex;
  41. justify-content: space-between;
  42. }
  43. .icon-item {
  44. display: flex;
  45. flex-direction: column;
  46. align-items: center;
  47. }
  48. .icon {
  49. width: 60rpx;
  50. height: 60rpx;
  51. margin-bottom: 10rpx;
  52. }
  53. .icon-text {
  54. font-size: 28rpx;
  55. }
  56. .function-list {
  57. background-color: #fff;
  58. border-radius: 10rpx;
  59. padding: 30rpx;
  60. }
  61. .function-item {
  62. display: flex;
  63. align-items: left;
  64. /* justify-content: space-between; */
  65. padding: 25rpx 0;
  66. border-bottom: 1rpx solid #eee;
  67. text-align: left; /* 让子元素内文本靠左对齐 */
  68. }
  69. .function-icon {
  70. width: 40rpx;
  71. height: 40rpx;
  72. margin-right: 20rpx;
  73. }
  74. .function-text {
  75. text-align: left;
  76. font-size: 32rpx;
  77. }