fix: 区分视频引用素材卡片层级
This commit is contained in:
1 parent
553297ff50
commit
680024b792
2 files changed
+15
-3
No files matched your search
@@ -46,6 +46,9 @@ describe('镜头生产数据契约', () => {
|
||||
expect(source).toMatch(/\.video-input-grid,[\s\S]*?\.video-grid\s*\{[^}]*grid-template-columns:\s*repeat\(auto-fill, minmax\(180px, 220px\)\)/)
|
||||
expect(source).toMatch(/\.keyframe-card \.asset-image\s*\{[^}]*aspect-square/)
|
||||
expect(source).toMatch(/\.production-video\s*\{[^}]*aspect-square/)
|
||||
expect(source).toMatch(/\.video-input-card\s*\{[^}]*bg-\(--app-control\)/)
|
||||
expect(source).toContain('class="video-input-ref" :title="reference.subjectRef"')
|
||||
expect(source).not.toContain('{{ reference.subjectFormName }} · {{ reference.subjectRef }}')
|
||||
expect(source).toMatch(
|
||||
/@media \(max-width: 760px\)[\s\S]*?\.video-grid\s*\{[^}]*grid-cols-\[repeat\(2,_minmax\(0,_1fr\)\)\]/
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user