This commit is contained in:
2025-12-06 20:50:25 +08:00
parent ceb262c9dd
commit a4dbc9402f
4 changed files with 21 additions and 3 deletions

View File

@@ -28,6 +28,7 @@
&-image {
border-radius: 12px;
transition: transform 0.5s;
border: 0.5px solid rgba(255, 255, 255, 0.1);
}
}
}

View File

@@ -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,

View File

@@ -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() {
<EmptyState
onGoToOtherGames={() => {
Taro.switchTab({
url: '/main_pages/index',
url: "/main_pages/index",
});
}}
onGoToHome={handleBack}

View File

@@ -696,6 +696,7 @@ const OrderCheck = () => {
title={id ? "订单详情" : "加入活动"}
titleClassName={styles.titleClassName}
className={styles.navbar}
backgroundColor="#fafafa"
/>
{/* Game Date and Address */}
<GameInfo