common.scss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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. padding: 0px 5px 5px 5px;
  16. /* #ifdef H5 */
  17. margin-top: -1px;
  18. /* #endif */
  19. }
  20. .omit {
  21. white-space: nowrap;
  22. text-overflow: ellipsis;
  23. overflow: hidden;
  24. }
  25. .ellip {
  26. -webkit-line-clamp: 2;
  27. text-overflow: ellipsis;
  28. display: -webkit-box;
  29. -webkit-box-orient: vertical;
  30. overflow: hidden;
  31. margin-top: 7px;
  32. color: #666666;
  33. }
  34. .mt10 {
  35. margin-top: 10px;
  36. }
  37. .clear {
  38. clear: both;
  39. }
  40. .r {
  41. width: 100%;
  42. overflow: hidden;
  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: 30px;
  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. float: left;
  110. color: $font-c;
  111. margin-top: 7px;
  112. .limit {
  113. padding-left: 8px;
  114. font-size: 13px;
  115. font-weight: normal;
  116. color: darkgray;
  117. }
  118. }
  119. .re {
  120. &::before {
  121. content: '*';
  122. width: 0px;
  123. height: 0px;
  124. color: red;
  125. position: absolute;
  126. top: -7px;
  127. left: -8px;
  128. font-weight: bold;
  129. }
  130. }
  131. .bgm {
  132. color: white;
  133. border-radius: 5px;
  134. margin-top: 12px;
  135. position: relative;
  136. .input {
  137. border: 0px;
  138. width: 75%;
  139. margin-top: 0px;
  140. }
  141. .msg {
  142. position: absolute;
  143. right: 10px;
  144. top: 9px;
  145. }
  146. }
  147. .avatar {
  148. position: absolute;
  149. top: 0px;
  150. right: 0px;
  151. width: 55px;
  152. height: 55px;
  153. border-radius: 50%;
  154. }
  155. input {
  156. font-size: 15px;
  157. border-radius: 5px;
  158. padding: 10px 5px 10px 10px;
  159. width: 72%;
  160. float: right;
  161. text-align: right;
  162. }
  163. picker {
  164. position: relative;
  165. text-align: right;
  166. width: 72%;
  167. float: right;
  168. line-height: 0px;
  169. padding: 17px 7px 20px 0px;
  170. }
  171. textarea {
  172. font-size: 15px;
  173. border-radius: 5px;
  174. padding: 10px;
  175. margin-top: 40px;
  176. height: 120px;
  177. width: 93%;
  178. background-color: #f1f1f1;
  179. }
  180. .more {
  181. position: absolute;
  182. right: 3px;
  183. top: 18px;
  184. font-weight: normal;
  185. }
  186. }
  187. /*****设置**********/
  188. .cmd {
  189. margin-top: 30px;
  190. overflow: hidden;
  191. border-radius: 10px;
  192. .s_item {
  193. padding: 10px;
  194. background-color: white;
  195. color: $font-c;
  196. overflow: hidden;
  197. border-bottom: 1px solid #f0f2f7;
  198. &:last-child {
  199. border-bottom: 0px;
  200. }
  201. .ic {
  202. float: left;
  203. font-size: 25px;
  204. text-align: center;
  205. padding: 7px;
  206. border-radius: 50%;
  207. border: 1px solid $main-color;
  208. color: $main-color;
  209. }
  210. .title {
  211. color: #545555;
  212. padding-top: 11px;
  213. float: left;
  214. padding-left: 10px;
  215. }
  216. .arrow {
  217. font-size: 20px;
  218. float: right;
  219. color: #9a9a9a;
  220. margin-top: 10px;
  221. }
  222. }
  223. }
  224. .tips {
  225. font-size: 13px;
  226. background-color: $bg;
  227. padding: 8px;
  228. color: $main-color;
  229. overflow: hidden;
  230. .icon {
  231. font-size: 17px;
  232. float: left;
  233. padding-right: 3px;
  234. }
  235. }
  236. .popup {
  237. padding: 15px;
  238. background-color: white;
  239. border-radius: 10px;
  240. }