relateGroup.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. .c-view {
  2. height: 100%;
  3. background: #eeeeee;
  4. width: 100%;
  5. position: relative;
  6. }
  7. .box {
  8. @include webkitbox(2);
  9. }
  10. .box-hd {
  11. padding: 0 16px;
  12. border-bottom: 1px solid #d6d6d6;
  13. .title-wrap {
  14. position: relative;
  15. padding: 10px 0;
  16. font-size: 14px;
  17. color: #000;
  18. line-height: 40px;
  19. height: 40px;
  20. @include clearfix();
  21. &:before {
  22. content: "";
  23. display: inline-block;
  24. vertical-align: middle;
  25. margin-right: 10px;
  26. width: 2px;
  27. height: 12px;
  28. background: #299ef4;
  29. }
  30. span {
  31. float: right;
  32. color: #999999;
  33. cursor: pointer;
  34. }
  35. }
  36. }
  37. .box-bd {
  38. padding: 0 20px;
  39. @include flex(1);
  40. overflow-x: hidden;
  41. overflow-y: auto;
  42. color: #333333;
  43. h2 {
  44. font-size: 18px;
  45. margin: 50px 0 30px;
  46. }
  47. }
  48. .no-data {
  49. text-align: center;
  50. h3 {
  51. font-size: 14px;
  52. }
  53. .icon-tele {
  54. display: block;
  55. margin: 30px auto 50px;
  56. width: 60px;
  57. height: 60px;
  58. background: url(../../assets/icon-tele.png) no-repeat;
  59. }
  60. .el-button {
  61. padding: 8px 40px;
  62. }
  63. }
  64. .list-group {
  65. display: flex;
  66. flex-wrap: wrap;
  67. margin-right: -10%;
  68. }
  69. .group-item {
  70. position: relative;
  71. width: 45%;
  72. height: 143px;
  73. margin: 0 10px 10px 0;
  74. background: #ffffff;
  75. border: 1px solid #c0c0c0;
  76. border-radius: 2px;
  77. font-size: 14px;
  78. color: #999999;
  79. line-height: 36px;
  80. padding: 16px 20px 0;
  81. box-sizing: border-box;
  82. &.ext-add {
  83. background: #f2f2f2;
  84. text-align: center;
  85. cursor: pointer;
  86. h3 {
  87. color: #333;
  88. text-align: left;
  89. }
  90. i {
  91. font-size: 54px;
  92. color: #ccc;
  93. }
  94. }
  95. h3 {
  96. color: #2499f1;
  97. }
  98. .btn-relate {
  99. position: absolute;
  100. right: 20px;
  101. top: 56px;
  102. font-size: 12px;
  103. }
  104. }
  105. .h5-wrap {
  106. .c-view {
  107. position: absolute;
  108. top: 0;
  109. right: 0;
  110. bottom: 0;
  111. left: 0;
  112. background: #fff;
  113. }
  114. .box {
  115. display: block;
  116. }
  117. .box-hd {
  118. display: none;
  119. }
  120. .box-bd {
  121. padding: 0 px2rem(24);
  122. h2 {
  123. margin: px2rem(96) 0 px2rem(69);
  124. font-size: px2rem(34);
  125. span {
  126. color: #409eff;
  127. display: block;
  128. font-size: px2rem(30);
  129. margin-top: px2rem(24);
  130. }
  131. }
  132. }
  133. .list-group {
  134. display: block;
  135. margin-right: 0;
  136. }
  137. .group-item {
  138. width: auto;
  139. height: px2rem(177);
  140. margin: 0 0 px2rem(30) 0;
  141. line-height: px2rem(45);
  142. padding: px2rem(21) px2rem(21) 0;
  143. &.ext-add {
  144. i {
  145. font-size: px2rem(60);
  146. }
  147. }
  148. .btn-relate {
  149. right: px2rem(21);
  150. top: px2rem(56);
  151. font-size: px2rem(30);
  152. padding: px2rem(15) px2rem(27);
  153. }
  154. }
  155. }