hotGroup.scss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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. .title-wrap {
  167. border: 0;
  168. font-size: px2rem(27);
  169. color: #999999;
  170. text-align: center;
  171. padding: px2rem(99) 0 px2rem(30) 0;
  172. background: #fff;
  173. &::before {
  174. display: none;
  175. }
  176. }
  177. .c-view,
  178. .box {
  179. background: #fff;
  180. }
  181. .box-hd {
  182. border: 0;
  183. }
  184. .box-bd {
  185. padding: 0;
  186. }
  187. .list-group {
  188. margin-right: 0;
  189. }
  190. .group-item {
  191. width: 100%;
  192. padding: px2rem(24) px2rem(32);
  193. margin: 0;
  194. border-bottom: 1px solid #eeeeee;
  195. h3 {
  196. font-weight: normal;
  197. font-size: px2rem(32);
  198. color: #020202;
  199. margin-bottom: px2rem(14);
  200. line-height: px2rem(40);
  201. max-width: px2rem(420);
  202. }
  203. p {
  204. margin: 6px 0 0 0;
  205. font-size: px2rem(24);
  206. color: #9b9b9b;
  207. line-height: px2rem(40);
  208. }
  209. }
  210. .avatar-wrap {
  211. height: px2rem(90);
  212. .icon-auth {
  213. position: absolute;
  214. bottom: 0;
  215. right: 0;
  216. width: 14px;
  217. height: 13px;
  218. background: url("../../assets/icon-chat-auth.png");
  219. }
  220. }
  221. .user-avatar {
  222. width: px2rem(90);
  223. height: px2rem(90);
  224. line-height: px2rem(90);
  225. }
  226. .el-button {
  227. position: absolute;
  228. top: 50%;
  229. right: 0;
  230. margin-top: px2rem(-30);
  231. width: px2rem(120);
  232. height: px2rem(56);
  233. padding: 0;
  234. font-size: px2rem(16);
  235. }
  236. }