add upload resource
Change-Id: I35f0f32f053f424c8dc03629e833e3f984389865
diff --git a/src/app/user/user.scss b/src/app/user/user.scss
index 0d044bc..a3726b6 100644
--- a/src/app/user/user.scss
+++ b/src/app/user/user.scss
@@ -1,3 +1,5 @@
+@import '../globals.scss';
+
//全局容器样式
.user-container {
max-width: 1200px;
@@ -170,3 +172,78 @@
+//发布资源弹窗样式
+.publish-dialog {
+ width: 600px !important;
+ max-width: 90vw;
+
+ .p-dialog-header {
+ font-size: 1.5rem;
+ font-weight: bold;
+ color: $heading-color;
+ padding-bottom: 0.5rem;
+ }
+
+ .p-dialog-content {
+ padding-top: 0;
+ padding-bottom: 0;
+
+ .publish-form {
+ display: flex;
+ flex-direction: column;
+ gap: 1.5rem;
+ margin-top: 1rem;
+
+ .form-field {
+ display: flex;
+ flex-direction: column;
+ gap: 0.5rem;
+
+ .form-field-header {
+
+ //*号的样式
+ .form-field-sign {
+ color: red;
+ margin-right: 5px;
+ }
+ }
+
+ label {
+ font-weight: 600;
+ color: $heading-color;
+ }
+
+ input,
+ textarea {
+ padding: 0.75rem 1rem;
+ border-radius: 8px;
+ font-size: 1rem;
+ color: #2d3748;
+ }
+
+
+ .p-fileupload {
+ .p-button {
+ width: 100%;
+ justify-content: center;
+ border: none;
+ margin-bottom: 1rem;
+ }
+ }
+
+ //资源分类样式
+ .form-field-classify {
+ display: flex;
+ justify-content: space-between;
+
+ .ml-2 {
+ margin-left: 10px;
+ }
+ }
+ }
+ }
+ }
+}
+
+
+