小助理

This commit is contained in:
liuye
2024-07-16 09:13:30 +08:00
parent 38f2404ef3
commit 77216cbc13
2 changed files with 39 additions and 12 deletions

View File

@@ -1,9 +1,12 @@
<template>
<div class="AppDialogue">
<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>
<u-navbar title="Copilot小助理" title-color="#000" title-width="300" title-size="32" :title-bold="true" :background="backgroundNavbar" :is-back="false" :height="44"></u-navbar>
<!-- <scroll-view scroll-y="true" class="scroll-Y" @scroll="scroll"> -->
<div class="top-select" @click="showType=true">
{{aiConfigName || '选择应用'}} <u-icon name="arrow-down" color="#fff" size="28"></u-icon>
<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">
@@ -92,6 +95,8 @@ innerAudioContext.autoplay = true;
export default {
customNavigation: true,
enablePullDownRefresh: true,
navigationBarBackgroundColor: '#ffffff',
navigationBarTextStyle: 'black',
name: 'AppDialogue',
appName: 'Copilot小助理(对话)',
data() {
@@ -351,19 +356,35 @@ page {
height: 100vh;
background-color: #fff;
position: relative;
.top-fixed {
width: 100%;
position: fixed;
left: 28px;
z-index: 9;
background-image: url('https://cdn.sinoecare.com/i/2024/07/15/6694f173557c9.png');
background-size: 100vw;
background-repeat: no-repeat;
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;
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;
}