my.wxss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. .banner {
  2. position: relative;
  3. width: 750rpx;
  4. height: 373rpx;
  5. }
  6. .banner .bg {
  7. width: 100%;
  8. height: 100%;
  9. }
  10. .banner .avatar {
  11. border: 10rpx solid white;
  12. bottom: -25rpx;
  13. left: 50%;
  14. margin-left: -100rpx;
  15. position: absolute;
  16. overflow: hidden;
  17. width: 160rpx;
  18. height: 160rpx;
  19. background: white;
  20. border-radius: 180rpx;
  21. }
  22. .nickName {
  23. width: 100%;
  24. font-size: 30rpx;
  25. text-align: center;
  26. margin-top: 30rpx;
  27. }
  28. /* 页面导航 */
  29. .nav {
  30. overflow: hidden;
  31. box-sizing: border-box;
  32. padding: 15rpx;
  33. margin: 20rpx auto;
  34. width: 650rpx;
  35. height: 90rpx;
  36. border-bottom: 2rpx solid #eee;
  37. }
  38. .nav .icon {
  39. float: left;
  40. border-radius: 60rpx;
  41. border-right: 50rpx;
  42. width: 60rpx;
  43. height: 60rpx;
  44. }
  45. .nav .icon image {
  46. display: block;
  47. margin: 12rpx 14rpx;
  48. width: 30rpx;
  49. height: 32rpx;
  50. }
  51. .nav .text {
  52. float: left;
  53. line-height: 60rpx;
  54. font-size: 30rpx;
  55. margin-left: 15rpx;
  56. }
  57. .nav .arrows {
  58. margin-top: 16rpx;
  59. width: 18rpx;
  60. height: 30rpx;
  61. float: right;
  62. }
  63. /* 设备管理 */
  64. .device .icon {
  65. background: #75caff;
  66. }
  67. .device .icon image {
  68. margin: 12rpx 14rpx;
  69. width: 35rpx;
  70. height: 35rpx;
  71. }
  72. /* 个人信息 */
  73. .personInfo .icon {
  74. background: #c79bfa;
  75. }
  76. .personInfo .icon image {
  77. margin: 12rpx 14rpx;
  78. width: 30rpx;
  79. height: 32rpx;
  80. }
  81. /* 设置 */
  82. .set .icon {
  83. background: #ff8297;
  84. }
  85. .set .icon image {
  86. margin: 8rpx;
  87. width: 42rpx;
  88. height: 42rpx;
  89. }