diff --git a/demo_module/public/imgs/11.png b/demo_module/public/imgs/11.png new file mode 100644 index 0000000000000000000000000000000000000000..f7ec1f4d41a43d1167898778924a0f64b2ce3527 Binary files /dev/null and b/demo_module/public/imgs/11.png differ diff --git a/demo_module/public/imgs/21.png b/demo_module/public/imgs/21.png new file mode 100644 index 0000000000000000000000000000000000000000..d05dfa8353492370519f6e049f81e44d844d1445 Binary files /dev/null and b/demo_module/public/imgs/21.png differ diff --git a/demo_module/public/imgs/22.png b/demo_module/public/imgs/22.png new file mode 100644 index 0000000000000000000000000000000000000000..dd4c1c43e4e23a523f88429b7196d603e5e3cb3f Binary files /dev/null and b/demo_module/public/imgs/22.png differ diff --git a/demo_module/public/imgs/31.png b/demo_module/public/imgs/31.png new file mode 100644 index 0000000000000000000000000000000000000000..22ea2b58802fd11379b6da39a777d7c4d98b3089 Binary files /dev/null and b/demo_module/public/imgs/31.png differ diff --git a/demo_module/public/imgs/32.png b/demo_module/public/imgs/32.png new file mode 100644 index 0000000000000000000000000000000000000000..2fc0a76495bc6a06e9416228a27279068e2d3872 Binary files /dev/null and b/demo_module/public/imgs/32.png differ diff --git a/demo_module/public/imgs/33.png b/demo_module/public/imgs/33.png new file mode 100644 index 0000000000000000000000000000000000000000..c1f80e232000d4b3bdf498085b559bab4ee007d0 Binary files /dev/null and b/demo_module/public/imgs/33.png differ diff --git a/demo_module/public/imgs/34.png b/demo_module/public/imgs/34.png new file mode 100644 index 0000000000000000000000000000000000000000..d5a995e989908db784fee4d8594125fd49864295 Binary files /dev/null and b/demo_module/public/imgs/34.png differ diff --git a/demo_module/public/imgs/41.png b/demo_module/public/imgs/41.png new file mode 100644 index 0000000000000000000000000000000000000000..48a4eac819c1c944e2597d55719bf7f2d6ac25c5 Binary files /dev/null and b/demo_module/public/imgs/41.png differ diff --git a/demo_module/public/imgs/42.png b/demo_module/public/imgs/42.png new file mode 100644 index 0000000000000000000000000000000000000000..2f5315e57d4dc057428bbcf0363b151ded30fd8c Binary files /dev/null and b/demo_module/public/imgs/42.png differ diff --git a/demo_module/public/imgs/51.png b/demo_module/public/imgs/51.png new file mode 100644 index 0000000000000000000000000000000000000000..f8293f65fb58143e580545a26c8a303484c66644 Binary files /dev/null and b/demo_module/public/imgs/51.png differ diff --git a/demo_module/public/imgs/52.png b/demo_module/public/imgs/52.png new file mode 100644 index 0000000000000000000000000000000000000000..f1b0be2d3ed742ed18ca44550a8b8f37511c5b86 Binary files /dev/null and b/demo_module/public/imgs/52.png differ diff --git a/demo_module/public/imgs/53.png b/demo_module/public/imgs/53.png new file mode 100644 index 0000000000000000000000000000000000000000..c7c3abbb68e45960928336f2960320791ddf1fd6 Binary files /dev/null and b/demo_module/public/imgs/53.png differ diff --git a/demo_module/public/imgs/54.png b/demo_module/public/imgs/54.png new file mode 100644 index 0000000000000000000000000000000000000000..d122ddc3094d00efbad098148b19e27c7b044788 Binary files /dev/null and b/demo_module/public/imgs/54.png differ diff --git a/demo_module/public/imgs/61.png b/demo_module/public/imgs/61.png new file mode 100644 index 0000000000000000000000000000000000000000..9f9225bd10c6ac618bf9aa987f8ded283e581d06 Binary files /dev/null and b/demo_module/public/imgs/61.png differ diff --git a/demo_module/public/imgs/62.png b/demo_module/public/imgs/62.png new file mode 100644 index 0000000000000000000000000000000000000000..e7be91ea44b3eb6b2ffec311bf12f910dde7dc8f Binary files /dev/null and b/demo_module/public/imgs/62.png differ diff --git a/demo_module/public/imgs/ren.jpg b/demo_module/public/imgs/ren.jpg new file mode 100644 index 0000000000000000000000000000000000000000..673f4ca5de80df316b36f99e0d4b7f8a211cda90 Binary files /dev/null and b/demo_module/public/imgs/ren.jpg differ diff --git a/demo_module/public/imgs/ren.png b/demo_module/public/imgs/ren.png new file mode 100644 index 0000000000000000000000000000000000000000..fff59ad8d6c844c72dc6911c1840cc56e594cbdb Binary files /dev/null and b/demo_module/public/imgs/ren.png differ diff --git a/demo_module/public/imgs/shou.png b/demo_module/public/imgs/shou.png new file mode 100644 index 0000000000000000000000000000000000000000..0278c2a74cfecff372f2cae34759dda539807a62 Binary files /dev/null and b/demo_module/public/imgs/shou.png differ diff --git a/demo_module/public/imgs/shou2.png b/demo_module/public/imgs/shou2.png new file mode 100644 index 0000000000000000000000000000000000000000..e64a49ebd6986d2500ae0ecbdeffdb2341729ad0 Binary files /dev/null and b/demo_module/public/imgs/shou2.png differ diff --git a/demo_module/public/imgs/tx.jpg b/demo_module/public/imgs/tx.jpg new file mode 100644 index 0000000000000000000000000000000000000000..917a5bb090c4892a72f070f6bf7646b761cd7691 Binary files /dev/null and b/demo_module/public/imgs/tx.jpg differ diff --git a/demo_module/public/imgs/yes.png b/demo_module/public/imgs/yes.png index 1f6172b1cf355d07f6348828074887416c65024e..c1a5fbfd6a1105d7cf25560500145d34c492299c 100644 Binary files a/demo_module/public/imgs/yes.png and b/demo_module/public/imgs/yes.png differ diff --git a/demo_module/src/Login/Mm.jsx b/demo_module/src/Login/Mm.jsx index 182971ec8b9f7588dad95731779336df463d2f18..8c4545ad14ab10af5e08a6e59b9ab55c8d99c928 100644 --- a/demo_module/src/Login/Mm.jsx +++ b/demo_module/src/Login/Mm.jsx @@ -152,7 +152,7 @@ export default function Mm() {

其他方式登录

- { navigate('/ren') }} src={'./ren.jpg'} alt=''> + { navigate('/ren') }} src={'/public/imgs/ren.png'} alt=''>

