小助理

This commit is contained in:
liuye
2024-08-23 08:36:04 +08:00
parent 604fe63e7e
commit 5d5a18d617
2 changed files with 7 additions and 4 deletions

View File

@@ -32,7 +32,8 @@
<img src="https://cdn.cunwuyun.cn/wechat/baiduAI/play-d.gif" alt="" v-if="item.isPlay">
<img src="https://cdn.cunwuyun.cn/wechat/baiduAI/play-j.png" alt="" v-else>
</div>
<p v-if="!item.sdkFileUrl">{{item.content || ''}}</p>
<div v-if="item.content2Html" v-html="item.content2Html"></div>
<p v-if="!item.sdkFileUrl && !item.content2Html">{{item.content || ''}}</p>
</div>
<img src="https://cdn.cunwuyun.cn/wechat/baiduAI/user-img.png" alt="" class="user-img" v-if="item.userType != 1">
</div>

View File

@@ -31,11 +31,12 @@
<u-icon name="play-right-fill" color="#CCE2FF" size="20" v-if="item.userType != 1" class="u-icon-right"></u-icon>
<u-icon name="play-left-fill" color="#F3F5F7" size="20" v-if="item.userType == 1" class="u-icon-left"></u-icon>
<div class="voice-div" v-if="item.sdkFileUrl" @click="play(item.sdkFileUrl, index)">
<span>8</span>
<!-- <span>8</span> -->
<img src="https://cdn.cunwuyun.cn/wechat/baiduAI/play-d.gif" alt="" v-if="item.isPlay">
<img src="https://cdn.cunwuyun.cn/wechat/baiduAI/play-j.png" alt="" v-else>
</div>
<p v-if="!item.sdkFileUrl">{{item.content || ''}}</p>
<div v-if="item.content2Html" v-html="item.content2Html"></div>
<p v-if="!item.sdkFileUrl && !item.content2Html">{{item.content || ''}}</p>
</div>
<img src="https://cdn.cunwuyun.cn/wechat/baiduAI/user-img.png" alt="" class="user-img" v-if="item.userType != 1">
</div>
@@ -387,6 +388,8 @@ page {
height: 100vh;
background-color: #fff;
position: relative;
padding-top: 144px;
box-sizing: border-box;
.top-fixed {
width: 100%;
position: fixed;
@@ -428,7 +431,6 @@ page {
// background-image: url("https://cdn.sinoecare.com/i/2024/08/22/66c6b4384635e.jpg");
// background-size: 100% 100%;
// background-repeat: no-repeat;
margin-top: 144px;
box-sizing: border-box;
padding-top: 28px;
.text-content {