-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
DoubleLiHao
committed
Aug 9, 2023
1 parent
ab60921
commit c6912b5
Showing
5 changed files
with
127 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,25 +2,36 @@ | |
* @Author: DoubleLiHao [email protected] | ||
* @Date: 2023-08-06 18:34:41 | ||
* @LastEditors: DoubleLiHao [email protected] | ||
* @LastEditTime: 2023-08-06 19:09:21 | ||
* @LastEditTime: 2023-08-09 20:07:49 | ||
* @FilePath: \yzyy-web\src\pages\Interview\Component\ItvStuForm\StuComment.jsx | ||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | ||
*/ | ||
import { useNavigate } from "react-router-dom"; | ||
import styles from "./StuComment.module.css"; | ||
import { Rate } from "antd"; | ||
export const StuComment = () => { | ||
const navigate = useNavigate() | ||
const clickHandler = () => { | ||
navigate('/interview') | ||
} | ||
return ( | ||
<> | ||
<div className={styles.bigBox}> | ||
<div className={styles.formBox}> | ||
<div className={styles.itvName}> | ||
<input type="text" placeholder="面试官1/面试官2" /> | ||
</div> | ||
<div className={styles.record}></div> | ||
<div className={styles.comment}></div> | ||
<div className={styles.score}></div> | ||
<div className={styles.record}> | ||
<textarea /> | ||
</div> | ||
<div className={styles.comment}> | ||
<textarea /> | ||
</div> | ||
<div className={styles.score}> | ||
<Rate></Rate> | ||
</div> | ||
</div> | ||
<div className={styles.button}> | ||
<div className={styles.button} onClick={clickHandler}> | ||
<p>提交</p> | ||
</div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,38 +2,71 @@ | |
* @Author: DoubleLiHao [email protected] | ||
* @Date: 2023-08-05 20:49:25 | ||
* @LastEditors: DoubleLiHao [email protected] | ||
* @LastEditTime: 2023-08-06 19:12:28 | ||
* @LastEditTime: 2023-08-09 20:55:37 | ||
* @FilePath: \yzyy-web\src\pages\Interview\Component\ItvStuForm\StuInfoDetail.jsx | ||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | ||
*/ | ||
import { useNavigate } from "react-router-dom"; | ||
import styles from "./StuInfoDetail.module.css"; | ||
import { useDispatch, useSelector } from "react-redux"; | ||
import { Backdrop } from "../../../../UI/Backdrop/Backdrop"; | ||
import { | ||
showImgBackdrop, | ||
hiddenImgBackdrop, | ||
} from "../../../../store/interviewSlice"; | ||
|
||
export const StuInfoDetail = () => { | ||
const { isEnterImgBackdrop } = useSelector((state) => state.interviewSlice); | ||
console.log(isEnterImgBackdrop); | ||
const navigate = useNavigate(); | ||
const dispatch = useDispatch(); | ||
const clickHandler = () => { | ||
navigate("/interview"); | ||
}; | ||
const showImg = () => { | ||
dispatch(showImgBackdrop()); | ||
}; | ||
const hiddenImg = () => { | ||
dispatch(hiddenImgBackdrop()); | ||
}; | ||
return ( | ||
<div className={styles.box}> | ||
<div className={styles.top}> | ||
<div className={styles.img}> | ||
<img /> | ||
<> | ||
<div className={styles.box}> | ||
<div className={styles.top}> | ||
<div className={styles.img} onClick={showImg}> | ||
<img /> | ||
</div> | ||
<div className={styles.baseInfo}> | ||
<div> | ||
<p>姓名:{isEnterImgBackdrop}</p> | ||
</div> | ||
<div> | ||
<p>性别:abc</p> | ||
</div> | ||
<div> | ||
<p>学号:abc</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div className={styles.baseInfo}> | ||
<div>姓名:abc</div> | ||
<div>性别:male</div> | ||
<div>学号:20226</div> | ||
<div className={styles.otherInfo}> | ||
<div>是否参加过宣讲会:2</div> | ||
<div>专业:软件工程</div> | ||
<div>手机号:110</div> | ||
<div>邮箱号:[email protected]</div> | ||
</div> | ||
<div className={styles.back} onClick={clickHandler}> | ||
<p>返回</p> | ||
</div> | ||
</div> | ||
<div className={styles.otherInfo}> | ||
<div>是否参加过宣讲会:2</div> | ||
<div>专业:软件工程</div> | ||
<div>手机号:110</div> | ||
<div>邮箱号:[email protected]</div> | ||
</div> | ||
<div className={styles.back} onClick={clickHandler}> | ||
<p>返回</p> | ||
</div> | ||
</div> | ||
{isEnterImgBackdrop && ( | ||
<Backdrop> | ||
<div onClick={hiddenImg}> | ||
<p className={styles.imgBack}>返回</p> | ||
</div> | ||
|
||
<img className={styles.backdropImg} /> | ||
</Backdrop> | ||
)} | ||
</> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters