feat(short-drama-agent-front): 优化身份管理与镜头素材布局
This commit is contained in:
1 parent
dd0bd79a35
commit
3d2c198e52
14 files changed
+1060
-629
No files matched your search
@@ -51,7 +51,7 @@ describe('镜头生产数据契约', () => {
|
||||
expect(source).toContain('v-if="currentVideo" class="video-grid mt-4"')
|
||||
expect(source).toMatch(/\.keyframe-grid,\s*\.video-grid\s*\{[^}]*max-w-\[260px\][^}]*grid-cols-1/)
|
||||
expect(source).toMatch(
|
||||
/\.video-input-grid\s*\{[^}]*grid-template-columns:\s*repeat\(auto-fill, minmax\(180px, 220px\)\)/
|
||||
/\.video-input-grid\s*\{[^}]*grid-template-columns:\s*repeat\(auto-fit, minmax\(min\(180px, 100%\), 1fr\)\)/
|
||||
)
|
||||
expect(source).toMatch(/\.keyframe-card \.asset-image\s*\{[^}]*aspect-square/)
|
||||
const videoCard = readFileSync('src/features/production/components/VideoCard.vue', 'utf8')
|
||||
@@ -62,7 +62,7 @@ describe('镜头生产数据契约', () => {
|
||||
expect(source).not.toContain('class="video-input-ref"')
|
||||
expect(source).not.toContain('{{ reference.subjectFormName }} · {{ reference.subjectRef }}')
|
||||
expect(source).toMatch(
|
||||
/@media \(max-width: 760px\)[\s\S]*?\.video-input-grid\s*\{[^}]*grid-cols-\[repeat\(2,_minmax\(0,_1fr\)\)\]/
|
||||
/@media \(max-width: 760px\)[\s\S]*?\.video-input-grid\s*\{[^}]*grid-template-columns:\s*repeat\(auto-fit, minmax\(min\(120px, 100%\), 1fr\)\)/
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user