去重优先级,视频合成,没有音频用默认音频

This commit is contained in:
jianzhichu
2025-12-02 22:14:42 +08:00
parent 4663a03483
commit bd3a103f8f
15 changed files with 307 additions and 25 deletions
@@ -1,4 +1,6 @@
<script lang="ts" setup>
// 步骤2:声明父组件传递的 showSetting 事件(关键!)
const emits = defineEmits(['showSetting']);
import { ref, h, VNode, onMounted } from 'vue';
import { StepinHeaderAction } from 'stepin';
import DayNightSwitch from '@/components/switch/DayNightSwitch.vue';
@@ -301,6 +303,7 @@ onMounted(() => {
</script>
<template>
<!-- 步骤1:添加 div 作为单个根元素 -->
<StepinHeaderAction>
<DayNightSwitch />
</StepinHeaderAction>
@@ -376,4 +379,10 @@ onMounted(() => {
color: #1890ff !important;
}
}
/* 新增:根容器样式(和原布局保持一致) */
.header-actions-root {
display: flex;
align-items: center;
gap: 8px; // 按钮之间间距,可根据需要调整
}
</style>