feat: 欢迎语优化

This commit is contained in:
2025-08-11 00:28:59 +08:00
parent 4f5a9dd873
commit 2ac8148f6a

View File

@@ -1,11 +1,11 @@
<template> <template>
<view class="top-bg-content"> <view class="top-bg-content">
<view class="top-item" > <view class="top-item" >
<!-- :style="backgroundStyle" --> <!-- :style="backgroundStyle" -->
<image class="top-item-left" :src="initPageImages.welcomeImageUrl"></image> <image class="top-item-left" :src="initPageImages.welcomeImageUrl"></image>
<image class="top-item-right" :src="initPageImages.logoImageUrl"></image> <image class="top-item-right" :src="initPageImages.logoImageUrl"></image>
</view> </view>
<ChatCardAI :text='welcomeContent'/> <ChatCardAI v-if="welcomeContent.length" :text='welcomeContent'/>
</view> </view>
</template> </template>
@@ -47,7 +47,7 @@
align-items: stretch; align-items: stretch;
flex-direction: column; flex-direction: column;
} }
.top-item { .top-item {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@@ -56,15 +56,15 @@
padding: 0 32px; padding: 0 32px;
margin-bottom: -8px; margin-bottom: -8px;
} }
.top-item-left { .top-item-left {
width: 118px; width: 118px;
height: 52px; height: 52px;
} }
.top-item-right { .top-item-right {
width: 130px; width: 130px;
height: 130px; height: 130px;
margin: -12px 0; margin: -12px 0;
} }
</style> </style>