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 { &-image {
border-radius: 12px; border-radius: 12px;
transition: transform 0.5s; 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: () => {} }); }>({ show: () => {} });
const userInfo = useUserInfo(); const userInfo = useUserInfo();
const participants = detail.participants || []; 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 { const {
participant_count, participant_count,
max_participants, max_participants,

View File

@@ -63,7 +63,7 @@ function Index() {
// await updateLocation(); // await updateLocation();
// await fetchUserInfo(); // await fetchUserInfo();
if (id) { if (id) {
Taro.showLoading(); // Taro.showLoading();
fetchDetail(); fetchDetail();
} }
}); });
@@ -104,7 +104,7 @@ function Index() {
setShowEmptyState(true); setShowEmptyState(true);
} }
} }
Taro.hideLoading(); // Taro.hideLoading();
}; };
const onUpdateUserInfo = () => { const onUpdateUserInfo = () => {
@@ -181,7 +181,7 @@ function Index() {
<EmptyState <EmptyState
onGoToOtherGames={() => { onGoToOtherGames={() => {
Taro.switchTab({ Taro.switchTab({
url: '/main_pages/index', url: "/main_pages/index",
}); });
}} }}
onGoToHome={handleBack} onGoToHome={handleBack}

View File

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