diff --git a/src/component/home/design/editDesignType/index.vue b/src/component/home/design/editDesignType/index.vue index 3bc81541..c746c81e 100644 --- a/src/component/home/design/editDesignType/index.vue +++ b/src/component/home/design/editDesignType/index.vue @@ -242,7 +242,16 @@
-
{{ $t('ProductImg.Prompt') }}
+
+ {{ $t('ProductImg.Prompt') }} + +
@@ -380,7 +389,7 @@
{ return store.state.UserHabit.userDetail }) - let { t } = useI18n() + let { t, locale } = useI18n() const textareaRef = useTemplateRef('textareaRef') const videoType = ref(2) const showMotion = computed(() => videoType.value === 1) @@ -599,13 +608,13 @@ export default defineComponent({ }) const showPromptAssist = ref(false) const handleClickAssistBtn = () => { - const { httpType } = store.state.Workspace.probjects - const isSingleDesign = httpType === 'SINGLE_DESIGN' - if (!isSingleDesign) { - const promptText = t('ProductImg.Series') - productimg.productimgSearchName = promptText - return - } + // const { httpType } = store.state.Workspace.probjects + // const isSingleDesign = httpType === 'SINGLE_DESIGN' + // if (!isSingleDesign) { + // const promptText = t('ProductImg.Series') + // productimg.productimgSearchName = promptText + // return + // } showPromptAssist.value = true } @@ -1310,7 +1319,13 @@ export default defineComponent({ return videoType.value === 3 ? false : true } }) - + const handleNavigateHelp = () => { + const url = + locale === 'CHINESE_SIMPLIFIED' + ? 'https://aida-user-manual-chinese.super.site/2b08f755cedd80a985cffdf2af80c538' + : 'https://aida-user-manual.super.site/advanced-tool/animated-product-image/to-product-video-prompt-assist ' + window.open(url,'_blank') + } onBeforeUnmount(() => { clearInterval(prductimgTime) clearInterval(remPrductimgTime) @@ -1374,7 +1389,8 @@ export default defineComponent({ handlePlayNewVideo, isNewVideoPlaying, showDropdown, - inputPlaceholder + inputPlaceholder, + handleNavigateHelp } }, data() { @@ -1786,12 +1802,16 @@ export default defineComponent({ :deep(.promptInput) { box-sizing: border-box; } - .title { - font-weight: 500; - color: #000; - font-size: 1.7rem; - margin-bottom: 1.4rem; - } + .title { + display: flex; + align-items: center; + column-gap: 1rem; + .cursor-icon { + display: flex; + width: auto; + cursor: pointer; + } + } } .prompt-container { margin-top: 4rem; diff --git a/src/component/home/design/tools.vue b/src/component/home/design/tools.vue index 7c77be77..fc398250 100644 --- a/src/component/home/design/tools.vue +++ b/src/component/home/design/tools.vue @@ -31,7 +31,6 @@
- +
store.state.Workspace.probjects) as any,//选择的项目 chatData:null as any, dataLoad:true as any, cachedRoutes:computed(()=>store.state.Workspace.cachedRoutes),// }) + onMounted(()=>{ + data.isShowMark = false + }) let settingGetHistory:any = inject('settingGetHistory') const setIsShowMark = (boolean:boolean)=>{ data.isShowMark = boolean