修正按钮、上传页面
This commit is contained in:
父節點
b4a7a5a347
當前提交
0824757a66
未顯示二進位檔案。
之前 寬度: | 高度: | 大小: 50 KiB 之後 寬度: | 高度: | 大小: 46 KiB |
@ -3,13 +3,14 @@ a.btn {
|
|||||||
}
|
}
|
||||||
.btn {
|
.btn {
|
||||||
color: white !important;
|
color: white !important;
|
||||||
border-radius: .3rem;
|
border-radius: .3em;
|
||||||
padding: .375rem 0;
|
padding: .375em 0;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: filter .3s ease-out;
|
transition: filter .3s ease-out;
|
||||||
width: 5em;
|
width: 5em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
.btn:disabled {
|
.btn:disabled {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
@ -1,20 +1,27 @@
|
|||||||
.banner {
|
.banner {
|
||||||
height: 60px;
|
height: 80px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
padding: 10px 80px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
background-color: #9D0004;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sdu,
|
.sdu,
|
||||||
.user {
|
.user {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
.sdu-logo,
|
.sdu-logo,
|
||||||
.user-logo {
|
.user-logo {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
.sdu-name,
|
.sdu-name {
|
||||||
|
height: 40px;
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
.user-name {
|
.user-name {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
line-height: 60px;
|
line-height: 60px;
|
||||||
|
@ -5,6 +5,7 @@ import UploadUnit from '../components/UploadUnit/UploadUnit';
|
|||||||
import { post } from '../helper/axios';
|
import { post } from '../helper/axios';
|
||||||
import { apis } from '../helper/apis';
|
import { apis } from '../helper/apis';
|
||||||
import { alert } from '../helper/alert';
|
import { alert } from '../helper/alert';
|
||||||
|
import { images } from '../resources.json';
|
||||||
|
|
||||||
import './upload.css';
|
import './upload.css';
|
||||||
|
|
||||||
@ -56,8 +57,8 @@ export class UploadContainer extends Component {
|
|||||||
<div className="upload-container">
|
<div className="upload-container">
|
||||||
<div className="banner">
|
<div className="banner">
|
||||||
<div className="sdu">
|
<div className="sdu">
|
||||||
<img src="" className="sdu-logo" alt="logo" />
|
<img src={images.icon} className="sdu-logo" alt="logo" />
|
||||||
<div className="sdu-name">山东大学</div>
|
<img src={images.name} className="sdu-name" alt="" />
|
||||||
</div>
|
</div>
|
||||||
<div className="user">
|
<div className="user">
|
||||||
<img src="" className="user-avatar" alt="avatar" />
|
<img src="" className="user-avatar" alt="avatar" />
|
||||||
|
載入中…
x
新增問題並參考
Block a user