diff --git a/frontend/src/features/seller/SellerListingFormPage.tsx b/frontend/src/features/seller/SellerListingFormPage.tsx index be2db73..c08698e 100644 --- a/frontend/src/features/seller/SellerListingFormPage.tsx +++ b/frontend/src/features/seller/SellerListingFormPage.tsx @@ -474,6 +474,26 @@ export function SellerListingFormPage({ mobile = false }: { mobile?: boolean } = setForm(previous => ({ ...previous, [key]: value })) } + // 移动端把「赛季保险」排在「体力等级」前面,PC 维持原顺序。 + const staminaLevelField = ( + updateForm('stamina_level', value)} + /> + ) + const seasonInsuranceField = ( + updateForm('season_insurance', value)} + /> + ) + useEffect(() => { setQuantityValues(previous => { const next = { ...previous } @@ -1218,20 +1238,17 @@ export function SellerListingFormPage({ mobile = false }: { mobile?: boolean } = onChange={event => updateForm('secret_kd', event.target.value)} /> - updateForm('stamina_level', value)} - /> - updateForm('season_insurance', value)} - /> + {mobile ? ( + <> + {seasonInsuranceField} + {staminaLevelField} + + ) : ( + <> + {staminaLevelField} + {seasonInsuranceField} + + )}