10.30 修改详情页样式

This commit is contained in:
jl-zhoujl2
2022-10-30 11:31:17 +08:00
parent 8ae7936eea
commit c4c951ef3e
2 changed files with 26 additions and 26 deletions

View File

@ -147,10 +147,10 @@ const EventMaintenanceModal: React.FC<EventMaintenanceModalProps> = (props) => {
<Form.Item <Form.Item
name="title" name="title"
label="标题名称" label="标题名称"
rules={[{ required: !readOnly }]} rules={[{ required: !readOnly }, { max: typeSelect == "2" || typeSelect == "" ? 18 : 30, message: `此项不允许超过${typeSelect == "2" || typeSelect == "" ? 18 : 30}个汉字` }]}
tooltip="此项不超过18个汉字" tooltip={`此项不允许超过${typeSelect == "2" || typeSelect == "" ? 18 : 30}个汉字`}
> >
<Input maxLength={18} disabled={readOnly} placeholder="请填写标题(不超过18个汉字" /> <Input disabled={readOnly} placeholder={`请填写标题(不超过${typeSelect == "2" || typeSelect == "" ? 18 : 30}个汉字)`} />
</Form.Item> </Form.Item>
{typeSelect == "2" && <Form.Item {typeSelect == "2" && <Form.Item
name="secordTitle" name="secordTitle"

View File

@ -45,9 +45,10 @@
.contentBlock01 h3 { .contentBlock01 h3 {
padding: 30px 5px; padding: 30px 5px;
font-size: 30px; font-size: 28px;
line-height: 1.5; line-height: 1.5;
color: #888; font-family: '微软雅黑';
// color: #888;
text-align: center; text-align: center;
margin: 0; margin: 0;
font-weight: bold; font-weight: bold;
@ -55,19 +56,19 @@
.contentBlock01 .informText01 { .contentBlock01 .informText01 {
margin: 0 2%; margin: 0 2%;
padding: 10px 0; padding: 22px 24px;
width: 96%; width: 96%;
background: #fff; background: #fff;
font-size: 22px; font-size: 14pt;
color: #888; // color: #888;
border-radius: 8px; border-radius: 8px;
} }
.contentBlock01 .informText01 p { // .contentBlock01 .informText01 p {
padding: 20px; // padding: 20px;
text-indent: 45px; // text-indent: 45px;
line-height: 1.5; // line-height: 1.5;
} // }
.contentBlock02 { .contentBlock02 {
padding-bottom: 50px; padding-bottom: 50px;
@ -77,7 +78,8 @@
.contentBlock02 h3 { .contentBlock02 h3 {
padding: 30px 5px; padding: 30px 5px;
font-size: 30px; font-size: 28px;
font-family: '微软雅黑';
line-height: 1.5; line-height: 1.5;
color: #fff; color: #fff;
text-align: center; text-align: center;
@ -94,22 +96,20 @@
.contentBlock02 .informText02 { .contentBlock02 .informText02 {
margin: 0 5%; margin: 0 5%;
padding: 10px 0; padding: 22px 24px;
width: 90%; width: 90%;
font-size: 22px; font-size: 14pt;
color: #fff; color: #fff;
} }
// .contentBlock02 .informText02 img { .contentBlock02 .informText02 img {
// display: inherit; width: 60%;
// margin: 10px auto; }
// height: 488px;
// }
.contentBlock02 .informText02 p { // .contentBlock02 .informText02 p {
padding: 20px; // padding: 20px;
text-indent: 45px; // text-indent: 45px;
line-height: 1.5; // line-height: 1.5;
} // }
} }
} }