From b88c5b1faf89956cdd63211db3ec39a640ef022c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=AB=A5=E5=B4=87?= Date: Thu, 3 Jun 2021 10:00:24 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E7=9A=84=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Component/HeadSearch.jsx | 40 ++++++++++++++++++ src/forge/Component/SiderBar.js | 2 +- src/forge/Head/Header.js | 66 +++++++++++++++--------------- 3 files changed, 75 insertions(+), 33 deletions(-) create mode 100644 src/forge/Component/HeadSearch.jsx diff --git a/src/forge/Component/HeadSearch.jsx b/src/forge/Component/HeadSearch.jsx new file mode 100644 index 00000000..6a61e644 --- /dev/null +++ b/src/forge/Component/HeadSearch.jsx @@ -0,0 +1,40 @@ +import React, { useState } from "react"; +import { Input ,notification} from "antd"; + +const { Search } = Input; +export default ({history}) => { + const [openSearch, setOpenSearch] = useState(false); + + function onGlobalSearch(value) { + history.push('/search?value=' + value); + // window.location.href = `search?value=` + value; + // history.push({ + // pathname:'/search', + // state:value + // }) + } + return ( + + { + openSearch ? +
{ + setTimeout(() => { + setOpenSearch(false) + }, 500) + }} + > + +
+ : + { + setOpenSearch(true) + }} /> + } +
+ ) +}; diff --git a/src/forge/Component/SiderBar.js b/src/forge/Component/SiderBar.js index 8267959b..3d6b8acf 100644 --- a/src/forge/Component/SiderBar.js +++ b/src/forge/Component/SiderBar.js @@ -43,7 +43,7 @@ function SiderBar() { { list && list.map((i,k)=>{ return( -
  • {i.question}
  • +
  • {i.question}
  • ) }) } diff --git a/src/forge/Head/Header.js b/src/forge/Head/Header.js index 4d55f824..f3b69c4e 100644 --- a/src/forge/Head/Header.js +++ b/src/forge/Head/Header.js @@ -5,7 +5,8 @@ import axios from 'axios'; import { Modal, Input, message, notification , Dropdown , Menu } from 'antd'; import LoginDialog from '../../modules/login/LoginDialog'; -import GotoQQgroup from '../../modal/GotoQQgroup' +import GotoQQgroup from '../../modal/GotoQQgroup'; +import HeadSearch from '../Component/HeadSearch'; import '../../modules/tpm/TPMIndex.css'; import logo from '../../modules/tpm/images/logo.png'; @@ -81,35 +82,35 @@ class NewHeader extends Component { } catch (e) {} } - SearchInput = (open,item)=>{ - if(open){ - return( -
    { - setTimeout(() => { - this.setState({ - openSearch:false - }) - }, 300) - }} - > - this.onGlobalSearch(value,item)} - autoFocus={true} - /> -
    - ) - }else{ - return { - this.setState({openSearch:true}) - }} /> - } - } + // SearchInput = (open,item)=>{ + // if(open){ + // return( + //
    { + // setTimeout(() => { + // this.setState({ + // openSearch:false + // }) + // }, 300) + // }} + // > + // this.onGlobalSearch(value,item)} + // autoFocus={true} + // /> + //
    + // ) + // }else{ + // return { + // this.setState({openSearch:true}) + // }} /> + // } + // } - onGlobalSearch=(value,item)=>{ - window.location.href=`${item}?value=` + value; - } + // onGlobalSearch=(value,item)=>{ + // window.location.href=`${item}?value=` + value; + // } openNotification = (messge) => { notification.open({ @@ -329,7 +330,7 @@ class NewHeader extends Component { { list.map((item,key)=>{ return( - (item.name !=="加入课堂" && item.name !=="加入开发项目") && {item.name} + (item.name !=="加入课堂" && item.name !=="加入开发项目") && {item.name} ) }) } @@ -434,7 +435,7 @@ class NewHeader extends Component { }) } - let search_url = settings && settings.common && settings.common.search; + // let search_url = settings && settings.common && settings.common.search; let notice_url = settings && settings.common && settings.common.notice; return (
    @@ -503,7 +504,8 @@ class NewHeader extends Component { }
    - {search_url ? this.SearchInput(openSearch,search_url):""} + {/* {search_url ? this.SearchInput(openSearch,search_url):""} */} + { current_user && (current_user.main_site || current_user.login) && (settings && settings.add && settings.add.length>0)? From dd9c11dbd9a96248ce275daea98f24dd3b23b614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=AB=A5=E5=B4=87?= Date: Thu, 3 Jun 2021 10:37:03 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E7=9A=84=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.js | 8 ++ src/modules/search/ItemList.jsx | 31 +++++ src/modules/search/index.jsx | 204 ++++++++++++++++++++++++++++++++ src/modules/search/index.scss | 82 +++++++++++++ 4 files changed, 325 insertions(+) create mode 100644 src/modules/search/ItemList.jsx create mode 100644 src/modules/search/index.jsx create mode 100644 src/modules/search/index.scss diff --git a/src/App.js b/src/App.js index 556d5c4d..5105d3ec 100644 --- a/src/App.js +++ b/src/App.js @@ -73,6 +73,10 @@ const EducoderLogin = Loadable({ loader: () => import('./modules/login/EducoderLogin'), loading: Loading, }) +const Search = Loadable({ + loader: () => import('./modules/search/'), + loading: Loading, +}) class App extends Component { constructor(props) { @@ -247,6 +251,10 @@ class App extends Component { {/*404*/} + + {/* 查询 */} + + {/* 个人主页 */} { + const { list } = props; + + function itemClick(item) { + item.url && window.open(item.url); + } + + return ( + + list.map((item, i) => { + return ( +
    +
    +

    { itemClick(item) }}>

    + + {item.type == 1 &&

    + {item.watchersCount} + {item.praisesCount} + {item.forkedCount} +

    } + +
    +

    +
    {item.updateTime}
    +
    + ) + }) + ) +} \ No newline at end of file diff --git a/src/modules/search/index.jsx b/src/modules/search/index.jsx new file mode 100644 index 00000000..a93d6f02 --- /dev/null +++ b/src/modules/search/index.jsx @@ -0,0 +1,204 @@ +import React, { useEffect, useState } from 'react'; +import { Input, Row, Col, Tabs, Pagination } from 'antd'; +import axios from 'axios'; +import { TPMIndexHOC } from '../tpm/TPMIndexHOC'; +import { SnackbarHOC } from 'educoder'; +import ItemList from './ItemList'; +import Nodata from '../../forge/Nodata'; +import './index.scss'; + +const { Search } = Input; +const { TabPane } = Tabs; + +// const https = 'http://192.168.0.77:8081'; //曾伟内网后台 +// const https = 'http://192.168.31.104:8081'; //曾伟外网后台 +const https='http://106.75.31.211:58081'; + +const GlobalSearch = ({ location, showNotification }) => { + + const size = 10; + let defaultValue = decodeURI(location.search.split("=")[1] || ""); + + const [term, setTerm] = useState(defaultValue); + const [type, setType] = useState(1); + const [page, setPage] = useState(1); + const [total, setTotal] = useState(0); + const [dataList, setDataList] = useState([]); + + const [forcesearch, setForcesearch] = useState(false); + + const [totalType1, setTotalType1] = useState(0); + const [totalType2, setTotalType2] = useState(0); + const [totalType3, setTotalType3] = useState(0); + const [totalType4, setTotalType4] = useState(0); + + + useEffect(() => { + setTerm(defaultValue); + }, defaultValue) + + useEffect(() => { + searchDataList(); + }, [type, page, term, forcesearch]); + + + function searchFun(val) { + setTerm(val); + setPage(1); + setForcesearch(!forcesearch); + } + + function searchDataList() { + const url = https + '/search'; + axios.defaults.withCredentials = true; + axios.get(url, { + params: { + page, + size, + term, + type, + } + }).then(res => { + if (res && res.status === 200 && res.data && res.data.code === '1') { + const data = res.data.data; + setDataList(data.rows); + setTotal(data.total); + for (const item of data.searchItemTypes) { + if (item.type == 1) { + setTotalType1(item.count); + } else if (item.type == 2) { + setTotalType2(item.count); + } else if (item.type == 3) { + setTotalType3(item.count); + } else if (item.type == 4) { + setTotalType4(item.count); + } + } + } else if (res && res.data) { + showNotification(res.data.data.message); + setDataList([]); + setTotal(0); + } else { + showNotification('查询失败!'); + setDataList([]); + setTotal(0); + } + }).catch(err => { + showNotification('查询失败!返回错误'); + setDataList([]); + setTotal(0); + }) + } + + + function changeTab(type) { + setType(type); + setPage(1); + } + + + + return ( +
    +
    + + + + + + +
    + + + + +
    +

    {`找到${totalType1}条结果`}

    + +
    + { + dataList.length ? + size} + onChange={(page) => { setPage(page) }} + current={page} + total={total} + showTotal={total => `共 ${total} 条`} + /> + : + } +
    + + +
    +

    {`找到${totalType2}条结果`}

    + +
    + { + dataList.length ? + size} + onChange={(page) => { setPage(page) }} + current={page} + total={total} + showTotal={total => `共 ${total} 条`} + /> : + } +
    + + +
    +

    {`找到${totalType3}条结果`}

    + +
    + { + dataList.length ? + size} + onChange={(page) => { setPage(page) }} + current={page} + total={total} + showTotal={total => `共 ${total} 条`} + /> : + } +
    + + +
    +

    {`找到${totalType4}条结果`}

    + +
    + { + dataList.length ? + size} + onChange={(page) => { setPage(page) }} + current={page} + total={total} + showTotal={total => `共 ${total} 条`} + /> : + } +
    +
    + +
    + ); + // } +} + +export default SnackbarHOC()(TPMIndexHOC(GlobalSearch)); diff --git a/src/modules/search/index.scss b/src/modules/search/index.scss new file mode 100644 index 00000000..3617ed6f --- /dev/null +++ b/src/modules/search/index.scss @@ -0,0 +1,82 @@ +.suit-main { + .search-head { + background: #eef2f5; + } + + .search-box { + width: 1200px; + height: 110px; + margin: 0 auto; + } + + .global-search { + margin-top: 40px; + } + + .ant-tabs-top { + background: #eef2f5; + } + .ant-tabs-tabpane { + background: #fff; + } + .ant-tabs-bar { + width: 1200px; + margin: 0 auto; + } + .ant-tabs-tab-active { + color: #000; + font-weight: 600; + } + .ant-tabs-nav .ant-tabs-tab:hover { + color: #000; + font-weight: 600; + } + + /* 列表 */ + .search-content { + width: 1200px; + margin: 1.5vw auto; + p{ + margin-bottom: .75em !important; + } + } + .search-item { + padding: .75em 0; + border-top:1px solid #e1e4e8; + .search-item-tit{ + display: flex; + justify-content: space-between; + } + .search-item-title{ + cursor: pointer; + &:hover{ + color: #1890ff; + } + span{ + color: #1890ff; + } + } + .search-item-content{ + span{ + color: #1890ff; + } + } + .search-icon{ + margin-right: 2em; + color: #aaa; + } + } + + .ant-pagination{ + text-align: center; + margin-bottom: 3vw; + } + + .none_panels{ + display: flex; + justify-content: center; + align-items: center; + flex-flow: column nowrap; + height: 40vh; + } +} From ff2586f5b93cdcd925cb836ccca3e77690b4c030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=AB=A5=E5=B4=87?= Date: Tue, 8 Jun 2021 16:05:32 +0800 Subject: [PATCH 3/8] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BC=97=E5=8C=85/?= =?UTF-8?q?=E5=B8=96=E5=AD=90=E7=AD=89tab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/search/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/search/index.jsx b/src/modules/search/index.jsx index a93d6f02..753a7107 100644 --- a/src/modules/search/index.jsx +++ b/src/modules/search/index.jsx @@ -138,7 +138,7 @@ const GlobalSearch = ({ location, showNotification }) => { } - + {/*

    {`找到${totalType2}条结果`}

    { showTotal={total => `共 ${total} 条`} /> : } - + */}
    From f93df6069cb8a2b50f5bff9a8435404018b5a2e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=AB=A5=E5=B4=87?= Date: Tue, 8 Jun 2021 16:08:58 +0800 Subject: [PATCH 4/8] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=90=9C=E7=B4=A2placepl?= =?UTF-8?q?aceholder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Component/HeadSearch.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forge/Component/HeadSearch.jsx b/src/forge/Component/HeadSearch.jsx index 6a61e644..08881723 100644 --- a/src/forge/Component/HeadSearch.jsx +++ b/src/forge/Component/HeadSearch.jsx @@ -24,7 +24,7 @@ export default ({history}) => { }, 500) }} > - Date: Wed, 9 Jun 2021 19:47:14 +0800 Subject: [PATCH 5/8] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E7=9A=84=E5=8A=9F=E8=83=BD=E5=8F=8A=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/favicon.ico | Bin 9049 -> 10415 bytes src/modules/search/index.jsx | 48 ++++++++++++++++++++++++++++++----- 2 files changed, 41 insertions(+), 7 deletions(-) mode change 100755 => 100644 public/favicon.ico diff --git a/public/favicon.ico b/public/favicon.ico old mode 100755 new mode 100644 index 05b9d163e5267afb1d933b189a1d6210fc2fe634..75a4c3dfd46656c981907ac9d82ddce23c622d7f GIT binary patch literal 10415 zcmV;gC{WjlP)(_`g8%^e{{R4h=>PzAFaQARU;qF*m;eA5Z<1fd zMgRaPHAzH4RCwC#oOzrbRhjp{b?Q{rt-JT_?%PQ^Nhc%_5(p5MAVFC~M;)SoBM3M$ z0?r@;jtp+-=rAzKjQYCc;DVsepo7RJ3d)WUB|S zrsl`g{FgpEMv@z*S%$h~kNYF)GTP(wOOFP~2E5|;N$cg$#WZA#hTNC=)U}asIDjgA zaga84oRCNxTLDmsO9_c%VeR#d;pGx*2EGCE5bPxl;Yiu`ybA0+sVYt1!Xi$5-?oVhP@|Uk z`Y7O7YWnS@_hE8NgOuQVubv{A{FnJw7BaCFmbCn9ma?+LoGOPaL zDjYVNyQMGz8EW-1iD-lOqT1laKJ+v8RyoC1KbiNuVUs zq!d`D3BaoEBK}*B<(!*tN()QGSyHb!k&#%JI~_3uV5%Dzere{Bk58|T(@8>0fxy9X zB|D;kT-Ie$J)#A4-TV8i7M}FxF90;+SlWc7oW0feF9Ki{{JI+Jof7E^TL%|%|Fd6b z)0zWoqZ?TE^t0HiNGg?Lq(00+M;}44XA-Hy7V=*YJ;;U)8+b=$8!x=@0)t_T)TACd z4n2T1Yu0f1s?GRLig!eT^|~*vI-VmmdGHzi^)LHZKK(e@5q7MR*rY9qYSj@!Fj{iS z&797H_kN}ap9+~5Uwl1LGHXlKUZu5TVZ|QVHx|GVOxYnB+;ZzL`1VIX&JnFNalL|< z4l!|pOgc!C1See($Ig-*TzU=7U{}O+Z~nx>ZVvRApZPlz*)18lbaQt8M)1*I0M; z)hsq(lp?`mrF4+K13`s!N}_cFDnZ7QZf#h(Vi^ZbdK;_%=YL37tK2(tDi@!5I&2+a z<1;U?t&m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q{A&+%aSkVy8=q@xF*BW(8_AOtcZ}homh_i82z#W`<016n{~Poow*WCDLU#N zmJcOSIPgn|uC`}!C%&|!lKoiV==Z}?Um^?F=?}Plp$w54*AtxZN<6ZX%ZWT#P&;I2 zGGejQ1cc3Va5dPD7hZJiiOWT{!^9Dn&ayH(Scb6ls_GUjYa z@y}AOOyr{(=p?UrL>Spas21`jF%=y<*6JHG!uANHNCL>$)U45rKB+sjNxuCJf*$oW zcM&uj8YmZXf|6RY5pfL}pfv7nd&1`93FlKh+r&987g+y{D$Dn@t5vF^%V#07AIwFG z>e=H8ourA1E|8PN5{vXAt{8pS6UMR#-oaGdE5lrQk|K=ec>PO|F3pOn(rbW0bOxh#y3b*~H0JKAvyK(^H7 zom?p6b@NTS diff --git a/src/modules/search/index.jsx b/src/modules/search/index.jsx index 753a7107..ee3b40b5 100644 --- a/src/modules/search/index.jsx +++ b/src/modules/search/index.jsx @@ -12,14 +12,17 @@ const { TabPane } = Tabs; // const https = 'http://192.168.0.77:8081'; //曾伟内网后台 // const https = 'http://192.168.31.104:8081'; //曾伟外网后台 -const https='http://106.75.31.211:58081'; +// const https='http://106.75.31.211:58081'; +const https = 'https://test-statistics.trustie.net'; -const GlobalSearch = ({ location, showNotification }) => { +const GlobalSearch = ({ location, showNotification, history }) => { const size = 10; let defaultValue = decodeURI(location.search.split("=")[1] || ""); const [term, setTerm] = useState(defaultValue); + const [searchValue, setSearchValue] = useState(defaultValue); + const [type, setType] = useState(1); const [page, setPage] = useState(1); const [total, setTotal] = useState(0); @@ -31,6 +34,7 @@ const GlobalSearch = ({ location, showNotification }) => { const [totalType2, setTotalType2] = useState(0); const [totalType3, setTotalType3] = useState(0); const [totalType4, setTotalType4] = useState(0); + const [totalType5, setTotalType5] = useState(0); useEffect(() => { @@ -50,6 +54,10 @@ const GlobalSearch = ({ location, showNotification }) => { function searchDataList() { const url = https + '/search'; + if (!term) { + showNotification('请输入关键字'); + return; + } axios.defaults.withCredentials = true; axios.get(url, { params: { @@ -72,6 +80,8 @@ const GlobalSearch = ({ location, showNotification }) => { setTotalType3(item.count); } else if (item.type == 4) { setTotalType4(item.count); + } else if (item.type == 5) { + setTotalType5(item.count); } } } else if (res && res.data) { @@ -96,7 +106,11 @@ const GlobalSearch = ({ location, showNotification }) => { setPage(1); } - + useEffect(() => { + history.listen(historyLocation => { + setSearchValue(historyLocation.search.split("=")[1] || ""); + }) + }, [history]); return (
    @@ -110,7 +124,8 @@ const GlobalSearch = ({ location, showNotification }) => { size="large" onSearch={searchFun} className="global-search" - defaultValue={term} + value={searchValue} + onChange={(e) => { setSearchValue(e.target.value) }} /> @@ -134,11 +149,11 @@ const GlobalSearch = ({ location, showNotification }) => { total={total} showTotal={total => `共 ${total} 条`} /> - : + : } - {/* +

    {`找到${totalType2}条结果`}

    { } - + {/*

    {`找到${totalType3}条结果`}

    { /> : } */} + + +
    +

    {`找到${totalType5}条结果`}

    + +
    + { + dataList.length ? + size} + onChange={(page) => { setPage(page) }} + current={page} + total={total} + showTotal={total => `共 ${total} 条`} + /> : + } +
    From b38cdd4bb3e97009cb693dfe50885db2124336fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=AB=A5=E5=B4=87?= Date: Thu, 10 Jun 2021 17:05:49 +0800 Subject: [PATCH 6/8] =?UTF-8?q?=E4=BF=AE=E6=94=B9search=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=EF=BC=8C=E5=90=8C=E9=A1=B5=E6=90=9C=E7=B4=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Component/HeadSearch.jsx | 2 +- src/modules/search/index.jsx | 25 ++++++++++++++++++------- src/modules/search/index.scss | 9 ++++++++- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/src/forge/Component/HeadSearch.jsx b/src/forge/Component/HeadSearch.jsx index 08881723..15ba6d44 100644 --- a/src/forge/Component/HeadSearch.jsx +++ b/src/forge/Component/HeadSearch.jsx @@ -24,7 +24,7 @@ export default ({history}) => { }, 500) }} > - { const [totalType4, setTotalType4] = useState(0); const [totalType5, setTotalType5] = useState(0); + const [ref, setRef] = useState(undefined); + const [focus, setFocus] = useState(0); - useEffect(() => { - setTerm(defaultValue); - }, defaultValue) useEffect(() => { searchDataList(); }, [type, page, term, forcesearch]); + useEffect(() => { + if (ref) { + ref && ref.input.input.focus(); + } + }, [focus]) + function searchFun(val) { setTerm(val); @@ -55,7 +60,8 @@ const GlobalSearch = ({ location, showNotification, history }) => { function searchDataList() { const url = https + '/search'; if (!term) { - showNotification('请输入关键字'); + // showNotification('请输入关键字'); + setFocus(focus + 1); return; } axios.defaults.withCredentials = true; @@ -109,9 +115,12 @@ const GlobalSearch = ({ location, showNotification, history }) => { useEffect(() => { history.listen(historyLocation => { setSearchValue(historyLocation.search.split("=")[1] || ""); + setTerm(historyLocation.search.split("=")[1] || ""); }) }, [history]); + + return (
    @@ -119,14 +128,16 @@ const GlobalSearch = ({ location, showNotification, history }) => { { setSearchValue(e.target.value) }} + ref={(el) => setRef(el)} /> + {!searchValue && 请输入搜索关键字}
    @@ -232,7 +243,7 @@ const GlobalSearch = ({ location, showNotification, history }) => {
    ); - // } } + export default SnackbarHOC()(TPMIndexHOC(GlobalSearch)); diff --git a/src/modules/search/index.scss b/src/modules/search/index.scss index 3617ed6f..e3af7834 100644 --- a/src/modules/search/index.scss +++ b/src/modules/search/index.scss @@ -7,12 +7,19 @@ width: 1200px; height: 110px; margin: 0 auto; + .ant-form-explain{ + color: #f5222d; + } } .global-search { margin-top: 40px; } - + .required-search{ + .ant-input{ + border-color: #f5222d !important; + } + } .ant-tabs-top { background: #eef2f5; } From 405053696c0691c8b9bd497dc8b6cc60bfc1632f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=AB=A5=E5=B4=87?= <792998983@qq.com> Date: Fri, 11 Jun 2021 15:28:40 +0800 Subject: [PATCH 7/8] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=B4=E9=83=A8?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=A1=86=E9=AB=98=E5=BA=A6=E5=92=8C=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E6=9C=8D=E5=8A=A1=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AppConfig.js | 3 ++- src/forge/Component/HeadSearch.jsx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/AppConfig.js b/src/AppConfig.js index 034612ec..434d2ed7 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -32,7 +32,8 @@ export function initAxiosInterceptors(props) { // 判断网络是否连接 initOnlineOfflineListener(); - var proxy = "https://testforgeplus.trustie.net"; + // var proxy = "https://testforgeplus.trustie.net"; + var proxy="https://forgeplus.trustie.net/"; //响应前的设置 axios.interceptors.request.use( config => { diff --git a/src/forge/Component/HeadSearch.jsx b/src/forge/Component/HeadSearch.jsx index 15ba6d44..fb7c9f25 100644 --- a/src/forge/Component/HeadSearch.jsx +++ b/src/forge/Component/HeadSearch.jsx @@ -28,6 +28,7 @@ export default ({history}) => { className={`search-input mr20`} onSearch={onGlobalSearch} autoFocus={true} + style={{width:'260px'}} />
    : From 71d1eb57cca6d9b2854f2bb56c18b4ee1dc94a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=AB=A5=E5=B4=87?= <792998983@qq.com> Date: Fri, 11 Jun 2021 17:51:54 +0800 Subject: [PATCH 8/8] =?UTF-8?q?=E8=BF=98=E5=8E=9F=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E7=9A=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AppConfig.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/AppConfig.js b/src/AppConfig.js index 434d2ed7..034612ec 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -32,8 +32,7 @@ export function initAxiosInterceptors(props) { // 判断网络是否连接 initOnlineOfflineListener(); - // var proxy = "https://testforgeplus.trustie.net"; - var proxy="https://forgeplus.trustie.net/"; + var proxy = "https://testforgeplus.trustie.net"; //响应前的设置 axios.interceptors.request.use( config => {