模板组件

This commit is contained in:
X1627315083
2025-11-13 10:56:26 +08:00
parent 06f36092bd
commit c54d9fa2f6
2 changed files with 434 additions and 1 deletions

View File

@@ -54,6 +54,9 @@
</div>
</div>
</div>
<div style="width: 100%; height: 100px;">
<promptInput :content="prompt" ref="promptInput"></promptInput>
</div>
<div class="poses">
<div class="head">
<div class="text">{{$t('poseTransfer.Selectpose')}}</div>
@@ -136,11 +139,12 @@ import { getUploadUrl,isMoible,getMinioUrl } from "@/tool/util";
import { getCookie,setCookie } from "@/tool/cookie";
import showViewVideo from "@/tool/mount";
import router from '@/router';
import promptInput from "./promptInput.vue";
export default defineComponent({
components:{
generalDrag,
// selectList,
promptInput
},
props:{
isDesignPage:{
@@ -191,6 +195,12 @@ export default defineComponent({
generateTime:null as any,
poseList:[],
selectPose:null as any,
prompt:[
{ id: '1', type: 'text', value: '11111' },
{ id: '2', type: 'input', value: '222', placeholder: '[请输入内容]' },
{ id: '3', type: 'text', value: '333333' },
{ id: '4', type: 'input', value: '', placeholder: '[请输入内容]' }
]
})
let speed = reactive({
speedList:[
@@ -217,6 +227,7 @@ export default defineComponent({
generalDragLeft:null as any,
generalDragRight:null as any,
scaleVideo:null as any,
promptInput: null as any,
})
const selectImgItem = (item:any,)=>{
if(item.isChecked){