Skip to content

Commit 77d4c80

Browse files
committed
chore: 宴会场导入界面优化
1 parent 691855a commit 77d4c80

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

DESIGN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@
6565

6666
采用混合策略:普通内容依靠主题色的 tonal shift,输入框和 Modal 使用组件库既有边框与表面。业务组件不新增阴影层级,也不嵌套装饰性卡片。
6767

68+
不要用 border,一般不画分割线。不要给 button 设置透明度、边框、动画之类自定义样式,因为全局 css 里已经有了
69+
6870
## 8. Accessibility Constraints & Accepted Debt
6971

7072
- 目标为 WCAG 2.2 AA;正文对比度不低于 4.5:1,大字不低于 3:1。
7173
- 所有交互必须可键盘到达并有可见焦点。
7274
- 中文标签保持完整语义短语,375px 宽度下不允许单字孤行或控件覆盖。
73-
74-
当前没有因本次宴谱功能新增的可访问性债务。

MaiChartManager/Front/src/views/Charts/ImportCreateChartButton/ImportChartButton/ErrorDisplayIdInput.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ export default defineComponent({
4444

4545
return () => <Modal
4646
width="min(90vw,50em)"
47-
innerClass="max-h-[90dvh] of-hidden"
4847
title={t('chart.import.importPrompt')}
4948
v-model:show={show.value}
5049
>{{
51-
default: () => <div class="max-h-[calc(90dvh-10rem)] of-y-auto cst pr-1 space-y-3">
50+
default: () => <div class="flex flex-col gap-3">
5251
<ImportAlert errors={props.errors} tempOptions={props.tempOptions}></ImportAlert>
5352
{!!props.meta.length && <>
5453
<div>{t('chart.import.assignId')}</div>
@@ -125,7 +124,7 @@ const MusicIdInput = defineComponent({
125124
<NumberInput v-model:value={props.meta.id} min={dxBase.value + 1} max={119999} step={1} class="w-full sm:w-auto shrink-0"/>
126125
</div>
127126
{isUtage.value && props.meta.maidataLevels.length >= 2 && props.meta.utageMapping &&
128-
<div class="flex flex-col gap-3 border-t border-t-solid border-gray/20 pt-3 sm:ml-19">
127+
<div class="flex flex-col gap-3 sm:ml-19">
129128
<div class="flex flex-wrap gap-x-5 gap-y-2">
130129
<label class="flex gap-2 items-center">
131130
<input type="radio" name={playStyleInputName} checked={!props.meta.utageMapping.isDoublePlayer}

0 commit comments

Comments
 (0)