From a4dbc9402f54abe12058aad76a00b1bf0329126b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=9D=B0?= Date: Sat, 6 Dec 2025 20:50:25 +0800 Subject: [PATCH 1/2] fix: 1 --- .../detail/components/Carousel/index.module.scss | 1 + .../detail/components/Participants/index.tsx | 16 ++++++++++++++++ src/game_pages/detail/index.tsx | 6 +++--- src/order_pages/orderDetail/index.tsx | 1 + 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/game_pages/detail/components/Carousel/index.module.scss b/src/game_pages/detail/components/Carousel/index.module.scss index 72c52ec..8088fbc 100644 --- a/src/game_pages/detail/components/Carousel/index.module.scss +++ b/src/game_pages/detail/components/Carousel/index.module.scss @@ -28,6 +28,7 @@ &-image { border-radius: 12px; transition: transform 0.5s; + border: 0.5px solid rgba(255, 255, 255, 0.1); } } } diff --git a/src/game_pages/detail/components/Participants/index.tsx b/src/game_pages/detail/components/Participants/index.tsx index 51daca0..c0d5161 100644 --- a/src/game_pages/detail/components/Participants/index.tsx +++ b/src/game_pages/detail/components/Participants/index.tsx @@ -72,6 +72,22 @@ export default function Participants(props) { }>({ show: () => {} }); const userInfo = useUserInfo(); const participants = detail.participants || []; + // const participants = Array(10) + // .fill(0) + // .map((_, index) => ({ + // id: 337 + index, + // join_time: "2025-12-06 11:06:24", + // status: "joined", + // is_organizer: true, + // user: { + // id: 18, + // nickname: "小猫开刀削面店往猫毛里面下面条", + // avatar_url: + // "https://bimwe.oss-cn-shanghai.aliyuncs.com/front/ball/images/d284060f-248b-4d58-a153-4d37c0ca77c8.jpg", + // phone: "18513125687", + // ntrp_level: "1.5", + // }, + // })); const { participant_count, max_participants, diff --git a/src/game_pages/detail/index.tsx b/src/game_pages/detail/index.tsx index 04be311..5bbe67a 100644 --- a/src/game_pages/detail/index.tsx +++ b/src/game_pages/detail/index.tsx @@ -63,7 +63,7 @@ function Index() { // await updateLocation(); // await fetchUserInfo(); if (id) { - Taro.showLoading(); + // Taro.showLoading(); fetchDetail(); } }); @@ -104,7 +104,7 @@ function Index() { setShowEmptyState(true); } } - Taro.hideLoading(); + // Taro.hideLoading(); }; const onUpdateUserInfo = () => { @@ -181,7 +181,7 @@ function Index() { { Taro.switchTab({ - url: '/main_pages/index', + url: "/main_pages/index", }); }} onGoToHome={handleBack} diff --git a/src/order_pages/orderDetail/index.tsx b/src/order_pages/orderDetail/index.tsx index 19c2565..d177b23 100644 --- a/src/order_pages/orderDetail/index.tsx +++ b/src/order_pages/orderDetail/index.tsx @@ -696,6 +696,7 @@ const OrderCheck = () => { title={id ? "订单详情" : "加入活动"} titleClassName={styles.titleClassName} className={styles.navbar} + backgroundColor="#fafafa" /> {/* Game Date and Address */} Date: Sat, 6 Dec 2025 20:56:02 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=A4=B4=E5=83=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/user_pages/edit/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user_pages/edit/index.tsx b/src/user_pages/edit/index.tsx index 75ccbe6..91fde3f 100644 --- a/src/user_pages/edit/index.tsx +++ b/src/user_pages/edit/index.tsx @@ -161,7 +161,7 @@ const EditProfilePage: React.FC = () => { const tempFilePath = res.tempFilePaths[0]; try { const avatar_url = await UserService.upload_avatar(tempFilePath); - await updateUserInfo({ avatar: avatar_url }); + await updateUserInfo({ avatar_url: avatar_url }); Taro.showToast({ title: "头像上传成功", icon: "success",