Staff.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. /* 页面和视图容器样式 */
  2. page,
  3. view {
  4. display: flex;
  5. }
  6. page {
  7. background-color: #f8f8f8;
  8. }
  9. .center {
  10. flex-direction: column;
  11. }
  12. /* Logo容器样式 */
  13. .logo {
  14. width: 750rpx;
  15. height: 240rpx;
  16. padding: 20rpx;
  17. box-sizing: border-box;
  18. background-color: #a9c6b6;
  19. flex-direction: row;
  20. align-items: center;
  21. }
  22. .logo-hover {
  23. opacity: 0.8;
  24. }
  25. .logo-img {
  26. width: 150rpx; /* 设置图片的大小 */
  27. height: 150rpx; /* 设置图片的大小 */
  28. border-radius: 150rpx; /* 圆形边框 */
  29. }
  30. /* Logo标题样式 */
  31. .logo-title {
  32. height: 150rpx;
  33. flex: 1;
  34. align-items: center;
  35. justify-content: space-between;
  36. flex-direction: row;
  37. margin-left: 20rpx;
  38. text-align: center; /* 确保昵称水平居中 */
  39. }
  40. /* 用户名样式 */
  41. .uer-name {
  42. font-size: 38rpx;
  43. color: #FFFFFF;
  44. line-height: 10rpx; /* 让文本垂直居中,但不会影响水平居中 */
  45. margin: 0; /* 移除上下间距 */
  46. }
  47. .go-login {
  48. height: 40rpx; /* 设置箭头图片的高度 */
  49. width: 40rpx; /* 设置箭头图片的宽度 */
  50. line-height: 90rpx; /* 图片垂直居中 */
  51. margin-left: 10rpx; /* 设置箭头和文本之间的间距 */
  52. object-fit: contain; /* 保证图片不被拉伸 */
  53. }
  54. .login-title {
  55. height: 150rpx;
  56. align-items: self-start;
  57. justify-content: center;
  58. flex-direction: column;
  59. margin-left: 20rpx;
  60. }
  61. /* 中心列表样式 */
  62. .center-list {
  63. background-color: #FFFFFF;
  64. margin-top: 20rpx;
  65. width: 750rpx;
  66. flex-direction: column;
  67. }
  68. /* 列表项样式 */
  69. .center-list-item {
  70. height: 90rpx;
  71. width: 750rpx;
  72. box-sizing: border-box;
  73. flex-direction: row;
  74. padding: 0 20rpx;
  75. display: flex;
  76. justify-content: center; /* 图片和文本水平居中 */
  77. align-items: center; /* 图片和文本垂直居中 */
  78. }
  79. /* 边框样式 */
  80. .border-bottom {
  81. border-bottom-width: 1rpx;
  82. border-color: #c8c7cc;
  83. border-bottom-style: solid;
  84. }
  85. /* 图片图标样式 */
  86. .list-icon {
  87. width: 40rpx; /* 设置图片宽度 */
  88. height: 40rpx; /* 设置图片高度 */
  89. margin-right: 10rpx; /* 图标和文本之间的间距 */
  90. object-fit: contain; /* 保证图片不被拉伸 */
  91. }
  92. /* 列表文字样式 */
  93. .list-text {
  94. height: 90rpx;
  95. line-height: 90rpx;
  96. font-size: 34rpx;
  97. color: #555;
  98. flex: 1;
  99. text-align: left; /* 使文字水平居中 */
  100. }
  101. /* 导航箭头样式 */
  102. .navigat-arrow {
  103. width: 40rpx; /* 设置箭头图片的宽度 */
  104. height: 40rpx; /* 设置箭头图片的高度 */
  105. margin-left: 10rpx; /* 设置箭头和文本之间的间距 */
  106. object-fit: contain; /* 保证图片不被拉伸 */
  107. }