diff --git a/.env.dev b/.env.dev index e71d70a..5a4483b 100644 --- a/.env.dev +++ b/.env.dev @@ -3,11 +3,12 @@ VITE_BASE_URL=http://${VITE_HOST} VITE_COPY_BASE_URL=${VITE_BASE_URL}:7025 VITE_OPERATOR_BASE_URL=${VITE_BASE_URL}:8091 VITE_OPERATOR_PLUGIN_BASE_URL=${VITE_BASE_URL}:8099 -VITE_AI_SHOP_BASE_URL=http://192.168.0.15:8081 +VITE_AI_SHOP_BASE_URL=http://192.168.0.115:8081 VITE_WEBSOCKET_BASE_URL=ws://${VITE_HOST}:7025/copyright # 18634604067 VITE_USERID=80d3365e-0597-4988-979e-18ef1c3ec671 # VITE_USERID=e3e40f95-7a3f-4b53-a1a0-51dd4e881d74 +# VITE_USERID=5cc90b84-905e-4027-9f6c-ab47e9c320a1 # VITE_CURRENT_THEME=fzkj VITE_CURRENT_THEME=mzw # VITE_HOST=121.36.71.250:58038 diff --git a/src/route/Correction/Correction.tsx b/src/route/Correction/Correction.tsx index 78961da..96ba272 100644 --- a/src/route/Correction/Correction.tsx +++ b/src/route/Correction/Correction.tsx @@ -1254,15 +1254,15 @@ export default function Correction() { }} style={{ display: item.applyStatus == 'PENDING' ? 'block' : 'none' }} >撤销补正 -
项目已关闭
-
+
off(item)}>下架
正在交易中...
+
+ 已完成 +
diff --git a/src/route/index/Index.tsx b/src/route/index/Index.tsx index 3042cf8..ffe967b 100644 --- a/src/route/index/Index.tsx +++ b/src/route/index/Index.tsx @@ -57,7 +57,8 @@ import { } from '../../util/AjaxUtils.ts' import { // getLanguageList, getSoftTypeList - appGoodsList, buyAppGoods, appOrderList + // appGoodsList, + buyAppGoods, appOrderList } from '../../request/api' import { setMenuActive, @@ -91,8 +92,8 @@ import appnew from '../../static/left/appnew.png' import tra from '../../static/left/tra.png' import tranew from '../../static/left/tranew.png' -import topblack from '../../static/appimgs/topblack.png' -import topblue from '../../static/appimgs/topblue.png' +// import topblack from '../../static/appimgs/topblack.png' +// import topblue from '../../static/appimgs/topblue.png' import right from '../../static/trademark/right.png' import yes from '../../static/trademark/yes.png' @@ -983,7 +984,7 @@ export default function Index() { const [showAppkeyWords, setShowAppkeyWords] = useState('') // 电子软著搜索关键字显示 const [appModal, setAppModal] = useState(false) // 申请电子软著弹窗 const [toEditsModal, setToEditsModal] = useState(false) // 电子软著编辑弹窗 - const [appGoodsArray, setAppGoodsArray] = useState([]) // 电子软著可选商品列表 + // const [appGoodsArray, setAppGoodsArray] = useState([]) // 电子软著可选商品列表 const [buyLoading, setBuyLoading] = useState(false) // 购买loading const [appOrderId, setAppOrderId] = useState() // 电子软著订单id const [appExamineStatus, setAppExamineStatus] = useState(null) // 电子软著审核状态 @@ -1050,24 +1051,24 @@ export default function Index() { }, [appKeyWords, appExamineStatus, appApplyStatus]) // 获取电子软著可选商品列表 - const getAppGoodsList = async () => { - try { - const res = await appGoodsList() - // console.log('电子软著可选商品列表', res); - setAppGoodsArray(res) - } catch (error: any) { + // const getAppGoodsList = async () => { + // try { + // const res = await appGoodsList() + // // console.log('电子软著可选商品列表', res); + // setAppGoodsArray(res) + // } catch (error: any) { - if (error.response) { - const data = error.response.data; - messageApi.open({ - type: 'error', - content: data.msg ? data.msg : `${data.path}(${data.status})`, - }); - } else { - console.error(error) - } - } - } + // if (error.response) { + // const data = error.response.data; + // messageApi.open({ + // type: 'error', + // content: data.msg ? data.msg : `${data.path}(${data.status})`, + // }); + // } else { + // console.error(error) + // } + // } + // } // ----------------------------------------------------------------------------------------------- @@ -1800,7 +1801,7 @@ export default function Index() { // getLanguageListDate() // getSoftTypeListDate() - getAppGoodsList() + // getAppGoodsList() }, []); useEffect(() => { // loactionStorage里的activeMenu @@ -2138,7 +2139,7 @@ export default function Index() { ) : ( <> - )} + )} */} {THEME == 'mzw' ? ( - {appGoodsArray.map((item: any, index: number) => { + {/* {appGoodsArray.map((item: any, index: number) => { return (
) - })} + })} */}