人脸识别登录

diff --git a/demo_module/src/Login/Ren.jsx b/demo_module/src/Login/Ren.jsx index c412f0fb7ad5e3ee64f14d5c2587ceee40c8b2e9..a5594ebb6a4cfc63fa194a8dbb0040cdc951cf32 100644 --- a/demo_module/src/Login/Ren.jsx +++ b/demo_module/src/Login/Ren.jsx @@ -29,7 +29,7 @@ export default function Ren() { Toast('登录成功') localStorage.setItem('accessToken',data.data.accessToken) localStorage.setItem('refreshToken',data.data.refreshToken) - navigate('/map3') + navigate('/homepage') } else { Toast(data.data.msg) } diff --git a/demo_module/src/Login/Wang.jsx b/demo_module/src/Login/Wang.jsx index 6917b38843f54ee33fb4dd558afc028f758447bd..8e3789f12a05f95b77bb338181ab9c628ea09810 100644 --- a/demo_module/src/Login/Wang.jsx +++ b/demo_module/src/Login/Wang.jsx @@ -33,7 +33,7 @@ export default function Wang() { } const back = () => { - Navigate('/map3') + Navigate('/mm') } const handlerXiugai = async () => { @@ -62,7 +62,7 @@ export default function Wang() { return (
- 恩师教育 + 恩师教育
忘记密码 diff --git a/demo_module/src/Login/Yzm.jsx b/demo_module/src/Login/Yzm.jsx index 97f5d00cc5b0f05553b23085d7170fc86d02cfe5..18492302a8d4d6baca04165b2f95479b2bcdcc8a 100644 --- a/demo_module/src/Login/Yzm.jsx +++ b/demo_module/src/Login/Yzm.jsx @@ -66,7 +66,7 @@ export default function Yzm() { await sleep(); if (data.x >= offsetXRef.current - 5 && data.x < offsetXRef.current + 5) { Toast('登录成功') - Navigate('/map3') + Navigate('/homepage') return Promise.resolve(); } Toast('验证失败') diff --git a/demo_module/src/view/Mine.css b/demo_module/src/view/Mine.css index b00af9d6235ea5f7ab6817ff6ff99222295e8840..19bb37324cdc2b5f6e7fd875c8bfe3019b566655 100644 --- a/demo_module/src/view/Mine.css +++ b/demo_module/src/view/Mine.css @@ -14,7 +14,8 @@ } -.item_link{ + +.item_link { text-decoration: none; color: white; } @@ -68,4 +69,9 @@ justify-content: center; align-items: center; text-align: center; +} + +img { + width: 30px; + height: 30px; } \ No newline at end of file diff --git a/demo_module/src/view/Mine.jsx b/demo_module/src/view/Mine.jsx index a71d8fa8f688ec564d906536b22b45f87cafa351..4b658ed0fad668877883d7048d3d14fc84b3c0d9 100644 --- a/demo_module/src/view/Mine.jsx +++ b/demo_module/src/view/Mine.jsx @@ -25,37 +25,37 @@ export default function Mine() { { id: 1, title: '我的课程', - img: 'https://ts4.cn.mm.bing.net/th?id=ODLS.204fe2d2-8cd1-49ab-8525-0eb34d2e9eed&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2', + img: '/public/imgs/31.png', path: '/mine/mycourse' }, { id: 2, title: '我的模考', - img: 'https://ts4.cn.mm.bing.net/th?id=ODLS.204fe2d2-8cd1-49ab-8525-0eb34d2e9eed&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2', + img: '/public/imgs/32.png', path: '/mine/mymock' }, { id: 3, title: '我的练习', - img: 'https://ts4.cn.mm.bing.net/th?id=ODLS.204fe2d2-8cd1-49ab-8525-0eb34d2e9eed&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2', + img: '/public/imgs/33.png', path: '/mine/myexercise' }, { id: 4, title: '我的真题', - img: 'https://ts4.cn.mm.bing.net/th?id=ODLS.204fe2d2-8cd1-49ab-8525-0eb34d2e9eed&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2', + img: '/public/imgs/34.png', path: '/mine/myreal' }, { id: 5, title: '我的面试', - img: 'https://ts4.cn.mm.bing.net/th?id=ODLS.204fe2d2-8cd1-49ab-8525-0eb34d2e9eed&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2', + img: '/public/imgs/41.png', path: '/mine/myinterview' }, { id: 6, title: '我的批阅', - img: 'https://ts4.cn.mm.bing.net/th?id=ODLS.204fe2d2-8cd1-49ab-8525-0eb34d2e9eed&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2', + img: '/public/imgs/42.png', path: '/mine/myread' } ]) @@ -64,25 +64,25 @@ export default function Mine() { { id: 1, title: '我的邀请码', - img: 'https://ts4.cn.mm.bing.net/th?id=ODLS.204fe2d2-8cd1-49ab-8525-0eb34d2e9eed&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2', + img: '/public/imgs/51.png', path: '/mine/mycode' }, { id: 2, title: '我的卡券', - img: 'https://ts4.cn.mm.bing.net/th?id=ODLS.204fe2d2-8cd1-49ab-8525-0eb34d2e9eed&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2', + img: '/public/imgs/52.png', path: '/mine/mycoupon' }, { id: 3, title: '欢乐豆', - img: 'https://ts4.cn.mm.bing.net/th?id=ODLS.204fe2d2-8cd1-49ab-8525-0eb34d2e9eed&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2', + img: '/public/imgs/53.png', path: '/mine/mybean' }, { id: 4, title: '客服', - img: 'https://ts4.cn.mm.bing.net/th?id=ODLS.204fe2d2-8cd1-49ab-8525-0eb34d2e9eed&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2', + img: '/public/imgs/54.png', path: '/mine/mycustomer' }, ]) @@ -91,13 +91,13 @@ export default function Mine() { { id: 1, title: '成员', - img: 'https://ts4.cn.mm.bing.net/th?id=ODLS.204fe2d2-8cd1-49ab-8525-0eb34d2e9eed&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2-', + img: '/public/imgs/61.png', path: '/mine/myteam' }, { id: 2, title: '我的佣金', - img: 'https://ts4.cn.mm.bing.net/th?id=ODLS.204fe2d2-8cd1-49ab-8525-0eb34d2e9eed&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2', + img: '/public/imgs/62.png', path: '/mine/mycommission' } ]) @@ -143,19 +143,22 @@ export default function Mine() {

-
{ goPage('/mine/settings') }} style={{ width: "70px", marginTop: "20px" }}>设置
+
{ goPage('/mine/settings') }} style={{ width: "70px", marginTop: "20px", fontSize: "16px", display: 'flex', alignItems: 'center'}}> + + 设置 +

