diff --git a/components/ModalComponents.vue b/components/ModalComponents.vue index f0f7a9f..1d2c6cf 100644 --- a/components/ModalComponents.vue +++ b/components/ModalComponents.vue @@ -9,14 +9,14 @@ @@ -93,17 +93,21 @@ align-items: flex-end; justify-content: center; position: fixed; + top: 0; width: 100%; height: 100%; background-color: rgba(227, 226, 226, 0.5); z-index: 8000; } .addContainer { - height: 50vh; + /* height: 55vh; */ width: 100vw; border-radius: 15px 15px 0 0; background: linear-gradient(180deg, #E8C8FF 19.64%, #F4E4FF 67.76%, #FFFFFF 100%); } + .inputContainer { + height: 8vh; + } .dutyTitle { width: 85%; margin-left: 10px; @@ -128,7 +132,6 @@ width: 16px; height: 16px; background-color: transparent; - border: 1px solid #FFFFFF; } .changeColor_btn { @@ -137,7 +140,6 @@ box-shadow: none; font-size: 16px; font-weight: 600; - border-radius: 15px; height:30px; margin: 0; @@ -147,7 +149,6 @@ display: flex; justify-content: space-around; align-items: center; - } .changeColor_btn::after { border: none; @@ -158,9 +159,10 @@ } .addInfo { width: 90%; + height: 30vh; margin:0 auto; font-size: 16px; font-weight: 600; - border:1px black solid + /* border:1px black solid */ } \ No newline at end of file diff --git a/components/aiCom/talk.vue b/components/aiCom/talk.vue index 9797b5d..007d9e5 100644 --- a/components/aiCom/talk.vue +++ b/components/aiCom/talk.vue @@ -3,9 +3,8 @@ - + - {{ data }} @@ -18,40 +17,28 @@ import { useStreamData } from '../../request/api' import {useUserStone} from '../../store/userStore' import api from '../../request/api' import talkMode from './talkMode.vue' -import { useRequestModeStore } from '../../store/requestModeStore' -import { func } from 'uview-plus/libs/function/test' const userStone = useUserStone() const {data,startStreaming} = useStreamData(`http://127.0.0.1:8000/LetUsPlan/AI/${userStone.userid}/StreamData`) -const requestModeStore = useRequestModeStore() + //查看可用模型 async function requestAllModels(){ let res = await api.requestAllModels() console.log(res) } -//发起请求 -function requestAi(){ -if(requestModeStore.stream==false){ -requestChat3_5Per() -} -if(requestModeStore.stream==true){ -requestStreamData() -} -} - -//普通请求 +//单次请求3.5模型 async function requestChat3_5Per(){ //暂时用静态数据测试,详情查阅api文档 let data = { - model: requestModeStore.model, + model: "gpt-3.5-turbo", messages: [ { role: "user", content: "早上好!" }, ], - temperature: requestModeStore.temperature, - max_tokens: requestModeStore.max_tokens, + temperature: 0.5, + max_tokens: 800, stream: false, } @@ -63,11 +50,11 @@ console.log(res.choices[0].message) //请求流式数据 async function requestStreamData() { let data = { - model:requestModeStore.model, + model:"gpt-3.5-turbo", messages:[{"role": "user", "content": "Hello, OpenAI!please give me a long paragraph"}], stream:true, - temperature: requestModeStore.temperature, - max_tokens: requestModeStore.max_tokens,} + temperature:0.5, + max_tokens:550,} startStreaming(data) } diff --git a/components/aiCom/talkMode.vue b/components/aiCom/talkMode.vue index 3a276ff..d327921 100644 --- a/components/aiCom/talkMode.vue +++ b/components/aiCom/talkMode.vue @@ -2,19 +2,16 @@ @@ -22,62 +19,21 @@ \ No newline at end of file diff --git a/components/calendar.vue b/components/calendar.vue index 8a0d634..81d1c89 100644 --- a/components/calendar.vue +++ b/components/calendar.vue @@ -1,59 +1,48 @@ - + \ No newline at end of file diff --git a/components/changeColor.vue b/components/changeColor.vue index fb74733..62264fd 100644 --- a/components/changeColor.vue +++ b/components/changeColor.vue @@ -1,126 +1,134 @@ + .modalOverlay { + display: flex; + align-items: flex-end; + justify-content: center; + position: fixed; + top: 0; + width: 100vw; + height: 100vh; + background-color: rgba(227, 226, 226, 0.5); + z-index: 9000; + } + .changeColorContainer { + background: linear-gradient(180deg, #E8C9FF 0%, #FEFCFF 25%); + width: 100%; + /* height: 41vh; */ + box-sizing: border-box; + border-radius: 16px 16px 0 0; + + } + .selectTitle { + text-align: center; + padding-top: 20px; + padding-bottom: 20px; + + } + .colors { + display: flex; + flex-wrap: wrap; + } + .colorBlock { + width: 25%; + text-align: center; + margin: 10px 0 10px 0 ; + } + .color-item { + height: 50px; + width: 50px; + border-radius: 50%; + padding: 5px; + margin: 10px auto; + } + .buttonContainer { + display: flex; + flex-direction: row; + margin: 10px; + } + .pickerCancel { + border-radius: 16px; + background-color: #ededed; + width: 40%; + border: 1px solid #A4A4A4 + } + .pickerIdentify { + border-radius: 16px; + background-color: #deb0ff; + width: 40%; + border: 1px solid #A4A4A4 + } + + \ No newline at end of file diff --git a/components/loginCom/LoginModal.vue b/components/loginCom/LoginModal.vue index 8ae57ad..f06ddf0 100644 --- a/components/loginCom/LoginModal.vue +++ b/components/loginCom/LoginModal.vue @@ -3,7 +3,17 @@ × -

这是用户协定

+

+ 购买本服务的企业用户,有责任对其最终用户在使用腾讯统一身份期间的行为及发布的内容进行监督和审计,因最终用户行为及发布内容违反相关法律法规而造成的任何后果和损失,由企业用户和最终用户负全部责任。同时,如果企业用户或企业最终用户违反法律法规、本协议和/或腾讯其他协议、规则,腾讯对企业用户或企业最终用户使用的本产品和/或本服务采取任何行为或措施后,导致企业用户或企业最终用户暂时或永久无法使用腾讯统一身份、无法使用腾讯统一身份登录或使用其他产品和/或服务,企业用户应自行承担相应后果,由此造成企业损失的,企业应自行承担。 + 6.4.4 + 您应自行对因使用本服务而产生或存储在本服务中的数据,在本服务之外,采取合理、安全的备份。若腾讯根据本协议对您采取永久封号等措施的,对于您的与本服务相关的全部数据或您存储在本服务中的全部数据、信息等,腾讯有权将该等数据全部予以删除,相应后果您应自行承担。 + 6.4.5 + 您导致任何第三方损害的,您应当独立承担责任;腾讯因此遭受损失的,您也应当一并赔偿。 + 6.5 + 您充分了解并同意,您必须为自己使用本产品和/或本服务的一切行为负责,包括您所发表的任何内容以及由此产生的任何后果。您应对使用本产品和/或本服务时接触到的内容自行加以判断,包括因对内容的正确性、完整性或实用性的依赖而产生的风险,并承担由此引起的相应风险。腾讯在法律允许的范围内不对您因前述风险而导致的任何损失或损害承担责任。 + 如您为企业用户,您应对您指定的管理员账号的行为负责,腾讯根据您设置的管理员账号的行为、操作和指示所做的服务调整亦由您承担后果;如您为不具有完全民事行为能力的自然人,您应理解,您的监护人将对您使用本服务的一切行为负责。 + 6.6 您需确认并同意以下我们对违规内容和用户投诉的处理规则: +

diff --git a/components/loginCom/login.vue b/components/loginCom/login.vue index 5e9c7e1..869d97e 100644 --- a/components/loginCom/login.vue +++ b/components/loginCom/login.vue @@ -8,9 +8,7 @@ class="round-image mbt-15" /> - - 欢迎使用酱紫安排! - + 欢迎使用酱紫安排! @@ -28,10 +26,8 @@ :class="{ Highlight: shouldHighlight }" > - 若微信账号未注册将自动注册,注册即同意 + 若手机号未注册将自动注册,注册即同意 《用户协议》 @@ -39,13 +35,13 @@ - 其他登录方式 - + 其他登录方式 + @@ -60,7 +56,7 @@ + .dutyContainer { + background-color: #fff; + padding: 20px; + border-radius: 5px; + width: 80vw; + height: 60vh; + border: 1px solid #DEB0FF9C; + border-radius:36px; + display: flex; + flex-direction: column; + justify-content: space-evenly; + } + .font{ + font-size: 36px; + } + .addDuty_btn { + height: 60px; + width:60px; + border-radius: 50%; + background-color: transparent; + box-shadow: none; + padding: 0; + margin: 0; + align-self: self-end; + justify-self: flex-end; + flex-shrink: 0; + } + .addDuty_btn image { + height: 60px; + width:60px; + } + .duties { + flex-grow: 1; + flex-shrink: 1; + margin: 10px 5px; + overflow: scroll; + } + .empty-duties { + display: flex; + justify-content: center; + align-items: center; + height: 100%; + font-size: 16px; + color: #666; + } + .duty-item { + display: flex; + align-items: center; + margin-bottom: 10px; + transition: transform 0.2s ease; + position: relative; + } + .circle { + width: 20px; + height: 20px; + border: 2px solid #DEB0FF9C; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + margin-right: 10px; + cursor: pointer; + } + .tick { + color: #DEB0FF9C; + font-size: 14px; + font-weight: bold; + } + .duty-content { + flex: 1; + display: flex; + align-items: center; + } + .duty-title { + font-size: 16px; + font-weight: 600; + margin-right: 10px; + } + .duty-description { + font-size: 14px; + color: #666; + } + /* 完成状态的样式 */ + .completed { + text-decoration: line-through; /* 添加删除线 */ + color: #999; /* 文字颜色变浅 */ + } + .delete-btn { + position: absolute; + right: -100px; + width: 100px; + height: 100%; + background-color: #FF3B30; + color: white; + display: flex; + align-items: center; + justify-content: center; + font-size: 16px; + } + \ No newline at end of file diff --git a/components/reserve-calendar.vue b/components/reserve-calendar.vue index 7e243d3..77dd87b 100644 --- a/components/reserve-calendar.vue +++ b/components/reserve-calendar.vue @@ -1,30 +1,30 @@ -