This commit is contained in:
eric
2026-03-16 01:09:13 -05:00
parent 91d56fa086
commit ff135563fb
15 changed files with 532 additions and 143 deletions

View File

@@ -16,9 +16,7 @@ const statusOptions = [
{ value: "other", label: "其他" },
];
const activityTypeOptions = [
{ value: "cafe", label: "咖啡馆聊天" },
{ value: "bookstore", label: "书店" },
{ value: "citywalk", label: "Citywalk" },
{ value: "loft", label: "loft民宿" },
{ value: "side-hustle", label: "轻副业交流" },
{ value: "any", label: "都可以" },
];
@@ -31,8 +29,6 @@ const availableTimeOptions = [
const REGIONS: Record<string, string[]> = {
: ["南山区", "福田区", "罗湖区", "宝安区", "龙岗区", "其他"],
广: ["天河区", "越秀区", "海珠区", "荔湾区", "白云区", "其他"],
: ["惠城区", "惠阳区", "其他"],
};
interface FormData {
@@ -45,6 +41,7 @@ interface FormData {
whyJoin: string;
nickname: string;
wechatOrPhone: string;
xiaohongshuUrl: string;
region: string;
firstTime: string;
availableTime: string;
@@ -72,6 +69,7 @@ export default function JoinPage() {
whyJoin: "",
nickname: "",
wechatOrPhone: "",
xiaohongshuUrl: "",
region: "",
firstTime: "",
availableTime: "",
@@ -121,6 +119,7 @@ export default function JoinPage() {
nickname: form.nickname,
age_range: form.ageRange,
wechat_or_phone: form.wechatOrPhone,
xiaohongshu_url: form.xiaohongshuUrl.trim(),
intro: reasonParts.join(" | "),
first_time: form.firstTime,
agree_rules: form.agreeRules,
@@ -194,20 +193,20 @@ export default function JoinPage() {
<div className="absolute inset-0 flex flex-col items-center justify-center text-white">
<div className="text-4xl sm:text-5xl md:text-6xl" aria-hidden></div>
<div className="mt-1.5 sm:mt-2 text-xs sm:text-sm font-medium opacity-90 flex items-center gap-1.5">
<span>📍</span> · 广 ·
<span>📍</span>
</div>
</div>
</div>
<div className="px-4 sm:px-6 py-4 sm:py-5 text-center">
<h1 className="text-lg sm:text-xl md:text-2xl font-bold text-stone-800 dark:text-stone-100">
</h1>
<p className="mt-2 sm:mt-3 text-xs sm:text-sm leading-relaxed text-stone-500 dark:text-stone-400">
</p>
<p className="mt-1.5 text-xs text-stone-400 dark:text-stone-500">
</p>
{/* 进度提示 */}
@@ -381,6 +380,22 @@ export default function JoinPage() {
</p>
</div>
</Field>
<Field label="小红书主页地址">
<div>
<input
type="url"
maxLength={200}
placeholder="https://www.xiaohongshu.com/user/profile/xxx"
value={form.xiaohongshuUrl}
onChange={(e) => set("xiaohongshuUrl", e.target.value)}
required
className="form-input"
/>
<p className="mt-1.5 text-xs text-stone-500 dark:text-stone-400">
</p>
</div>
</Field>
<Field label="平时常活动区域">
<select
value={form.region}