common.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. .main{
  2. padding: 15px;
  3. .form{
  4. border-radius: 10px;
  5. background-color: white;
  6. }
  7. }
  8. .l_top {
  9. image {
  10. width: 100%;
  11. height: 170px;
  12. }
  13. }
  14. .tab {
  15. background-color: white;
  16. padding: 5px;
  17. /* #ifdef H5 */
  18. margin-top: -1px;
  19. /* #endif */
  20. }
  21. .omit {
  22. white-space: nowrap;
  23. text-overflow: ellipsis;
  24. overflow: hidden;
  25. }
  26. .ellip {
  27. -webkit-line-clamp: 2;
  28. text-overflow: ellipsis;
  29. display: -webkit-box;
  30. -webkit-box-orient: vertical;
  31. overflow: hidden;
  32. margin-top: 7px;
  33. color: #666666;
  34. }
  35. .mt10 {
  36. margin-top: 10px;
  37. }
  38. .clear {
  39. clear: both;
  40. }
  41. .r {
  42. width: 100%;
  43. }
  44. .r10 {
  45. width: 10%;
  46. float: left;
  47. }
  48. .r20 {
  49. width: 20%;
  50. float: left;
  51. }
  52. .r30 {
  53. width: 30%;
  54. float: left;
  55. }
  56. .r40 {
  57. width: 40%;
  58. float: left;
  59. }
  60. .r50 {
  61. width: 50%;
  62. float: left;
  63. }
  64. .r60 {
  65. width: 60%;
  66. float: left;
  67. }
  68. .r70 {
  69. width: 70%;
  70. float: left;
  71. }
  72. .r80 {
  73. width: 80%;
  74. float: left;
  75. }
  76. .r90 {
  77. width: 90%;
  78. float: left;
  79. }
  80. .flex {
  81. display: flex;
  82. text-align: center;
  83. .f {
  84. flex: 1;
  85. overflow: hidden;
  86. }
  87. }
  88. .btn {
  89. color: white;
  90. background-color: $main-color;
  91. border-radius: 7px;
  92. font-size: 14px;
  93. text-align: center;
  94. padding: 5px;
  95. box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.2);
  96. }
  97. .form_group {
  98. padding: 9px 15px 9px 15px;
  99. overflow: hidden;
  100. position: relative;
  101. border-bottom: 1px solid $line;
  102. &.form_group:last-child {
  103. border-bottom: 0px;
  104. }
  105. .lable {
  106. font-size: 15px;
  107. text-align: left;
  108. position: relative;
  109. font-weight: bold;
  110. float: left;
  111. color: $font-c;
  112. margin-top: 7px;
  113. .limit {
  114. padding-left: 8px;
  115. font-size: 13px;
  116. font-weight: normal;
  117. color: darkgray;
  118. }
  119. }
  120. .re {
  121. &::before {
  122. content: '*';
  123. width: 0px;
  124. height: 0px;
  125. color: red;
  126. position: absolute;
  127. top: -7px;
  128. left: -8px;
  129. font-weight: bold;
  130. }
  131. }
  132. .bgm {
  133. color: white;
  134. border-radius: 5px;
  135. margin-top: 12px;
  136. position: relative;
  137. .input {
  138. border: 0px;
  139. width: 75%;
  140. margin-top: 0px;
  141. }
  142. .msg {
  143. position: absolute;
  144. right: 10px;
  145. top: 9px;
  146. }
  147. }
  148. .avatar {
  149. position: absolute;
  150. top: 0px;
  151. right: 0px;
  152. width: 55px;
  153. height: 55px;
  154. border-radius: 50%;
  155. }
  156. input {
  157. font-size: 15px;
  158. border-radius: 5px;
  159. padding: 10px 5px 10px 10px;
  160. width: 72%;
  161. float: right;
  162. text-align: right;
  163. }
  164. picker {
  165. position: relative;
  166. text-align: right;
  167. width: 72%;
  168. float: right;
  169. line-height: 0px;
  170. padding: 17px 7px 20px 0px;
  171. }
  172. textarea {
  173. font-size: 15px;
  174. border-radius: 5px;
  175. padding: 10px;
  176. margin-top: 40px;
  177. height: 120px;
  178. width: 93%;
  179. background-color: #f1f1f1;
  180. }
  181. .more {
  182. position: absolute;
  183. right: 3px;
  184. top: 18px;
  185. font-weight: normal;
  186. }
  187. }
  188. /*****设置**********/
  189. .cmd {
  190. margin-top: 30px;
  191. overflow: hidden;
  192. border-radius: 10px;
  193. .s_item {
  194. padding: 10px;
  195. background-color: white;
  196. color: $font-c;
  197. overflow: hidden;
  198. border-bottom: 1px solid #f0f2f7;
  199. &:last-child{
  200. border-bottom:0px;
  201. }
  202. .ic {
  203. float: left;
  204. font-size: 25px;
  205. text-align: center;
  206. padding: 7px;
  207. border-radius: 50%;
  208. border: 1px solid $main-color;
  209. color:$main-color;
  210. }
  211. .title {
  212. color: #545555;
  213. padding-top: 11px;
  214. float: left;
  215. padding-left: 10px;
  216. }
  217. .arrow {
  218. font-size: 20px;
  219. float: right;
  220. color: #9a9a9a;
  221. margin-top: 10px;
  222. }
  223. }
  224. }