myInfo.wxss 2.0 KB

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