diff --git a/src/military/components/paginationTable/index.jsx b/src/military/components/paginationTable/index.jsx index 87f4da555..09290fab8 100644 --- a/src/military/components/paginationTable/index.jsx +++ b/src/military/components/paginationTable/index.jsx @@ -4,7 +4,7 @@ import './index.scss'; export default (props) => { const {className, loading, dataSource, columns, handleRow, total, setCurPage, current, rowSelection, expandedRowRender, expandIconColumnIndex, expandIconAsCell, onShowSizeChange, showSizeChanger, pagination, scroll,pageSize } = props; - +console.log(total); return (
import('./qz2022/introduce'), @@ -107,7 +108,7 @@ const Qz2022 = (props) => { {/* banner图+选项 */}
- } + {paths.indexOf(active) !== -1 &&
} {/* 大赛介绍 */} diff --git a/src/military/qz2022/fingerpost/index.jsx b/src/military/qz2022/fingerpost/index.jsx index 5bd32b8d3..afdd3af32 100644 --- a/src/military/qz2022/fingerpost/index.jsx +++ b/src/military/qz2022/fingerpost/index.jsx @@ -5,9 +5,9 @@ import '../../index.scss'; function Introduce({qzDetail }) { return ( -
-
2022年赛程说明
-
+
+
2022年赛程说明
+
) } diff --git a/src/military/qz2022/fingerpost/index.scss b/src/military/qz2022/fingerpost/index.scss index 13117c1fe..1f149bb06 100644 --- a/src/military/qz2022/fingerpost/index.scss +++ b/src/military/qz2022/fingerpost/index.scss @@ -1,8 +1,14 @@ .fingerpost{ + min-height: 35vh; + background-image: url('../image/f_bg.png'); + background-repeat: no-repeat; + background-size: cover; .fingerpost_head{ padding: 60px 0 30px; text-align: center; - border-bottom: 1px dashed #979797; font-weight: bold; } + .fingerpost_cont{ + padding-bottom: 50px; + } } \ No newline at end of file diff --git a/src/military/qz2022/image/f_bg.png b/src/military/qz2022/image/f_bg.png new file mode 100644 index 000000000..5d5e626f3 Binary files /dev/null and b/src/military/qz2022/image/f_bg.png differ diff --git a/src/military/qz2022/introduce/index.jsx b/src/military/qz2022/introduce/index.jsx index 974ff94d1..cff6edbd5 100644 --- a/src/military/qz2022/introduce/index.jsx +++ b/src/military/qz2022/introduce/index.jsx @@ -14,9 +14,27 @@ function Introduce({ qzDetail }) {
+<<<<<<< HEAD
“启智”2022作战概念·JSJSJS需求创新大赛
+======= +

“启智-2022”作战概念·事需求创新大赛

+ {/*
*/} +

创客以用户创新为核心理念,是面向知识社会 + 的创新2.0模式在设计与制造领域的典型体现。创 + 客运动最重要的标志是掌握了自生产工具, + 他们是一群新人类。

+ +

在中文里,“创”的含义是: + 开始做,创造,首创,开创,创立。它体现了一种 + 积极向上的生活态度。

+

+ 同时有一种通过行动和实践去发现问题和需求, + 并努力找到解决方案的含义...

+ {/*
*/} + +>>>>>>> cbbf17c2 (定制竞赛-issue)
diff --git a/src/military/qz2022/management/index.jsx b/src/military/qz2022/management/index.jsx index 04f923c9b..2153d4b08 100644 --- a/src/military/qz2022/management/index.jsx +++ b/src/military/qz2022/management/index.jsx @@ -24,19 +24,22 @@ function Introduce({history:{location:{pathname}},qzDetail }) { setType(pathname.substring(pathname.lastIndexOf('/')+1, pathname.lenght)); setZone('-1'); setSubCompetition('-1'); + setCurPage(1); }, [pathname]); useEffect(()=>{ setLoading(true); const params = { zone: zone === '-1' ? undefined : zone, - sub_competition: subCompetition === '-1' ? undefined : subCompetition + sub_competition: subCompetition === '-1' ? undefined : subCompetition, + page: curPage, + limit: 10 } if(type === "applys"){ // 报名列表 getQzEnrollList(params).then(response=>{ if(response && response.status === 200){ - setTotal(response.count); + setTotal(response.data.count); setDataList(response.data.data); } }).finally(()=>{ @@ -46,14 +49,14 @@ function Introduce({history:{location:{pathname}},qzDetail }) { // 提交作品列表 getQzProList(params).then(response=>{ if(response && response.status === 200){ - setTotal(response.count); + setTotal(response.data.count); setDataList(response.data.data); } }).finally(()=>{ setLoading(false); }) } - }, [type, zone, subCompetition]) + }, [type, zone, subCompetition, curPage]) let columns_apply = useMemo(() => { return [ @@ -196,7 +199,7 @@ function Introduce({history:{location:{pathname}},qzDetail }) { return 查看成员 } } - +console.log('管理', total); return (
@@ -224,7 +227,7 @@ function Introduce({history:{location:{pathname}},qzDetail }) { dataSource={dataList} columns={type==="applys" ? columns_apply : columns_production} total={total} - setCurPage={setCurPage} + setCurPage={(page)=>setCurPage(page)} current={curPage} expandedRowRender={qzDetail && qzDetail.is_local ? expandRow : expandRowWai} expandIconColumnIndex={8} diff --git a/src/military/qz2022/notice/index.jsx b/src/military/qz2022/notice/index.jsx index 2a11ed259..d5acc5a8e 100644 --- a/src/military/qz2022/notice/index.jsx +++ b/src/military/qz2022/notice/index.jsx @@ -14,7 +14,7 @@ function Notice({ form, showNotification, match, history }) { }, []); return ( -
+
diff --git a/src/military/qz2022/notice/index.scss b/src/military/qz2022/notice/index.scss index 937c50967..29a7e2a0a 100644 --- a/src/military/qz2022/notice/index.scss +++ b/src/military/qz2022/notice/index.scss @@ -1,12 +1,14 @@ .qz_notice{ min-height: 445px; - >.qz_main.not{ - margin-top: 48px; + &.bg{ background-image: url('../image/notice_bj.png'); background-position: center center; background-size: cover; background-repeat: no-repeat; } + >.qz_main.not{ + margin-top: 48px; + } >.qz_main.notice_detal{ min-height: 65vh; >.breadCrumb .icon_d{margin-top: -4px;} diff --git a/src/military/qz2022/refer/index.jsx b/src/military/qz2022/refer/index.jsx index b16812589..3eb812ae6 100644 --- a/src/military/qz2022/refer/index.jsx +++ b/src/military/qz2022/refer/index.jsx @@ -76,29 +76,31 @@ function Introduce({ form, showNotification, match, history, enrollStatus }) { } } return ( -
- - , - showRemoveIcon: false - }} - > - - - - {enrollStatus && enrollStatus.upload_status &&
您已上传作品压缩包,再次上传将会覆盖您上一次的提交。
} -
上传单个作品压缩包(仅限上传一个压缩包)
-
- +
+
+ + , + showRemoveIcon: false + }} + > + + + + {enrollStatus && enrollStatus.upload_status &&
您已上传作品压缩包,再次上传将会覆盖您上一次的提交。
} +
上传单个作品压缩包(仅限上传一个压缩包)
+
+ +
) } diff --git a/src/military/qz2022/refer/index.scss b/src/military/qz2022/refer/index.scss index 889743e1a..51656039e 100644 --- a/src/military/qz2022/refer/index.scss +++ b/src/military/qz2022/refer/index.scss @@ -1,12 +1,14 @@ +.refer_bg{ + padding: 40px 0 60px; +} .refer{ - background-color:#f8f9ff; - border:1px solid rgba(46, 91, 254, 0.37); + background-color:white; + // border:1px solid rgba(46, 91, 254, 0.37); border-radius:4px 4px 0px 0px; display: flex; align-items: center; flex-direction: column; padding: 66px 0 86px; - margin-top: 50px; .refer_img{ width: 48px; }