diff --git a/src/component/home/design/editDesignType/index.vue b/src/component/home/design/editDesignType/index.vue index 6ce86f3d..5cd05aca 100644 --- a/src/component/home/design/editDesignType/index.vue +++ b/src/component/home/design/editDesignType/index.vue @@ -1,1320 +1,1526 @@ - - - - - - - - - - - - - - - - - - - {{$t('ProductImg.MagicTools')}} - {{$t('ProductImg.relightingTool')}} - - - {{$t('ProductImg.Similarity')}} - - - {}" - > - - - - - {{$t('ProductImg.RelightDirection')}} - - - - - - {{$t('ProductImg.Highlight')}} - - - - - - - - {{ $t('ProductImg.Prompt') }} - - - - - - - {{ $t('ProductImg.PromptAssit') }} - - - - - - - - {{$t('poseTransfer.Selectpose')}} - - - - - - - - - - - - - - - - - - - - - - - {{ item.label }} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + {{ $t('ProductImg.MagicTools') }} + + + {{ $t('ProductImg.relightingTool') }} + + + + {{ $t('ProductImg.Similarity') }} + + + {}" + > + + + + {{ $t('ProductImg.RelightDirection') }} + + + + + + {{ $t('ProductImg.Highlight') }} + + + + + + + {{ $t('ProductImg.Prompt') }} + + + + + + + {{ $t('ProductImg.PromptAssit') }} + + + + + + + + {{ $t('poseTransfer.Selectpose') }} + + + + + + + + + + + + + + + + + + + + + + + + {{ item.label }} + + + + + + + + + + + + + + + + + + + + + + + + + + + - \ No newline at end of file + diff --git a/src/component/home/tools/poseTransfer/index.vue b/src/component/home/tools/poseTransfer/index.vue index 661cf049..2103eb69 100644 --- a/src/component/home/tools/poseTransfer/index.vue +++ b/src/component/home/tools/poseTransfer/index.vue @@ -1505,7 +1505,7 @@ export default defineComponent({ } > .head { color: #000; - font-weight: 600; + font-weight: 500; display: flex; align-items: center; column-gap: 1rem; @@ -1526,6 +1526,7 @@ export default defineComponent({ font-size: 1.8rem; color: #000; margin-bottom: 1.4rem; + font-weight: 500; } > .poses { margin-top: 3rem; @@ -1627,6 +1628,7 @@ export default defineComponent({ } .video-type-container { margin-bottom: 4rem; + font-weight: 500; .title { font-size: 1.8rem; color: #000; diff --git a/src/component/home/tools/poseTransfer/promptInput.vue b/src/component/home/tools/poseTransfer/promptInput.vue index 0ccb0910..e8e188c9 100644 --- a/src/component/home/tools/poseTransfer/promptInput.vue +++ b/src/component/home/tools/poseTransfer/promptInput.vue @@ -1,507 +1,518 @@ - - - - - {{ $t('ProductImg.PromptAssit') }} - - - - - - {{item.value }} - + + + + + {{ $t('ProductImg.PromptAssit') }} + + + + + + + {{ item.value }} + - - handleInputChange(index, e)" - @keydown="(e) => handleInputKeydown(e, index)" - @blur="() => handleInputBlur(index)"> - - - - - {{ $t('ProductImg.PromptAssit') }} - - + + handleInputChange(index, e)" + @keydown="e => handleInputKeydown(e, index)" + @blur="() => handleInputBlur(index)" + > + + + + + + {{ $t('ProductImg.PromptAssit') }} + + \ No newline at end of file + diff --git a/src/component/home/tools/toProduct/index.vue b/src/component/home/tools/toProduct/index.vue index 9c54432f..a6b9d084 100644 --- a/src/component/home/tools/toProduct/index.vue +++ b/src/component/home/tools/toProduct/index.vue @@ -623,11 +623,12 @@ export default defineComponent({ } } let isSelectObject = false - watch(() => route.query, - (query:any, oldQuery:any) => { - isSelectObject = false - }, - ); + watch( + () => route.query, + (query: any, oldQuery: any) => { + isSelectObject = false + } + ) let beforeUpload = async (file: any) => { const isJpgOrPng = file.type === 'image/jpeg' || @@ -641,8 +642,8 @@ export default defineComponent({ if (!isLt2M) { message.info(useI18n().t('MoodboardUpload.jsContent4')) } - const objectId = route?.query?.id - if (!objectId && !isSelectObject) { + const objectId = route?.query?.id + if (!objectId && !isSelectObject) { isSelectObject = true productImgData.selectObject.id = await createProbject() upload.value = { @@ -650,10 +651,7 @@ export default defineComponent({ CollectionType: props.productimgMenu.value } } - return !!( - (isJpgOrPng && isLt2M && objectId) || - Upload.LIST_IGNORE - ) + return !!((isJpgOrPng && isLt2M && objectId) || Upload.LIST_IGNORE) } let setGenerate = (item: any) => { item.isChecked = !item.isChecked @@ -1559,8 +1557,8 @@ export default defineComponent({ :deep(.ant-upload-picture-card-wrapper) { .ant-upload-list-picture-card { .ant-upload-select-picture-card { - width: 9.6rem; - height: 13.4rem; + width: 12.7rem; + height: 17.8rem; } } } @@ -1579,9 +1577,14 @@ export default defineComponent({ .input_box { .input_box_btnBox { position: relative; + display: flex; + flex-direction: column; + align-items: flex-start; .textarea { + // flex: 1; min-height: 12.7rem; max-height: none; + width: 100%; } } } @@ -1592,9 +1595,9 @@ export default defineComponent({ font-size: 1rem; font-weight: 400; color: #313131; - position: absolute; - bottom: 1.3rem; - left: 1.3rem; + // position: absolute; + // bottom: 1.3rem; + // left: 1.3rem; display: flex; column-gap: 0.3rem; justify-content: center; diff --git a/src/lang/cn.ts b/src/lang/cn.ts index d3d0c1d3..20995592 100644 --- a/src/lang/cn.ts +++ b/src/lang/cn.ts @@ -295,8 +295,8 @@ export default { GeneratedVideo: '生成的视频', hint: '将这张图像转化为一张逼真、达到工作室水准的照片。在生活中真实存在的人', jsContent1: '生成视频预计需要三分钟,请问是否继续', - NeedFirstFrame:'请选择首帧图片', - NeedLastFrame:'请选择尾帧图片', + NeedFirstFrame: '请选择首帧图片', + NeedLastFrame: '请选择尾帧图片', SingleGarment: '专业产品摄影:服装展示于隐形模特上,模特不可见。完整保留设计细节——所有图案、颜色、质地及细节特征。', // 单品样衣 SingleChildTryOn: @@ -308,18 +308,18 @@ export default { SeriesChildTryOn: '将此图像转化为逼真的真实儿童模特,保持站立姿势并直面镜头,保留服装的原有图案、风格和色彩,呈现工作室级别的照片质量。', // 系列儿童试穿 UploadWithModel: - '创建模特穿着该服装的真实感摄影棚照片。若原有模特存在则保留,否则生成合适模特。采用站立姿势面向镜头。精确保留服装细节——图案、颜色、质地及装饰元素。', // 上传线稿,带模特 + '生成真实模特穿着该服装的逼真摄影棚照片,采用站立姿势面向镜头。保留服装所有细节——包括图案、颜色、纹理、装饰元素,呈现摄影棚级别的8K分辨率照片,支持HDR效果、景深控制、柔光效果及高细节呈现。请勿返还原始图像。', // 上传线稿,带模特 UploadWithoutModel: '专业产品摄影:服装以自然形态展示,无模特。采用影棚灯光。保留精确细节——图案、色彩、质感、装饰元素。', // 上传线稿,不带模特 VideoType: '视频类型', FirstFrame: '首帧', - LastFrame:'尾帧', + LastFrame: '尾帧', FirstAndLastFrames: '首帧和尾帧', FirstFrameAndSkeleton: '首帧和骨架', Tips: '提示', TipsStart: '你可以使用"', TipsEnd: '编辑产品图"来生成首帧或尾帧图片', - PormptPlaceholder:'输入你想描述的场景...', + PormptPlaceholder: '输入你想描述的场景...', firstAndLastFrameText1: '随着视频的进行,使用', firstAndLastFramePlaceholder1: '[相机运动]', firstAndLastFrameText2: '来跟随动作,在', diff --git a/src/lang/en.ts b/src/lang/en.ts index 5a8fe478..69c13d94 100644 --- a/src/lang/en.ts +++ b/src/lang/en.ts @@ -318,7 +318,7 @@ export default { SeriesChildTryOn: 'Transform this image into a realistic, the same real child model , Maintain a standing posture and face the camera directly, keep the same pattern, style and colour of these garment, studio-quality photograph.', // 系列儿童 UploadWithModel: - 'Create realistic studio photo with model wearing this garment. Keep original model if present, or generate appropriate model. Standing pose, facing camera. Preserve exact garment details - patterns, colors, textures, embellishments.', // 上传线稿,带模特 + 'Generate realistic studio photo of a real model wearing this garment, standing pose, facing camera. Preserve exact garment details - all patterns, colors, textures, embellishments, studio-quality photograph, 8K, HDR, DOF, soft lighting, high detail. Do not return the original image.', // 上传线稿,带模特 UploadWithoutModel: 'Professional product photo: garment displayed with natural shape, no model. Studio lighting. Preserve exact details - patterns, colors, textures, embellishments.', // 上传线稿,不带模特 VideoType: 'Video Type',