Merge branch 'dev_vite' of ssh://18.167.251.121:10002/aidlab/aida_front into dev_vite

This commit is contained in:
X1627315083
2025-11-21 10:26:19 +08:00
5 changed files with 60 additions and 17 deletions

View File

@@ -65,4 +65,14 @@ defineExpose({
getContext
})
</script>
<style lang="less" scoped></style>
<style lang="less" scoped>
#sender {
:deep(.chat-scroll) {
font-size: 1.4rem;
padding: 0;
.chat-rich-text {
padding: 0;
}
}
}
</style>

View File

@@ -23,10 +23,13 @@
<div class="selectImg">
<div class="head">
<div class="text">{{ $t('poseTransfer.SelectDesign') }}</div>
<i
<SvgIcon
class="cursor-icon"
v-show="videoType !== 2"
class="fi fi-rs-interrogation tips-icon"
@click="showTips = true"
name="CHelpFlip"
size="18"
color="#000"
/>
</div>
<div class="imgBox" v-mousewheel>
@@ -169,8 +172,15 @@
</div>
<div class="prompt-input-container" v-show="!showMotion">
<div class="title" style="display: flex; gap: 0.5rem">
{{ $t('ProductImg.Prompt') }}
<a
<span>{{ $t('ProductImg.Prompt') }}</span>
<SvgIcon
class="cursor-icon"
@click="handleNavigateHelp"
name="CHelpFlip"
size="18"
color="#000"
/>
<!-- <a
:href="
locale == 'CHINESE_SIMPLIFIED'
? 'https://aida-user-manual-chinese.super.site/2b08f755cedd80a985cffdf2af80c538'
@@ -182,12 +192,8 @@
class="fi fi-rs-interrogation tips-icon"
style="font-size: 1.8rem; color: #000"
/>
</a>
</a> -->
</div>
<!-- <div class="title">
<span>{{ $t('ProductImg.Prompt') }}</span>
<i class="fi fi-rs-interrogation tips-icon" />
</div> -->
<promptInput :content="inputPrompt" ref="promptInput" />
</div>
<div class="poses" v-show="showMotion">
@@ -341,7 +347,7 @@ export default defineComponent({
generalDrag,
promptInput,
Tips,
Product,
Product
},
props: {
isDesignPage: {
@@ -1245,6 +1251,14 @@ export default defineComponent({
{ immediate: 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(data.generateTime)
data.isGenerate = false
@@ -1288,7 +1302,8 @@ export default defineComponent({
productFrameList,
showFirstFrameUpload,
showLastFrameUpload,
inputPrompt
inputPrompt,
handleNavigateHelp
}
},
directives: {
@@ -1677,4 +1692,9 @@ export default defineComponent({
}
}
}
.cursor-icon {
cursor: pointer;
width: initial;
}
</style>

View File

@@ -87,7 +87,7 @@ defineExpose({
position: relative;
border-radius: 10px;
border: 2px solid #dcdfe6;
padding: 1.5rem 1.5rem 3rem;
padding: 1.5rem;
font-size: 1.8rem;
.sender-wrapper {
min-height: 12rem;
@@ -101,7 +101,7 @@ defineExpose({
position: relative;
border-radius: 10px;
border: 2px solid #dcdfe6;
padding: 1.5rem 1.5rem 3rem;
padding: 1.5rem;
height: auto;
font-size: 1.8rem;
.area {
@@ -126,10 +126,11 @@ defineExpose({
padding: 0 0.6rem;
font-size: 1rem;
font-weight: 400;
width: fit-content;
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;

View File

@@ -389,6 +389,9 @@ const handleCopy = async (value: string) => {
border-radius: 0.8rem;
overflow-y: auto;
position: relative;
display: flex;
align-items: center;
justify-content: center;
// &:first-child{
// width: 53.6rem;
// }