我的荣誉
- +

我的勋章


- +

我的等级

diff --git a/demo_module/src/view/Mine/Mybean.jsx b/demo_module/src/view/Mine/Mybean.jsx index e283fd94cd8820c3a2b8b3ecaab33a8c3159e4b2..0e1ec5be24a9cffae664c31ab71d5b552f5e66e4 100644 --- a/demo_module/src/view/Mine/Mybean.jsx +++ b/demo_module/src/view/Mine/Mybean.jsx @@ -8,11 +8,8 @@ export default function Mybean() { // 返回上一个页面 const back = () => { navigate(-1) - // window.history.go(-1) } - - return ( <> 我的状元豆 @@ -30,7 +27,7 @@ export default function Mybean() { navigate('/mine/mybean/earnings') }} >
- + 收益记录
diff --git a/demo_module/src/view/Mine/WithdrawalRecord.css b/demo_module/src/view/Mine/WithdrawalRecord.css index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a7ba808c91c3ca0015395cd7dc119e49d2c50adf 100644 --- a/demo_module/src/view/Mine/WithdrawalRecord.css +++ b/demo_module/src/view/Mine/WithdrawalRecord.css @@ -0,0 +1,19 @@ +img{ + width: 100px; + height: 100px; +} + +.record{ + margin-top: 10px; + width: 99%; + height: 100px; + border: 1px solid red; + + display: flex; + +} + +.record-title{ + font-size: 20px; + font-weight: bold; +} \ No newline at end of file diff --git a/demo_module/src/view/Mine/WithdrawalRecord.jsx b/demo_module/src/view/Mine/WithdrawalRecord.jsx index d3b0f97b727200f23ffc410849b992db7079588f..25565499fa48d39909051da1df28bceda9b207ab 100644 --- a/demo_module/src/view/Mine/WithdrawalRecord.jsx +++ b/demo_module/src/view/Mine/WithdrawalRecord.jsx @@ -5,11 +5,28 @@ import './WithdrawalRecord.css' export default function Earnings() { const navigate = useNavigate() + const [list, setList] = React.useState([ + { + id: 1, + title: '提现成功', + time: '2022-10-10 10:10:10', + money: '50.00', + status: '提现已经到账', + img: '/public/imgs/tx.jpg' + }, + { + id: 2, + title: '提现失败', + time: '2022-10-10 09:10:10', + money: '1000.00', + status: '您的余额不足,请充值后重试', + img: '/public/imgs/tx.jpg' + } + ]) // 返回上一个页面 const back = () => { navigate(-1) - // window.history.go(-1) } @@ -18,7 +35,40 @@ export default function Earnings() { <> 提现记录
+ { + list.map((item) => { + return ( +
+ +
+
+ {item.title} +
+ {item.time} +
+
+ 提现金额: + {item.money}元 +
+
+ 提现状态: + { + navigate('/mine/withdrawMoney') + } + } > {item.status} + +
+
+
+ + ) + }) + }
) diff --git a/demo_module/src/view/Mine/Yes.jsx b/demo_module/src/view/Mine/Yes.jsx index 4652e7e9863ee4269cd52a3e389890e6819a1436..26d70dc1f5f620d7834fa2a319180bbbc0a69395 100644 --- a/demo_module/src/view/Mine/Yes.jsx +++ b/demo_module/src/view/Mine/Yes.jsx @@ -31,6 +31,8 @@ export default function Yes() { }, 5500) }) + // /public/imgs/32.png + return ( <> @@ -43,7 +45,7 @@ export default function Yes() {

恭喜您,提现成功!

-

请前往微信查看

+

请前往微信查看

-const add = async () => { - const res = await axios.post('http://127.0.0.1:3000/pcfy', { data: 1 }) - console.log(res.data); - window.open(res.data.result) -}