修改配置文件及样式

This commit is contained in:
何童崇 2021-12-24 09:29:41 +08:00
parent f78492ebad
commit 2910282d77
2 changed files with 60 additions and 55 deletions

View File

@ -119,7 +119,7 @@
},
"scripts": {
"start": "node --max_old_space_size=15360 scripts/start.js",
"build": "set NODE_ENV=production node --max_old_space_size=15360 scripts/build.js",
"build": "cross-env NODE_ENV=production node --max_old_space_size=15360 scripts/build.js",
"test-build": "NODE_ENV=testBuild node --max_old_space_size=15360 scripts/build.js",
"pre-build": "NODE_ENV=preBuild node --max_old_space_size=15360 scripts/build.js",
"gen_stats": "NODE_ENV=production webpack --profile --config=./config/webpack.config.prod.js --json > stats.json",

View File

@ -1,70 +1,73 @@
.centerbox.detail{
.centerbox.detail {
font-size: 20px;
.navigation{
.navigation {
font-size: 0.6em;
margin: -35px 0 15px;
}
.center_flex{
.center_flex {
display: flex;
justify-content: space-between;
.register_left{
.register_left {
height: 10em;
font-size: 0.7em;
background-color: white;
padding: 0.4vw;
}
.register_right{
.register_right {
background-color: white;
&>p{
border-bottom: 1px solid #EEEEEE;
padding:.5em 2em;
& > p {
border-bottom: 1px solid #eeeeee;
padding: 0.5em 2em;
color: #181818;
font-size: 0.8em;
font-weight: bold;
}
&>div{
& > div {
padding: 1em 2em 1.5em;
&>table{
& .ant-form-item-required::before{
& > table {
& .ant-form-item-required::before {
position: relative;
top: -1px;
content: url('./image/required.svg');
content: url("./image/required.svg");
}
& .ant-input, .ant-select-selection{
& .ant-input,
.ant-select-selection {
width: 30.1em;
box-shadow: none;
&:focus, &:hover{
border: 1px solid #4154F1 !important;
&:focus,
&:hover {
border: 1px solid #4154f1 !important;
}
}
& tr td:first-child .ant-row.ant-form-item{
& tr td:first-child .ant-row.ant-form-item {
margin-right: 9em;
}
& .ant-input, .ant-input .ant-input-suffix {
background-color: #FFFFFF !important;
& .ant-input,
.ant-input .ant-input-suffix {
background-color: #ffffff !important;
}
& .ant-select-open .ant-select-selection{
border: 1px solid #4154F1 !important;
& .ant-select-open .ant-select-selection {
border: 1px solid #4154f1 !important;
}
& .ant-form-item{
& .ant-form-item {
margin-bottom: 0.5em;
}
& td>p{
& td > p {
margin: 0.3em 0 0.6em !important;
}
& .but41_border{
& .but41_border {
margin-bottom: 0.6em;
padding: 0 0.5em;
}
}
& .ant-cascader-menu-item:hover {
background: #F2F3FF;
background: #f2f3ff;
}
& .ant-form-item-label{
& .ant-form-item-label {
line-height: 2.5em;
}
}
& .buts{
& .buts {
font-size: 0.7em;
padding: 1.5em 2em;
background-color: #f5f5f5;
@ -72,69 +75,71 @@
}
}
}
.expert_register .ant-select-dropdown-menu-item:hover, .ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled){
background-color: #F2F3FF;
.expert_register .ant-select-dropdown-menu-item:hover,
.ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled) {
background-color: #f2f3ff;
}
.expert_modal .ant-modal-content{
.expert_modal .ant-modal-content {
width: 550px;
height: 318px;
& .ant-modal-header{
& .ant-modal-header {
padding: 0.6em 2.1em;
background: #F2F2FF;
background: #f2f2ff;
& .ant-modal-title {
text-align: left;
}
}
& .ant-modal-body{
& .ant-modal-body {
padding-left: 120px;
& p{
& p {
font-size: 16px;
color: #666666;
font-family: PingFangSC-Regular, PingFang SC;
line-height: 2.9em;
}
& .weight_bold{
& .weight_bold {
font-weight: bold;
}
& .warning::before{
content: url('./image/warning.svg');
& .warning::before {
content: url("./image/warning.svg");
width: 32px;
position: relative;
top: 11px;
left: -15px;
}
}
& .ant-btn{
& .ant-btn {
padding: 0 1.3em;
height: 2.55em;
border-radius: 4px;
cursor: pointer;
color: #404660;
border: 1px solid #E3E7ED;
border: 1px solid #e3e7ed;
width: 7em;
&:hover{
background-color: #F8F8F8;
border: 1px solid #E3E7ED;
&:hover {
background-color: #f8f8f8;
border: 1px solid #e3e7ed;
}
&:active{
background-color: #F3F3F3;
border: 1px solid #E3E7ED;
&:active {
background-color: #f3f3f3;
border: 1px solid #e3e7ed;
}
}
& .ant-btn.ant-btn-primary{
& .ant-btn.ant-btn-primary {
color: white;
background-color: #4154F1;
background-color: #4154f1;
margin-left: 2.5em;
&:hover{
background-color: #5D6EFF;
}
&:active{
background-color: #374BF2;
&:hover,
&:active,
&:focus {
background-color: #5d6eff;
}
}
& .ant-modal-footer {margin-top: 15px; }
& .ant-modal-footer {
margin-top: 15px;
}
}
.expert_modal.submit .ant-modal-body{
.expert_modal.submit .ant-modal-body {
padding-left: 0;
text-align: center;
}
}