du
2025-04-16 020a78308e18daf7a872e19c2d0ddb179156728d
人脸模板
已修改1个文件
54 ■■■■■ 文件已修改
easegen-front/src/views/chooseTemplate/index.vue 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
easegen-front/src/views/chooseTemplate/index.vue
@@ -179,11 +179,18 @@
            >
              <!-- 背景(必显示) -->
              <el-image
                v-show="selectPPT.pictureUrl"
                v-show="selectPPT.pictureUrl && selectPPT.showDigitalHuman==false"
                class="background1"
                :src="selectPPT.pictureUrl"
                style="z-index: 2"
              />
              <el-image
                v-show="selectPPT.pictureUrl && selectPPT.showDigitalHuman==true"
                class="background1"
                :src="selectPPT.pictureUrl"
                style="z-index: 1"
              />
              <!-- 画中画 -->
              <Vue3DraggableResizable
@@ -220,7 +227,7 @@
                </el-icon>
              </Vue3DraggableResizable>
                <Vue3DraggableResizable
                  v-if="selectPPT.showDigitalHuman"
                  v-if="selectPPT.showDigitalHuman==true"
                  :parent="false"
                  :lockAspectRatio="true"
                  :minW="350"
@@ -242,7 +249,7 @@
                  @resizing="print('resizing')"
                  @drag-end="print('drag-end')"
                  @resize-end="print('resize-end')"
                  style="z-index: 1"
                  style="z-index: 4"
                >
                  <!--                {{PPTpositon.w}}{{PPTpositon.h}}-->
                  <el-image
@@ -260,6 +267,47 @@
                    <Delete />
                  </el-icon>
                </Vue3DraggableResizable>
              <Vue3DraggableResizable
                v-if="selectPPT.showDigitalHuman==false"
                :parent="false"
                :lockAspectRatio="true"
                :minW="350"
                :initW="PPTpositon.w"
                :initH="PPTpositon.h"
                @drag-move="onDragMove"
                v-model:x="PPTpositon.x"
                v-model:y="PPTpositon.y"
                v-model:w="PPTpositon.w"
                v-model:h="PPTpositon.h"
                v-model:active="PPTpositon.active"
                :draggable="true"
                :resizable="true"
                @activated="print('activated')"
                @deactivated="print('deactivated')"
                @drag-start="print('drag-start')"
                @resize-start="print('resize-start')"
                @dragging="print('dragging')"
                @resizing="print('resizing')"
                @drag-end="print('drag-end')"
                @resize-end="print('resize-end')"
                style="z-index: 1"
              >
                <!--                {{PPTpositon.w}}{{PPTpositon.h}}-->
                <el-image
                  class="minddle-host-image"
                  :src="selectHost ? selectHost.pictureUrl : ''"
                />
                <el-icon
                  v-if="PPTpositon.active"
                  size="20"
                  color="#409eff"
                  style="position: absolute; top: 5px; right: 5px; z-index: 4"
                  @click.stop="deleteDigitalHuman"
                >
                  <Delete />
                </el-icon>
              </Vue3DraggableResizable>
            </div>
          </div>
          <el-card