index.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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. .handle-fix-box {
  28. width: 100%;
  29. height: 60px;
  30. padding: 10px 15px;
  31. position: fixed;
  32. z-index: 2;
  33. bottom: 0px;
  34. left: 0px;
  35. background-color: #FFFFFF;
  36. box-sizing: border-box;
  37. }
  38. .content {
  39. width: 100%;
  40. height: 100vh;
  41. float: left;
  42. }
  43. .content .user-info {
  44. width: 100%;
  45. height: 110px;
  46. float: left;
  47. }
  48. .content .user-info .user-data {
  49. width: calc(100% - 110px);
  50. height: 110px;
  51. padding: 15px 0 15px 15px;
  52. float: left;
  53. }
  54. .content .user-info .user-data .user-name {
  55. width: 100%;
  56. float: left;
  57. font-size: 24px;
  58. line-height: 30px;
  59. margin-top: 10px;
  60. white-space: nowrap;
  61. overflow: hidden;
  62. text-overflow: ellipsis;
  63. }
  64. .content .user-info .user-data .user-phone {
  65. width: 100%;
  66. color: #cccccc;
  67. line-height: 30px;
  68. float: left;
  69. white-space: nowrap;
  70. overflow: hidden;
  71. text-overflow: ellipsis;
  72. }
  73. .content .user-info .user-img {
  74. width: 110px;
  75. height: 110px;
  76. padding: 15px;
  77. float: left;
  78. display: -webkit-box;
  79. display: -webkit-flex;
  80. display: flex;
  81. -webkit-box-align: center;
  82. -webkit-align-items: center;
  83. align-items: center;
  84. -webkit-box-pack: center;
  85. -webkit-justify-content: center;
  86. justify-content: center;
  87. }
  88. .content .member-box {
  89. white-space: nowrap;
  90. float: left;
  91. width: 100vw;
  92. height: 92px;
  93. }
  94. .content .member-box .member-card {
  95. width: calc(100vw - 30px);
  96. display: inline-block;
  97. border-radius: 10px;
  98. background-color: #ff6e3e;
  99. padding: 15px;
  100. margin: 0 15px 20px 15px;
  101. position: relative;
  102. }
  103. .content .member-box .member-card .member-info {
  104. width: calc(100% - 100px);
  105. float: left;
  106. }
  107. .content .member-box .member-card .member-info .member-title {
  108. font-size: 18px;
  109. line-height: 20px;
  110. color: #FFFFFF;
  111. font-weight: bold;
  112. }
  113. .content .member-box .member-card .member-info .member-text {
  114. margin-top: 5px;
  115. line-height: 16px;
  116. color: #FFFFFF;
  117. }
  118. .content .member-box .member-card .member-handle {
  119. width: 90px;
  120. height: 30px;
  121. margin-top: 6px;
  122. float: right;
  123. background-color: #FFFFFF;
  124. border-radius: 20px;
  125. font-size: 13px;
  126. color: #ff6e3e;
  127. text-align: center;
  128. font-weight: bold;
  129. line-height: 30px;
  130. }
  131. .content .user-handle {
  132. width: 100vw;
  133. height: 40px;
  134. float: left;
  135. padding: 0 15px;
  136. margin-bottom: 10px;
  137. display: -webkit-box;
  138. display: -webkit-flex;
  139. display: flex;
  140. -webkit-box-align: center;
  141. -webkit-align-items: center;
  142. align-items: center;
  143. }
  144. .content .user-handle .handle-icon {
  145. width: 40px;
  146. height: 40px;
  147. text-align: center;
  148. line-height: 40px;
  149. display: -webkit-box;
  150. display: -webkit-flex;
  151. display: flex;
  152. -webkit-box-align: center;
  153. -webkit-align-items: center;
  154. align-items: center;
  155. }
  156. .content .user-handle .handle-label {
  157. height: 40px;
  158. -webkit-box-flex: 1;
  159. -webkit-flex: 1;
  160. flex: 1;
  161. margin-left: 10px;
  162. line-height: 40px;
  163. font-size: 15px;
  164. position: relative;
  165. }
  166. .content .user-handle .handle-arrow {
  167. line-height: 40px;
  168. }
  169. .content .user-handle .share-text {
  170. width: 100vw;
  171. padding: 0 65px;
  172. font-size: 16px;
  173. text-align: left;
  174. color: #303133;
  175. background-color: transparent;
  176. position: absolute;
  177. left: -65px;
  178. }
  179. .content .user-handle .share-text:after {
  180. border: none;
  181. }