style(admin): unify dialog layouts and dense readonly presentation

This commit is contained in:
2026-10-20 10:11:31 +08:00
parent 7ff7c9914f
commit 3267679758
214 changed files with 10931 additions and 2654 deletions
@@ -235,11 +235,13 @@ describe('InboundFeePanel', () => {
it('treats A0404 as a neutral not-yet-generated state', async () => {
vi.mocked(getLatestInboundFee).mockRejectedValue(new ApiResponseError('费用快照不存在', 'A0404'))
mountPanel(['firstleg:fba-pricing:view'])
const wrapper = mountPanel(['firstleg:fba-pricing:view'])
await flushPromises()
expect(document.body.textContent).toContain('尚未生成费用快照')
expect(document.body.textContent).toContain('测量审核完成后')
expect(document.body.textContent).not.toContain('测量审核完成后')
await wrapper.get('button[aria-label="查看计费说明"]').trigger('mouseenter')
await vi.waitFor(() => expect(document.body.textContent).toContain('测量审核完成后'))
expect(document.querySelector('[role="alert"]')).toBeNull()
})