index.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. .content {
  27. padding: 0.625rem;
  28. }
  29. .content .user-info {
  30. padding: 0.9375rem;
  31. display: flex;
  32. align-items: center;
  33. justify-content: space-between;
  34. }
  35. .content .user-info .left {
  36. position: relative;
  37. display: flex;
  38. }
  39. .content .user-info .left .head-img {
  40. width: 3.75rem;
  41. height: 3.75rem;
  42. border-radius: 50%;
  43. overflow: hidden;
  44. margin-right: 0.9375rem;
  45. border: 0.125rem solid #FFFFFF;
  46. box-shadow: 0px 5px 15px 2px rgba(0, 0, 0, 0.1);
  47. }
  48. .content .user-info .left .head-img uni-image {
  49. width: 100%;
  50. height: 100%;
  51. }
  52. .content .user-info .left .name-phone {
  53. padding-top: 0.46875rem;
  54. }
  55. .content .user-info .left .name-phone .name {
  56. font-size: 1.125rem;
  57. font-family: PingFang SC;
  58. font-weight: bold;
  59. color: #111111;
  60. line-height: 1;
  61. }
  62. .content .user-info .left .name-phone .phone {
  63. font-size: 0.875rem;
  64. font-family: PingFang SC;
  65. font-weight: 500;
  66. color: #666666;
  67. line-height: 1;
  68. margin-top: 0.9375rem;
  69. }
  70. .content .user-info .msg-box {
  71. padding: 0.3125rem 0.625rem;
  72. font-size: 0.875rem;
  73. font-family: PingFang SC;
  74. font-weight: 500;
  75. color: #FFFFFF;
  76. border-radius: 0.25rem;
  77. background-color: #C39A58;
  78. }
  79. .content .used-tools {
  80. box-sizing: border-box;
  81. background: #FFFFFF;
  82. border-radius: 0.5rem;
  83. padding: 1.25rem 0.9375rem;
  84. }
  85. .content .used-tools .title {
  86. font-size: 1rem;
  87. font-family: PingFang SC;
  88. font-weight: bold;
  89. color: #222222;
  90. line-height: 1;
  91. }
  92. .content .used-tools .tools-list {
  93. margin-top: 1.5625rem;
  94. display: flex;
  95. flex-wrap: wrap;
  96. width: 100%;
  97. }
  98. .content .used-tools .tools-list .item {
  99. box-sizing: border-box;
  100. width: 25%;
  101. display: flex;
  102. flex-direction: column;
  103. align-items: center;
  104. justify-content: center;
  105. margin-bottom: 1.5625rem;
  106. position: relative;
  107. }
  108. .content .used-tools .tools-list .item uni-image {
  109. width: 1.375rem;
  110. height: 1.375rem;
  111. }
  112. .content .used-tools .tools-list .item .text {
  113. font-size: 0.75rem;
  114. font-family: PingFang SC;
  115. font-weight: 500;
  116. color: #111111;
  117. line-height: 1;
  118. margin-top: 0.625rem;
  119. }
  120. .content .used-tools .tools-list .item .share-btn {
  121. display: inline-block;
  122. position: absolute;
  123. top: 0;
  124. left: 0;
  125. width: 100%;
  126. height: 100%;
  127. opacity: 0;
  128. }
  129. .content .logout {
  130. height: 2.5rem;
  131. line-height: 2.5rem;
  132. text-align: center;
  133. font-size: 0.8125rem;
  134. font-family: PingFang SC;
  135. font-weight: 500;
  136. color: #666666;
  137. background: #FFFFFF;
  138. border-radius: 0.5rem;
  139. margin-top: 0.625rem;
  140. }