| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278 |
- .create-opensource-wrapper {
- width: 1000px;
- padding: 25px 25px 45px;
- opacity: 1;
- background: #ffffff;
- border-radius: 10px;
- display: flex;
- flex-direction: column;
- align-items: center;
- .create-opensource-title {
- width: 100%;
- line-height: 37px;
- padding: 7px 0 25px;
- font-size: 26px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- text-align: center;
- color: #1d2a3a;
- border-bottom: 1px solid rgba(0,0,0,0.06);
- }
- .form-wrapper {
- position: relative;
- width: 768px;
- margin-top: 30px;
- .field-name {
- height: 20px;
- line-height: 20px;
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #19222e;
- .required {
- color: #ff0000;
- }
- }
- .title-field {
- position: relative;
- .title-input {
- width: 100%;
- margin-top: 5px;
- }
- }
- .content-field {
- position: relative;
- margin-top: 20px;
- .content-input {
- margin-top: 5px;
- }
- .content-editor {
- margin-top: 5px;
- .ql-show {
- border: 1px solid #d7dfe8;
- }
- }
- .content-field-name {
- height: 20px;
- line-height: 20px;
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #19222e;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .required {
- color: #ff0000;
- }
- .example {
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #308eff;
- cursor: pointer;
- }
- }
- }
- .price-field {
- position: relative;
- display: flex;
- margin-top: 20px;
- .price-wrapper {
- position: relative;
- width: 374px;
- .price-input {
- width: 100%;
- // height: 44px;
- margin-top: 5px;
- }
- .append {
- position: absolute;
- right: 18px;
- bottom: 14px;
- font-size: 14px;
- line-height: 14px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #19222e;
- }
- }
- .cate-wrapper {
- width: 100%;
- .cate-content {
- margin-top: 5px;
- width: 100%;
- display: flex;
- justify-content: space-between;
- }
- .cate-cascader {
- width: 100%;
- }
- // .cate-cascader,
- // .service-cate {
- // width: calc(50% - 5px);
- // }
- }
- }
- .image-field {
- position: relative;
- margin-top: 20px;
- .opensource-image-uploader {
- margin-top: 12px;
- }
- .upload-tips {
- margin-top: 12px;
- width: 100%;
- line-height: 20px;
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #999999;
- white-space: pre-line;
- }
- }
- .sourcelink-field {
- position: relative;
- margin-top: 20px;
- .sourcelink-input {
- width: 100%;
- margin-top: 5px;
- }
- }
- }
- .example-wrapper {
- position: relative;
- width: 768px;
- margin-top: 20px;
- padding: 20px;
- background: #f6f8f9;
- border-radius: 10px;
- display: flex;
- .example-content {
- flex: 1;
- .example-title {
- width: 100%;
- height: 20px;
- display: flex;
- align-items: center;
- .example-icon {
- width: 20px;
- height: 20px;
- }
- span {
- margin-left: 7px;
- font-size: 16px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #19222e;
- }
- }
- .example-text {
- width: 100%;
- margin-top: 18px;
- font-size: 12px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #222222;
- line-height: 18px;
- white-space: pre-line;
- }
- }
- .example-img {
- flex-shrink: 0;
- width: 173px;
- height: 234px;
- margin: 10px 0 0 20px;
- }
- }
- .actions-wrapper {
- width: 768px;
- margin-top: 32px;
- display: flex;
- align-items: center;
- .prev-btn {
- // width: 128px;
- // height: 42px;
- padding: 10px 0;
- font-size: 15px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #308eff;
- background: #ffffff;
- border: none;
- }
- .pcreate-btn {
- width: 128px;
- height: 42px;
- margin-left: 10px;
- background: #ffffff;
- border-radius: 7px;
- border: 1px solid #308eff;
- font-size: 15px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #308eff;
- }
- .create-btn {
- width: 200px;
- height: 44px;
- background: #308eff;
- border-radius: 7px;
- border: none;
- font-size: 15px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #ffffff;
- }
- }
- }
- // 图片裁剪
- .cropper-title {
- width: 100%;
- height: 28px;
- line-height: 28px;
- font-size: 20px;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- text-align: center;
- color: #222222;
- }
- .cropper-content {
- width: 100%;
- height: auto;
- position: relative;
- .cropper-container {
- width: 410px;
- height: 280px;
- }
- .action-wrapper {
- width: 100%;
- margin-top: 40px;
- display: flex;
- align-items: center;
- justify-content: center;
- .confirm-btn {
- width: 170px;
- height: 46px;
- background: #308eff;
- border-radius: 6px;
- margin-right: 12px;
- font-size: 15px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #ffffff;
- border: none !important;
- }
- .cancel-btn {
- width: 170px;
- height: 46px;
- background: #f4f5f9;
- border-radius: 6px;
- font-size: 15px;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #666666;
- border: none !important;
- }
- }
- }
|