easegen-front/src/views/chooseTemplate/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
easegen-front/src/views/digitalcourse/template/TemplateForm.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
easegen-front/src/views/chooseTemplate/index.vue
@@ -474,6 +474,7 @@ }" /> </div> <el-empty v-if="hostList.length==0" description="暂无数据" /> <Pagination small="true" :total="total" @@ -491,6 +492,10 @@ class="template-item" v-for="(template, index) in templates" :key="index" :style="{ width: '90%', maxWidth: '90%', }" @click="handleTemplateSelection(template)" > <div class="list-index" :style="template.isActive ? 'background: #409eff' : ''"> @@ -498,6 +503,7 @@ </div> <el-image class="background" :src="template.previewImage" fit="contain" /> </div> <el-empty v-if="templates.length==0" description="暂无数据" /> </div> <div class="apply-all"> <el-checkbox v-model="applyAllTemplate" :label="t('courseCenter.uploadAudio')" /> @@ -1198,16 +1204,6 @@ queryParams.posture = tabs3ActiveNum.value queryParams.status = 0 let data = await pptTemplateApi.pageList(queryParams) if (data.list.length == 0) { queryParams.type = tabs1ActiveNum.value == '0' ? '1' : '0' tabs1ActiveNum.value = queryParams.type data = await pptTemplateApi.pageList(queryParams) if (data.list.length == 0) { message.error('没有有效的数字人,请联系管理员') return } } data.list.forEach((item) => { item.isActive = false }) @@ -2328,7 +2324,7 @@ z-index: 1; width: 100%; height: 100%; background-color: #f0f1fa; //background-color: #f0f1fa; } .template-tool { easegen-front/src/views/digitalcourse/template/TemplateForm.vue
@@ -96,7 +96,6 @@ </el-col> </el-row> <el-row> <el-col :span="12"> <el-form-item :label="t('template.digitalPeopleWidth')" prop="humanW"> <el-input type="number" disabled v-model="formData.humanW" :placeholder="t('common.inputText') + t('template.digitalPeopleWidth')" /> @@ -119,8 +118,6 @@ <el-input type="number" v-model="formData.humanY" :placeholder="t('common.inputText') + t('template.leftPositionDigitalPeople')" /> </el-form-item> </el-col> </el-row> <el-row> <el-col :span="12"> @@ -134,14 +131,6 @@ </el-form-item> </el-col> </el-row> </el-form> <template #footer> <el-button @click="submitForm" type="primary" :disabled="formLoading">{{ t('common.ok') }}</el-button>