From 61b70773e3306c919933be3d5b7e7b1ac6ef43e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=9D=B0?= Date: Tue, 30 Sep 2025 22:53:31 +0800 Subject: [PATCH] feat: temp --- .../NTRPEvaluatePopup/index.module.scss | 5 +++++ src/components/NTRPEvaluatePopup/index.tsx | 19 +++++++++++++++++++ src/game_pages/detail/index.tsx | 4 ++-- 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/src/components/NTRPEvaluatePopup/index.module.scss b/src/components/NTRPEvaluatePopup/index.module.scss index c574c29..4c5cb6a 100644 --- a/src/components/NTRPEvaluatePopup/index.module.scss +++ b/src/components/NTRPEvaluatePopup/index.module.scss @@ -53,3 +53,8 @@ } } } + +.picker { + width: 100%; + height: 300px; +} diff --git a/src/components/NTRPEvaluatePopup/index.tsx b/src/components/NTRPEvaluatePopup/index.tsx index 5bcf54c..85caebc 100644 --- a/src/components/NTRPEvaluatePopup/index.tsx +++ b/src/components/NTRPEvaluatePopup/index.tsx @@ -12,9 +12,17 @@ import { getCurrentFullPath } from "@/utils"; import evaluateService from "@/services/evaluateService"; import NTRPTestEntryCard from "../NTRPTestEntryCard"; import NtrpPopupGuide from "../NTRPPopupGuide"; +import Picker from "../Picker/Picker"; import CloseIcon from "@/static/ntrp/ntrp_popup_close.svg"; import styles from "./index.module.scss"; +const options = ["1.5", "2.0", "2.5", "3.0", "3.5", "4.0", "4.5"].map( + (item) => ({ + text: item, + value: item, + }) +); + export enum EvaluateType { EDIT = "edit", EVALUATE = "evaluate", @@ -124,6 +132,17 @@ const NTRPEvaluatePopup = (props: NTRPEvaluatePopupProps, ref) => { + + { + console.log(val); + setNtrp(val.values); + }} + /> + )} diff --git a/src/game_pages/detail/index.tsx b/src/game_pages/detail/index.tsx index 10e3d60..d1183e0 100644 --- a/src/game_pages/detail/index.tsx +++ b/src/game_pages/detail/index.tsx @@ -313,8 +313,8 @@ function StickyButton(props) { return; } const displayPrice = is_organizer ? 0 : price; - // user_action_status.can_assess = true; - // user_action_status.can_join = false; + user_action_status.can_assess = true; + user_action_status.can_join = false; // console.log(user_action_status, "user_action"); const { can_assess,