's''
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user