From 0bbb9f5ce0a464c59d88686e2ac1a143af7406a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=9D=B0?= Date: Mon, 8 Dec 2025 16:01:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8F=82=E4=B8=8E?= =?UTF-8?q?=E8=80=85=E5=88=97=E8=A1=A8=E5=AE=BD=E5=BA=A6=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Participants/index.module.scss | 6 +++- .../detail/components/Participants/index.tsx | 32 +++++++++++-------- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/src/game_pages/detail/components/Participants/index.module.scss b/src/game_pages/detail/components/Participants/index.module.scss index 4c4a2d1..ee74e03 100644 --- a/src/game_pages/detail/components/Participants/index.module.scss +++ b/src/game_pages/detail/components/Participants/index.module.scss @@ -59,9 +59,13 @@ &-scroll { flex: 0 0 auto; - width: calc(100% - 116px); + width: 100%; height: 100%; + &.withApplication { + width: calc(100% - 116px); + } + &-content { display: flex; flex-direction: row; diff --git a/src/game_pages/detail/components/Participants/index.tsx b/src/game_pages/detail/components/Participants/index.tsx index c0d5161..64761bb 100644 --- a/src/game_pages/detail/components/Participants/index.tsx +++ b/src/game_pages/detail/components/Participants/index.tsx @@ -2,10 +2,11 @@ import React, { useRef } from "react"; import Taro from "@tarojs/taro"; import { View, Text, Image, ScrollView } from "@tarojs/components"; import dayjs from "dayjs"; +import classnames from "classnames"; import img from "@/config/images"; import { useUserInfo } from "@/store/userStore"; import { formatNtrpDisplay, toast, navto } from "@/utils/helper"; -import RMB_ICON from "@/static/detail/rmb.svg"; +// import RMB_ICON from "@/static/detail/rmb.svg"; import { MATCH_STATUS, IsSubstituteSupported } from "@/services/detailService"; import OrderService from "@/services/orderService"; import styles from "./index.module.scss"; @@ -183,18 +184,18 @@ export default function Participants(props) { if (!user_action_status) { return; } - const priceStrArr = price?.toString().split(".") ?? []; - const displayPrice = is_organizer ? ( - <> - 0 - {/* .00 */} - - ) : ( - <> - {priceStrArr[0]} - .{priceStrArr[1]} - - ); + // const priceStrArr = price?.toString().split(".") ?? []; + // const displayPrice = is_organizer ? ( + // <> + // 0 + // {/* .00 */} + // + // ) : ( + // <> + // {priceStrArr[0]} + // .{priceStrArr[1]} + // + // ); // user_action_status.can_assess = true; // user_action_status.can_join = false; // console.log(user_action_status, "user_action"); @@ -323,7 +324,10 @@ export default function Participants(props) { {/* participants list */}