hotGroup.scss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. .c-view {
  2. height: 100%;
  3. background: #eeeeee;
  4. //width: 716px;
  5. // width: 100%;
  6. position: relative;
  7. overflow: hidden;
  8. }
  9. .box {
  10. @include webkitbox(2);
  11. }
  12. .box-hd {
  13. padding: 0 16px;
  14. border-bottom: 1px solid #d6d6d6;
  15. .title-wrap {
  16. position: relative;
  17. padding: 10px 0;
  18. font-size: 14px;
  19. color: #000;
  20. line-height: 40px;
  21. height: 40px;
  22. @include clearfix();
  23. &:before {
  24. content: "";
  25. display: inline-block;
  26. vertical-align: middle;
  27. margin-right: 10px;
  28. width: 2px;
  29. height: 12px;
  30. background: #299ef4;
  31. }
  32. span {
  33. float: right;
  34. color: #999999;
  35. cursor: pointer;
  36. }
  37. }
  38. }
  39. .box-bd {
  40. padding: 0 16px 16px;
  41. @include flex(1);
  42. overflow-y: auto;
  43. overflow-x: hidden;
  44. }
  45. .list-group {
  46. display: flex;
  47. flex-wrap: wrap;
  48. margin-right: -10%;
  49. }
  50. .group-item {
  51. margin: 30px 4% 0 0;
  52. width: 20%;
  53. cursor: pointer;
  54. position: relative;
  55. @include webkitbox(1);
  56. &.current {
  57. background: #3f424c;
  58. cursor: default;
  59. }
  60. .info {
  61. @include flex(1);
  62. position: relative;
  63. margin-left: 12px;
  64. }
  65. h3 {
  66. font-size: 12px;
  67. color: #333333;
  68. line-height: 20px;
  69. font-weight: 700;
  70. @include ellipsis;
  71. }
  72. p {
  73. font-size: 12px;
  74. color: #7c8ca5;
  75. margin: 10px 0 12px 0;
  76. padding-left: 20px;
  77. @include ellipsis;
  78. background: url("../../assets/recommend-group.png") 0 center no-repeat;
  79. }
  80. .avatar-wrap {
  81. position: relative;
  82. height: 50px;
  83. }
  84. .user-avatar {
  85. width: 50px;
  86. height: 50px;
  87. line-height: 50px;
  88. }
  89. img.user-avatar {
  90. display: block;
  91. }
  92. .el-button {
  93. padding: 0;
  94. border-radius: 2px;
  95. width: 48px;
  96. height: 20px;
  97. font-size: 12px;
  98. }
  99. .icon-auth {
  100. position: absolute;
  101. bottom: 0;
  102. right: 0;
  103. width: 14px;
  104. height: 13px;
  105. background: url("../../assets/icon-chat-auth.png");
  106. }
  107. }
  108. @media screen and (max-width: 900px) {
  109. .group-item {
  110. width: 28%;
  111. margin-right: 4%;
  112. }
  113. }
  114. //左侧边栏
  115. .c-panel-nav {
  116. .title-wrap {
  117. text-align: center;
  118. color: #fff;
  119. font-size: 12px;
  120. padding: 0;
  121. border-bottom: 1px solid #3e4046;
  122. &::before {
  123. display: none;
  124. }
  125. }
  126. .c-view,
  127. .box {
  128. background: transparent;
  129. }
  130. .box-hd {
  131. border-color: #3e4046;
  132. }
  133. .box-bd {
  134. padding: 0;
  135. }
  136. .list-group {
  137. margin-right: 0;
  138. }
  139. .group-item {
  140. width: 100%;
  141. padding: 10px 13px 10px 20px;
  142. margin: 0;
  143. h3 {
  144. color: #fff;
  145. font-weight: normal;
  146. }
  147. p {
  148. margin: 6px 0 0 0;
  149. }
  150. }
  151. .avatar-wrap {
  152. height: 40px;
  153. }
  154. .user-avatar {
  155. width: 40px;
  156. height: 40px;
  157. line-height: 40px;
  158. }
  159. .el-button {
  160. position: absolute;
  161. top: 10px;
  162. right: 0;
  163. }
  164. }
  165. .h5-wrap {
  166. .page-discover{
  167. .title-wrap{
  168. display: none;
  169. }
  170. }
  171. .title-wrap {
  172. border: 0;
  173. font-size: px2rem(27);
  174. color: #999999;
  175. text-align: center;
  176. padding: px2rem(99) 0 px2rem(30) 0;
  177. background: #fff;
  178. &::before {
  179. display: none;
  180. }
  181. }
  182. .c-view,
  183. .box {
  184. background: #fff;
  185. }
  186. .box-hd {
  187. border: 0;
  188. }
  189. .box-bd {
  190. padding: 0;
  191. }
  192. .list-group {
  193. margin-right: 0;
  194. }
  195. .group-item {
  196. width: 100%;
  197. padding: px2rem(24) px2rem(32);
  198. margin: 0;
  199. border-bottom: 1px solid #eeeeee;
  200. h3 {
  201. font-weight: normal;
  202. font-size: px2rem(32);
  203. color: #020202;
  204. margin-bottom: px2rem(14);
  205. line-height: px2rem(40);
  206. max-width: px2rem(420);
  207. }
  208. p {
  209. margin: 6px 0 0 0;
  210. font-size: px2rem(24);
  211. color: #9b9b9b;
  212. line-height: px2rem(40);
  213. }
  214. }
  215. .avatar-wrap {
  216. height: px2rem(90);
  217. .icon-auth {
  218. position: absolute;
  219. bottom: 0;
  220. right: 0;
  221. width: 14px;
  222. height: 13px;
  223. background: url("../../assets/icon-chat-auth.png");
  224. }
  225. }
  226. .user-avatar {
  227. width: px2rem(90);
  228. height: px2rem(90);
  229. line-height: px2rem(90);
  230. }
  231. .el-button {
  232. position: absolute;
  233. top: 50%;
  234. right: 0;
  235. margin-top: px2rem(-30);
  236. width: px2rem(120);
  237. height: px2rem(56);
  238. padding: 0;
  239. // font-size: px2rem(16);
  240. }
  241. }