fix(page): update widget width to 880px and adjust placeholder text

This commit is contained in:
mlogclub
2026-04-19 21:07:15 +08:00
parent be49c9cd01
commit eab8002955
+2 -2
View File
@@ -34,7 +34,7 @@ function buildDefaultConfig(baseUrl: string): TestConfig {
subtitle: "贝壳AI客服为您服务", subtitle: "贝壳AI客服为您服务",
position: "right", position: "right",
themeColor: "#0f6cbd", themeColor: "#0f6cbd",
width: "680px", width: "880px",
subject: generateRandomSubject(), subject: generateRandomSubject(),
}; };
} }
@@ -327,7 +327,7 @@ function WidgetTestPageInner() {
onChange={(event) => onChange={(event) =>
updateField("width", event.target.value) updateField("width", event.target.value)
} }
placeholder="例如 680px、50vw" placeholder="例如 880px、50vw"
className="w-full rounded-lg border border-slate-200 bg-white px-3 py-2.5 text-sm text-slate-900 outline-none transition focus:border-sky-400" className="w-full rounded-lg border border-slate-200 bg-white px-3 py-2.5 text-sm text-slate-900 outline-none transition focus:border-sky-400"
/> />
</label> </label>