create.scss 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. .create-opensource-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-opensource-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: 100%;
  102. .cate-content {
  103. margin-top: 5px;
  104. width: 100%;
  105. display: flex;
  106. justify-content: space-between;
  107. }
  108. .cate-cascader {
  109. width: 100%;
  110. }
  111. // .cate-cascader,
  112. // .service-cate {
  113. // width: calc(50% - 5px);
  114. // }
  115. }
  116. }
  117. .image-field {
  118. position: relative;
  119. margin-top: 20px;
  120. .opensource-image-uploader {
  121. margin-top: 12px;
  122. }
  123. .upload-tips {
  124. margin-top: 12px;
  125. width: 100%;
  126. line-height: 20px;
  127. font-size: 14px;
  128. font-family: PingFangSC, PingFangSC-Regular;
  129. font-weight: 400;
  130. color: #999999;
  131. white-space: pre-line;
  132. }
  133. }
  134. .sourcelink-field {
  135. position: relative;
  136. margin-top: 20px;
  137. .sourcelink-input {
  138. width: 100%;
  139. margin-top: 5px;
  140. }
  141. }
  142. }
  143. .example-wrapper {
  144. position: relative;
  145. width: 768px;
  146. margin-top: 20px;
  147. padding: 20px;
  148. background: #f6f8f9;
  149. border-radius: 10px;
  150. display: flex;
  151. .example-content {
  152. flex: 1;
  153. .example-title {
  154. width: 100%;
  155. height: 20px;
  156. display: flex;
  157. align-items: center;
  158. .example-icon {
  159. width: 20px;
  160. height: 20px;
  161. }
  162. span {
  163. margin-left: 7px;
  164. font-size: 16px;
  165. font-family: PingFangSC, PingFangSC-Medium;
  166. font-weight: 500;
  167. color: #19222e;
  168. }
  169. }
  170. .example-text {
  171. width: 100%;
  172. margin-top: 18px;
  173. font-size: 12px;
  174. font-family: PingFangSC, PingFangSC-Regular;
  175. font-weight: 400;
  176. color: #222222;
  177. line-height: 18px;
  178. white-space: pre-line;
  179. }
  180. }
  181. .example-img {
  182. flex-shrink: 0;
  183. width: 173px;
  184. height: 234px;
  185. margin: 10px 0 0 20px;
  186. }
  187. }
  188. .actions-wrapper {
  189. width: 768px;
  190. margin-top: 32px;
  191. display: flex;
  192. align-items: center;
  193. .prev-btn {
  194. // width: 128px;
  195. // height: 42px;
  196. padding: 10px 0;
  197. font-size: 15px;
  198. font-family: PingFangSC, PingFangSC-Medium;
  199. font-weight: 500;
  200. color: #308eff;
  201. background: #ffffff;
  202. border: none;
  203. }
  204. .pcreate-btn {
  205. width: 128px;
  206. height: 42px;
  207. margin-left: 10px;
  208. background: #ffffff;
  209. border-radius: 7px;
  210. border: 1px solid #308eff;
  211. font-size: 15px;
  212. font-family: PingFangSC, PingFangSC-Medium;
  213. font-weight: 500;
  214. color: #308eff;
  215. }
  216. .create-btn {
  217. width: 200px;
  218. height: 44px;
  219. background: #308eff;
  220. border-radius: 7px;
  221. border: none;
  222. font-size: 15px;
  223. font-family: PingFangSC, PingFangSC-Medium;
  224. font-weight: 500;
  225. color: #ffffff;
  226. }
  227. }
  228. }
  229. // 图片裁剪
  230. .cropper-title {
  231. width: 100%;
  232. height: 28px;
  233. line-height: 28px;
  234. font-size: 20px;
  235. font-family: PingFangSC, PingFangSC-Semibold;
  236. font-weight: 600;
  237. text-align: center;
  238. color: #222222;
  239. }
  240. .cropper-content {
  241. width: 100%;
  242. height: auto;
  243. position: relative;
  244. .cropper-container {
  245. width: 410px;
  246. height: 280px;
  247. }
  248. .action-wrapper {
  249. width: 100%;
  250. margin-top: 40px;
  251. display: flex;
  252. align-items: center;
  253. justify-content: center;
  254. .confirm-btn {
  255. width: 170px;
  256. height: 46px;
  257. background: #308eff;
  258. border-radius: 6px;
  259. margin-right: 12px;
  260. font-size: 15px;
  261. font-family: PingFangSC, PingFangSC-Medium;
  262. font-weight: 500;
  263. color: #ffffff;
  264. border: none !important;
  265. }
  266. .cancel-btn {
  267. width: 170px;
  268. height: 46px;
  269. background: #f4f5f9;
  270. border-radius: 6px;
  271. font-size: 15px;
  272. font-family: PingFangSC, PingFangSC-Medium;
  273. font-weight: 500;
  274. color: #666666;
  275. border: none !important;
  276. }
  277. }
  278. }