修改公告公示页面

This commit is contained in:
linxd
2025-07-08 08:45:45 +08:00
parent 87fddbbbbc
commit 4fd58b5fb9
4 changed files with 38 additions and 6 deletions

View File

@ -22,7 +22,7 @@ body,
box-sizing: border-box; box-sizing: border-box;
margin-top: 57px; margin-top: 57px;
// height: calc(100% - 60px); // height: calc(100% - 60px);
overflow: auto; // overflow: auto;
// padding: 15px 0; // padding: 15px 0;
background: rgba(@gray, 0.3); background: rgba(@gray, 0.3);
.layout-content-main { .layout-content-main {

View File

@ -42,6 +42,7 @@
background-color: rgb(0,51,94); background-color: rgb(0,51,94);
color: #fff; color: #fff;
padding: 10px 0; padding: 10px 0;
margin-top: 60px;
.footer-content { .footer-content {
width: @width; width: @width;
margin: 0 auto; margin: 0 auto;

View File

@ -73,6 +73,7 @@
.search{ .search{
border: 1px solid rgba(@main-text-color-2, 0.1); border: 1px solid rgba(@main-text-color-2, 0.1);
padding: 20px; padding: 20px;
margin-bottom: 12px;
} }
} }
/* 覆盖antd样式 - 仅在announceContainer内生效 */ /* 覆盖antd样式 - 仅在announceContainer内生效 */
@ -168,10 +169,20 @@
} }
.announceList { .announceList {
background-color: #fff; display: flex;
padding: 10px; gap: 20px;
}
.supplierService{
border: 1px solid rgba(@main-text-color-2, 0.1);
padding: 20px;
margin-top: 12px;
margin-bottom: 20px;
width: 300px;
.supplierServiceTitle{
font-size: 16px;
font-weight: 500;
}
} }
.listItem { .listItem {
// border-bottom: 1px solid #f0f0f0; // border-bottom: 1px solid #f0f0f0;
} }

View File

@ -1,5 +1,5 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import { List, Tag } from 'antd'; import { Button, List, Tag } from 'antd';
import { history } from 'umi'; import { history } from 'umi';
import styles from './announce.less'; import styles from './announce.less';
import Search, { SearchFormData } from './Search'; import Search, { SearchFormData } from './Search';
@ -118,6 +118,7 @@ const AnnouncePage: React.FC = () => {
{/* 公告列表部分 */} {/* 公告列表部分 */}
<div className={styles.announceList}> <div className={styles.announceList}>
<List <List
style={{ flex: 1 }}
itemLayout="horizontal" itemLayout="horizontal"
dataSource={mockAnnounceData} dataSource={mockAnnounceData}
pagination={{ pagination={{
@ -164,6 +165,25 @@ const AnnouncePage: React.FC = () => {
</List.Item> </List.Item>
)} )}
/> />
<div>
<div className={styles.supplierService}>
<div className={styles.supplierServiceTitle}></div>
<img src="" alt="" />
<Button className={styles.downloadCenter}></Button>
<ul>
<li>
<i></i>
<span></span>
</li>
</ul>
<Button></Button>
<div>
.
</div>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>