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); } }