my-userinfo.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .bgImg {
  28. position: absolute;
  29. width: 100%;
  30. }
  31. .panel-list {
  32. padding: 0 10px;
  33. position: relative;
  34. top: -10px;
  35. }
  36. .panel-list .panel {
  37. background-color: white;
  38. border-radius: 10px;
  39. margin-bottom: 8px;
  40. }
  41. .panel-list .panel .panel-title {
  42. line-height: 40px;
  43. padding-left: 10px;
  44. font-size: 15px;
  45. border-bottom: 1px solid #f4f4f4;
  46. }
  47. .panel-list .panel .panel-body {
  48. display: flex;
  49. justify-content: space-around;
  50. }
  51. .panel-list .panel .panel-body .panel-item {
  52. display: flex;
  53. flex-direction: column;
  54. align-items: center;
  55. justify-content: space-around;
  56. padding: 10px 0;
  57. font-size: 13px;
  58. }
  59. .panel-list .panel .panel-body .panel-item .icon {
  60. width: 35px;
  61. height: 35px;
  62. }
  63. .panel-list-item {
  64. display: flex;
  65. justify-content: space-between;
  66. align-items: center;
  67. font-size: 15px;
  68. padding: 0 10px;
  69. line-height: 45px;
  70. }
  71. .home-page .head {
  72. position: relative;
  73. }
  74. .home-page .head .bgImg {
  75. top: 0;
  76. width: 100%;
  77. height: 400rpx;
  78. }
  79. .home-page .head .top-info {
  80. position: absolute;
  81. top: 60rpx;
  82. left: 30rpx;
  83. right: 30rpx;
  84. display: flex;
  85. align-items: center;
  86. justify-content: space-between;
  87. }
  88. .home-page .head .top-info .avatar image {
  89. width: 120rpx;
  90. height: 120rpx;
  91. border-radius: 50%;
  92. }
  93. .home-page .head .top-info .user-info .username {
  94. font-size: 36rpx;
  95. font-weight: bold;
  96. }
  97. .home-page .head .top-info .user-info .vip-info {
  98. font-size: 24rpx;
  99. color: #999;
  100. }
  101. .home-page .head .top-info .setting image {
  102. width: 50rpx;
  103. height: 50rpx;
  104. }
  105. .home-page .head .first-panel {
  106. position: absolute;
  107. bottom: -350rpx;
  108. left: 50%;
  109. -webkit-transform: translateX(-50%);
  110. transform: translateX(-50%);
  111. display: flex;
  112. justify-content: space-around;
  113. width: 95%;
  114. background-color: #fff;
  115. border-radius: 20rpx;
  116. padding: 20rpx 0;
  117. box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
  118. }
  119. .home-page .head .first-panel .panel-item {
  120. display: flex;
  121. flex-direction: column;
  122. align-items: center;
  123. font-size: 24rpx;
  124. }
  125. .home-page .head .first-panel .panel-item image {
  126. width: 50rpx;
  127. height: 50rpx;
  128. }
  129. .home-page .head .first-panel .panel-item text {
  130. margin-top: 10rpx;
  131. }