mergecode

This commit is contained in:
筱野
2025-08-24 16:08:31 +08:00
45 changed files with 1452 additions and 512 deletions

View File

@@ -1,15 +1,32 @@
import { TimeRange } from "@/components/index.types"
export interface PublishBallFormData {
title: string
timeRange: TimeRange
fee: string
location: string
gameplay: string
minParticipants: number
maxParticipants: number
ntpLevel: number[]
additionalRequirements: string
autoDegrade: boolean
title: string // 球局标题
image_list: Array<string>[] // 球局封面
timeRange: {
start_time: string,
end_time: string
}
activityInfo: {
play_type: string // 玩法类型
price: number | string // 价格
venue_id?: number | null // 场地id
location_name?: string // 场地名称
location?: string // 场地地址
latitude?: string // 纬度
longitude?: string // 经度
court_type?: string // 场地类型 1: 室内 2: 室外
court_surface?: string // 场地表面 1: 硬地 2: 红土 3: 草地
venue_description_tag?: Array<string>[] // 场地描述标签
venue_description?: string // 场地描述
venue_image_list?: Array<string>[] // 场地图片
}
players: [number, number] // 人数要求
skill_level: [number, number] // 水平要求(NTRP)
descriptionInfo: {
description: string // 备注
description_tag: Array<string>[] // 备注标签
}
is_substitute_supported: boolean // 是否支持替补
is_wechat_contact: boolean // 是否需要微信联系
wechat_contact: string // 微信联系
}