myInfo.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /* pages/myInfo/myInfo.wxss */
  2. /* 设置本页面背景样式 */
  3. .wrapper {
  4. position: relative;
  5. padding:20rpx;
  6. background-color: #E2F0D9;
  7. }
  8. /* 顶部头像和昵称区域 */
  9. .headWrapper{
  10. display: flex;
  11. height: 180rpx;
  12. background-color: #FFF2CC;
  13. border-radius: 20rpx;
  14. align-items: center;
  15. }
  16. /* 头像 */
  17. .headImg{
  18. width: 120rpx;
  19. height: 120rpx;
  20. border-radius: 50%;
  21. margin-left: 20rpx;
  22. }
  23. /* 昵称和ID区域 */
  24. .headNick{
  25. margin-left: 40rpx;
  26. }
  27. .userNickName,
  28. .userId{
  29. height: 60rpx;
  30. line-height: 60rpx;
  31. }
  32. /* 昵称 */
  33. .userNickName{
  34. font-weight: bold;
  35. }
  36. /* ID */
  37. .userId{
  38. color: red;
  39. }
  40. /* 箭头样式 */
  41. .rightArrow{
  42. position: absolute;
  43. height: 40rpx;
  44. width: 40rpx;
  45. right: 40rpx;
  46. }
  47. /* 推荐分享 */
  48. .recommend,
  49. .orderList{
  50. display: flex;
  51. height: 80rpx;
  52. line-height: 80rpx;
  53. margin-top: 20rpx;
  54. padding-left: 20rpx;
  55. background-color: #FFF2CC;
  56. border-radius: 20rpx;
  57. align-items: center;
  58. }
  59. /* 邀请和收藏 */
  60. .invitation,
  61. .collection{
  62. display: flex;
  63. justify-content: space-between;
  64. }
  65. .myInvitation,
  66. .myCollected{
  67. width: 45%;
  68. display: flex;
  69. height: 80rpx;
  70. line-height: 80rpx;
  71. align-items: center;
  72. background-color: #FFF2CC;
  73. margin-top: 20rpx;
  74. padding-left: 20rpx;
  75. border-radius: 20rpx;
  76. position: relative;
  77. }
  78. /* 邀请和收藏的箭头 */
  79. .rightIcon{
  80. height: 40rpx;
  81. width: 40rpx;
  82. position: absolute;
  83. right: 30rpx;
  84. }
  85. /* 教员认证和课程发布、我的需求、投诉和建议样式 */
  86. .teachCourse,
  87. .myNeed,
  88. .suggest{
  89. background-color: #FFF2CC;
  90. border-radius: 20rpx;
  91. margin-top: 20rpx;
  92. padding: 20rpx 0 20rpx 20rpx;
  93. }
  94. .teachCourseDetail,
  95. .myNeedDetail,
  96. .suggestDetail{
  97. display: flex;
  98. height: 80rpx;
  99. line-height: 80rpx;
  100. align-items: center;
  101. }