diff --git a/config/router.config.ts b/config/router.config.ts index d50a84e..9ddb4d4 100644 --- a/config/router.config.ts +++ b/config/router.config.ts @@ -3,19 +3,6 @@ export default [ path: '/login', component: '@/pages/login/login', }, - { - path: '/register', - routes: [ - { - path: '/register/supplier', - component: '@/pages/register/supplier', - }, - { - path: '/register/expert', - component: '@/pages/register/expert', - } - ] - }, { path: '/', component: '@/layouts/Index', @@ -84,7 +71,20 @@ export default [ name: 'helpQuestion', path: '/help/helpQuestion', component: '@/pages/help/helpQuestion', - } + }, + { + path: '/register', + routes: [ + { + path: '/register/supplier', + component: '@/pages/register/supplier', + }, + { + path: '/register/expert', + component: '@/pages/register/expert', + } + ] + }, ] }, diff --git a/src/assets/img/fileIcon.png b/src/assets/img/fileIcon.png new file mode 100644 index 0000000..1295a34 Binary files /dev/null and b/src/assets/img/fileIcon.png differ diff --git a/src/pages/announce/announce.less b/src/pages/announce/announce.less index 727258d..c5fd686 100644 --- a/src/pages/announce/announce.less +++ b/src/pages/announce/announce.less @@ -63,14 +63,14 @@ flex-wrap: wrap; } } -.announceContainer{ +.announceContainer { background-color: #fff; - .banner{ + .banner { width: 100%; height: 300px; margin-bottom: 20px; } - .search{ + .search { border: 1px solid rgba(@main-text-color-2, 0.1); padding: 20px; margin-bottom: 12px; @@ -87,9 +87,9 @@ min-width: 60px; text-align: center; padding: 0 10px; - border-left-width:1px; + border-left-width: 1px; background: rgb(244, 244, 245); - &:before{ + &:before { display: none; } } @@ -117,7 +117,8 @@ background-color: rgb(0, 79, 142); border-color: rgb(0, 79, 142); border-radius: 0; - &:hover, &:focus { + &:hover, + &:focus { background-color: rgba(0, 79, 142, 0.8); border-color: rgba(0, 79, 142, 0.8); } @@ -172,21 +173,62 @@ display: flex; gap: 20px; } -.supplierService{ +.supplierService { border: 1px solid rgba(@main-text-color-2, 0.1); padding: 20px; margin-top: 12px; margin-bottom: 20px; width: 300px; - .supplierServiceTitle{ + .supplierServiceTitle { font-size: 16px; font-weight: 500; } + .downloadCenterBtn { + margin: 10px auto; + width: 150px; + color: #fff; + // #54d0d7 #0195a2 渐变 + background: linear-gradient(to bottom, #54d0d7, #0195a2); + text-align: center; + padding: 5px 0; + cursor: pointer; + } + .downloadCenterBtn2 { + background: linear-gradient(to bottom, #005faf, #004f8f); + } + .downloadCenterDesc { + background-color: #ededed; + padding: 15px; + // border-radius: 5px; + // margin-top: 10px; + // font-size: 12px; + // color: #666; + } +} +.downloadCenterList { + list-style: none; + padding: 0; + margin: 0; + margin-top: 20px; + margin-bottom: 20px; + li { + display: flex; + align-items: center; + gap: 10px; + cursor: pointer; + line-height: 26px; + &:hover { + text-decoration: underline; + } + img { + width: 12px; + } + } } .listItem { // border-bottom: 1px solid #f0f0f0; } -.ant-list-item{ +.ant-list-item { border-bottom: none !important; } .itemContent { @@ -202,14 +244,14 @@ justify-content: space-between; gap: 10px; } -.itemInfo{ +.itemInfo { flex: 1; } -.itemCompany{ +.itemCompany { color: @main-text-color-1; font-size: 14px; } -.itemDate{ +.itemDate { color: @main-text-color-2; font-size: 12px; margin-top: 10px; @@ -219,13 +261,13 @@ min-width: 90px; text-align: center; } -.itemLastTime{ +.itemLastTime { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; - .itemLastTimeNum{ + .itemLastTimeNum { color: @main-text-color-1; background-color: @main-danger-color; color: #fff; @@ -234,7 +276,7 @@ font-size: 14px; width: 100%; } - .itemLastTimeBtn{ + .itemLastTimeBtn { background: rgba(@main-danger-color, 0.1); border: 1px solid rgba(@main-danger-color, 0.5); color: @main-danger-color; @@ -260,15 +302,15 @@ font-size: 14px; border-top: 1px solid rgba(@main-text-color-2, 0.1); padding-top: 10px; - .itemFooterLeft{ + .itemFooterLeft { flex: 1; display: flex; gap: 10px; } - .itemFooterRight{ + .itemFooterRight { min-width: 180px; text-align: right; - .itemFooterRightBtn{ + .itemFooterRightBtn { color: @main-color; cursor: pointer; } @@ -282,4 +324,3 @@ min-width: 180px; text-align: right; } - diff --git a/src/pages/announce/announce.tsx b/src/pages/announce/announce.tsx index 4b3a865..9a907a3 100644 --- a/src/pages/announce/announce.tsx +++ b/src/pages/announce/announce.tsx @@ -169,17 +169,25 @@ const AnnouncePage: React.FC = () => {
供应商服务
- -