From b7fc83edf932341959b8dac9bc10425750e24f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= <2897217417@qq.com> Date: Thu, 26 Aug 2021 10:28:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=91=8A=E6=95=B0=E6=8D=AE=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/military/notice/noticeList/index.jsx | 18 ++++++++++-------- src/military/notice/noticeList/index.scss | 5 ++--- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/military/notice/noticeList/index.jsx b/src/military/notice/noticeList/index.jsx index 105f3ccf..19dea876 100644 --- a/src/military/notice/noticeList/index.jsx +++ b/src/military/notice/noticeList/index.jsx @@ -164,15 +164,17 @@ export default (props) => { function content() { if (tab === '0') { - return - {/* {callList.length <= 0 && changeList.length <= 0 && checkList.length <= 0 && abandonList.length <= 0 ? : ""} */} - {cont(callList, "招标公告", '4', "iconfont icon-zhaobiaogonggao")} - {cont(changeList, "更正公告", '1', "iconfont icon-gengzhenggonggao")} - {cont(checkList, "中标公告", '2', "iconfont icon-zhongbiaogonggao")} - {cont(abandonList, "废标公告", '3', "iconfont icon-feibiaogonggao")} - + if(callList.length === 0 && changeList.length === 0 && checkList.length === 0 && abandonList.length === 0){ + return + }else{ + return + {cont(callList, "招标公告", '4', "iconfont icon-zhaobiaogonggao")} + {cont(changeList, "更正公告", '1', "iconfont icon-gengzhenggonggao")} + {cont(checkList, "中标公告", '2', "iconfont icon-zhongbiaogonggao")} + {cont(abandonList, "废标公告", '3', "iconfont icon-feibiaogonggao")} + + } } else if (tab === '7') { - {/* {technologyList.length <= 0 && dealList.length <= 0 ? : ""} */} {/* {technologyList.length > 0 && cont(technologyList, "技术资产", '5',"iconfont icon-jishuzichan")} */} if(technologyList.length === 0 && dealList.length === 0){ diff --git a/src/military/notice/noticeList/index.scss b/src/military/notice/noticeList/index.scss index d0c88901..d563ea08 100644 --- a/src/military/notice/noticeList/index.scss +++ b/src/military/notice/noticeList/index.scss @@ -1,6 +1,3 @@ -body{ - caret-color: rgba(0, 0, 0, 0); -} .notice-list{ .ant-tabs { .ant-tabs-left-bar{ @@ -83,6 +80,7 @@ body{ } .center-right-but{ + caret-color: rgba(0, 0, 0, 0); .piece{ margin:0 .8rem; color: #aaa; @@ -106,6 +104,7 @@ body{ .navigationMenu{ margin-right: 24px; width: 15.4em; + caret-color: rgba(0, 0, 0, 0); } }