助理
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div class="top-select" @click="back">
|
||||
<u-icon name="arrow-left" color="#fff" size="28"></u-icon>返回
|
||||
</div>
|
||||
<p>模型应用:文本助理</p>
|
||||
<!-- <p>模型应用:{{params.aiConfigName}}</p> -->
|
||||
</div>
|
||||
<div class="search-content">
|
||||
<u-search v-model="searchVal" :clearabled="true" placeholder="请输入搜索关键词…" :show-action="false"
|
||||
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
del(e) {
|
||||
this.$confirm('确定删除该数据?').then(() => {
|
||||
uni.showLoading()
|
||||
this.$http.post(`appaicopilotinfo/deleteConversation?conversationId=${e.conversationId}`).then((res) => {
|
||||
this.$http.post(`/app/appaicopilotinfo/deleteConversation?conversationId=${e.conversationId}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('删除成功!')
|
||||
this.getSearchList()
|
||||
|
||||
@@ -2,8 +2,14 @@
|
||||
<div class="Talk">
|
||||
<!-- <u-navbar title="Copilot小助理" title-color="#000" title-width="300" title-size="32" :title-bold="true" :background="backgroundNavbar" :is-back="false" height="88"></u-navbar> -->
|
||||
<!-- <scroll-view scroll-y="true" class="scroll-Y" @scroll="scroll"> -->
|
||||
<div class="top-select" @click="showType=true">
|
||||
<!-- <div class="top-select" @click="showType=true">
|
||||
{{aiConfigName || '选择应用'}} <u-icon name="arrow-down" color="#fff" size="28"></u-icon>
|
||||
</div> -->
|
||||
<div class="top-fixed">
|
||||
<div class="top-select" @click="showType=true">
|
||||
{{aiConfigName || '选择应用'}} <u-icon name="arrow-down" color="#fff" size="28"></u-icon>
|
||||
</div>
|
||||
<p>已切换至{{aiConfigName}}大模型</p>
|
||||
</div>
|
||||
<div class="service-content" v-if="!messageList.length">
|
||||
<div class="text-content">
|
||||
@@ -332,20 +338,35 @@ page {
|
||||
height: 100vh;
|
||||
background-color: #fff;
|
||||
position: relative;
|
||||
.top-fixed {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
padding: 32px 0 0 28px;
|
||||
z-index: 9;
|
||||
background-color: #fff;
|
||||
p {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
color: #708099;
|
||||
text-align: center;
|
||||
padding: 10px 0 8px 0;
|
||||
line-height: 34px;
|
||||
}
|
||||
}
|
||||
.top-select {
|
||||
display: inline-block;
|
||||
line-height: 64px;
|
||||
background: #026AF2;
|
||||
border-radius: 32px;
|
||||
position: fixed;
|
||||
left: 28px;
|
||||
top: 32px;
|
||||
text-align: center;
|
||||
padding: 0 24px;
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
font-size: 28px;
|
||||
color: #FFF;
|
||||
z-index: 9;
|
||||
u-icon {
|
||||
margin-left: 8px;
|
||||
}
|
||||
@@ -415,7 +436,7 @@ page {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
padding: 128px 32px 364px;
|
||||
padding: 160px 32px 364px;
|
||||
.send-time {
|
||||
display: block;
|
||||
width: 100%;
|
||||
@@ -500,6 +521,7 @@ page {
|
||||
width: 100%;
|
||||
border-top: 1px solid #eee;
|
||||
background-color: #fff;
|
||||
z-index: 9;
|
||||
.type-text {
|
||||
padding: 24px 0 24px 32px;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user