create.scss 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. .create-consult-wrapper {
  2. width: 1000px;
  3. padding: 25px 25px 45px;
  4. opacity: 1;
  5. background: #ffffff;
  6. border-radius: 10px;
  7. display: flex;
  8. flex-direction: column;
  9. align-items: center;
  10. .create-consult-title {
  11. width: 100%;
  12. line-height: 37px;
  13. padding: 7px 0 25px;
  14. font-size: 26px;
  15. font-family: PingFangSC, PingFangSC-Medium;
  16. font-weight: 500;
  17. text-align: center;
  18. color: #1d2a3a;
  19. border-bottom: 1px solid rgba(0,0,0,0.06);
  20. }
  21. .form-wrapper {
  22. position: relative;
  23. width: 768px;
  24. margin-top: 30px;
  25. .field-name {
  26. height: 20px;
  27. line-height: 20px;
  28. font-size: 14px;
  29. font-family: PingFangSC, PingFangSC-Medium;
  30. font-weight: 500;
  31. color: #19222e;
  32. .required {
  33. color: #ff0000;
  34. }
  35. }
  36. .title-field {
  37. position: relative;
  38. .title-input {
  39. width: 100%;
  40. margin-top: 5px;
  41. }
  42. }
  43. .content-field {
  44. position: relative;
  45. margin-top: 20px;
  46. .content-input {
  47. margin-top: 5px;
  48. }
  49. .content-editor {
  50. margin-top: 5px;
  51. .ql-show {
  52. border: 1px solid #d7dfe8;
  53. }
  54. }
  55. .content-field-name {
  56. height: 20px;
  57. line-height: 20px;
  58. font-size: 14px;
  59. font-family: PingFangSC, PingFangSC-Medium;
  60. font-weight: 500;
  61. color: #19222e;
  62. display: flex;
  63. align-items: center;
  64. justify-content: space-between;
  65. .required {
  66. color: #ff0000;
  67. }
  68. .example {
  69. font-size: 14px;
  70. font-family: PingFangSC, PingFangSC-Medium;
  71. font-weight: 500;
  72. color: #308eff;
  73. cursor: pointer;
  74. }
  75. }
  76. }
  77. .price-field {
  78. position: relative;
  79. display: flex;
  80. margin-top: 20px;
  81. .price-wrapper {
  82. position: relative;
  83. width: 374px;
  84. .price-input {
  85. width: 100%;
  86. // height: 44px;
  87. margin-top: 5px;
  88. }
  89. .append {
  90. position: absolute;
  91. right: 18px;
  92. bottom: 14px;
  93. font-size: 14px;
  94. line-height: 14px;
  95. font-family: PingFangSC, PingFangSC-Medium;
  96. font-weight: 500;
  97. color: #19222e;
  98. }
  99. }
  100. .cate-wrapper {
  101. width: 374px;
  102. margin-left: 20px;
  103. .cate-content {
  104. margin-top: 5px;
  105. width: 100%;
  106. display: flex;
  107. justify-content: space-between;
  108. }
  109. .cate-cascader {
  110. width: 100%;
  111. }
  112. // .cate-cascader,
  113. // .service-cate {
  114. // width: calc(50% - 5px);
  115. // }
  116. }
  117. }
  118. .week-field {
  119. margin-top: 32px;
  120. display: flex;
  121. align-items: center;
  122. .week-field-name {
  123. font-size: 14px;
  124. font-family: PingFangSC, PingFangSC-Medium;
  125. font-weight: 500;
  126. color: #19222e;
  127. margin-right: 10px;
  128. .required {
  129. color: #ff0000;
  130. }
  131. }
  132. }
  133. .time-field {
  134. margin-top: 32px;
  135. display: flex;
  136. .time-field-name {
  137. flex-shrink: 0;
  138. font-size: 14px;
  139. line-height: 40px;
  140. font-family: PingFangSC, PingFangSC-Medium;
  141. font-weight: 500;
  142. color: #19222e;
  143. margin-right: 10px;
  144. .required {
  145. color: #ff0000;
  146. }
  147. }
  148. .time-field-content {
  149. .time-field-cards {
  150. display: flex;
  151. .time-card {
  152. width: 100px;
  153. height: 56px;
  154. margin: 0 8px 12px 0;
  155. padding: 10px;
  156. background: #f4f5f9;
  157. border-radius: 5px;
  158. .time-card-title {
  159. width: 100%;
  160. height: 21px;
  161. line-height: 21px;
  162. font-size: 15px;
  163. font-family: PingFangSC, PingFangSC-Semibold;
  164. font-weight: 600;
  165. color: #222222;
  166. display: flex;
  167. align-items: center;
  168. justify-content: space-between;
  169. .close-icon {
  170. width: 15px;
  171. height: 15px;
  172. opacity: 0.7;
  173. cursor: pointer;
  174. }
  175. }
  176. .time-card-time {
  177. height: 17px;
  178. line-height: 17px;
  179. font-size: 12px;
  180. font-family: PingFangSC, PingFangSC-Regular;
  181. font-weight: 400;
  182. color: #222222;
  183. margin-top: 2px;
  184. }
  185. }
  186. }
  187. .time-item {
  188. .time-save-btn {
  189. margin-left: 12px;
  190. }
  191. .is-error {
  192. input {
  193. border-color: #f56c6c;
  194. }
  195. }
  196. }
  197. .time-error {
  198. margin-top: 8px;
  199. font-size: 12px;
  200. color: #ff0000;
  201. }
  202. }
  203. // .time-item {
  204. // margin-top: 5px;
  205. // }
  206. // .time-picker {
  207. // margin-top: 5px;
  208. // }
  209. }
  210. .image-field {
  211. position: relative;
  212. margin-top: 20px;
  213. .consult-image-uploader {
  214. margin-top: 12px;
  215. }
  216. .upload-tips {
  217. margin-top: 12px;
  218. width: 100%;
  219. line-height: 20px;
  220. font-size: 14px;
  221. font-family: PingFangSC, PingFangSC-Regular;
  222. font-weight: 400;
  223. color: #999999;
  224. white-space: pre-line;
  225. }
  226. }
  227. }
  228. .example-wrapper {
  229. position: relative;
  230. width: 768px;
  231. margin-top: 20px;
  232. padding: 20px;
  233. background: #f6f8f9;
  234. border-radius: 10px;
  235. display: flex;
  236. .example-content {
  237. flex: 1;
  238. .example-title {
  239. width: 100%;
  240. height: 20px;
  241. display: flex;
  242. align-items: center;
  243. .example-icon {
  244. width: 20px;
  245. height: 20px;
  246. }
  247. span {
  248. margin-left: 7px;
  249. font-size: 16px;
  250. font-family: PingFangSC, PingFangSC-Medium;
  251. font-weight: 500;
  252. color: #19222e;
  253. }
  254. }
  255. .example-text {
  256. width: 100%;
  257. margin-top: 18px;
  258. font-size: 12px;
  259. font-family: PingFangSC, PingFangSC-Regular;
  260. font-weight: 400;
  261. color: #222222;
  262. line-height: 18px;
  263. white-space: pre-line;
  264. }
  265. }
  266. .example-img {
  267. flex-shrink: 0;
  268. width: 173px;
  269. height: 234px;
  270. margin: 10px 0 0 20px;
  271. }
  272. }
  273. .actions-wrapper {
  274. width: 768px;
  275. margin-top: 32px;
  276. display: flex;
  277. align-items: center;
  278. .prev-btn {
  279. // width: 128px;
  280. // height: 42px;
  281. padding: 10px 0;
  282. font-size: 15px;
  283. font-family: PingFangSC, PingFangSC-Medium;
  284. font-weight: 500;
  285. color: #308eff;
  286. background: #ffffff;
  287. border: none;
  288. }
  289. .pcreate-btn {
  290. width: 128px;
  291. height: 42px;
  292. margin-left: 10px;
  293. background: #ffffff;
  294. border-radius: 7px;
  295. border: 1px solid #308eff;
  296. font-size: 15px;
  297. font-family: PingFangSC, PingFangSC-Medium;
  298. font-weight: 500;
  299. color: #308eff;
  300. }
  301. .create-btn {
  302. width: 128px;
  303. height: 44px;
  304. background: #308eff;
  305. border-radius: 7px;
  306. border: none;
  307. font-size: 15px;
  308. font-family: PingFangSC, PingFangSC-Medium;
  309. font-weight: 500;
  310. color: #ffffff;
  311. }
  312. }
  313. }