From 1c658b093f0f426031da211125c6decf0c2c1851 Mon Sep 17 00:00:00 2001 From: yangzhe Date: Fri, 4 Jul 2025 15:26:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E4=B8=BA=E2=80=9C=E6=BA=90=E5=B0=8F=E6=96=B0?= =?UTF-8?q?=E2=80=9D=EF=BC=8C=E6=B7=BB=E5=8A=A0AI=E6=A0=A1=E5=9B=AD?= =?UTF-8?q?=E5=8A=A9=E6=89=8B=E4=BB=8B=E7=BB=8D=EF=BC=8C=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=92=8C=E8=B7=AF=E7=94=B1=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 1 + manifest.json | 2 +- pages/home/index/index.vue | 48 ++++++++++++++++++++++++-------------- static/common/js/router.js | 5 +++- 4 files changed, 37 insertions(+), 19 deletions(-) diff --git a/App.vue b/App.vue index 71049d4..0e94c79 100644 --- a/App.vue +++ b/App.vue @@ -36,6 +36,7 @@ export default { } }, }); + return if (!that.vuex_user.isFill) { this.$u.vuex("vuex_msgList", ""); this.$u.vuex("vuex_user", ""); diff --git a/manifest.json b/manifest.json index a0c4787..018a9d1 100644 --- a/manifest.json +++ b/manifest.json @@ -161,7 +161,7 @@ "enable" : true } }, - "title" : "笑柚", + "title" : "源小新", "sdkConfigs" : { "maps" : { "qqmap" : { diff --git a/pages/home/index/index.vue b/pages/home/index/index.vue index d570fd2..95b7674 100644 --- a/pages/home/index/index.vue +++ b/pages/home/index/index.vue @@ -104,6 +104,12 @@ 我什么时候能够知道自己是否被录取? --> + + 源小新AI校园小助手 + 我是你们的AI校园助手,我可以为你答疑解惑。 + @@ -155,7 +161,7 @@ - + @@ -378,13 +384,13 @@ export default { { time: "", messages: [ - { id: 5, content: "新生报到流程", isUser: true }, - { - id: 6, - content: - "新生报到流程:个人信息完善 --预报到 -- 照片信息采集 --缴费 --入校验审 -- 人脸识别 --打印报到单", - isUser: false, - }, + // { id: 5, content: "新生报到流程", isUser: true }, + // { + // id: 6, + // content: + // "新生报到流程:个人信息完善 --预报到 -- 照片信息采集 --缴费 --入校验审 -- 人脸识别 --打印报到单", + // isUser: false, + // }, ], }, ], @@ -809,22 +815,30 @@ page { } .chat-card { - background-color: #ffffff; - border-radius: 16rpx; + // background-color: #ffffff; + // border-radius: 16rpx; padding: 30rpx; margin-bottom: 30rpx; .chat-card-title { - font-size: 32rpx; - font-weight: 500; - color: #333333; - margin-bottom: 10rpx; + font-family: DouyinSans; + font-weight: bold; + font-size: 36rpx; + color: #5255e6; + // line-height: 24rpx; + background: linear-gradient(-56deg, #4d50dd 0%, #3e6aff 100%); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + margin-bottom: 12rpx; } .chat-card-desc { + font-family: PingFang SC; + font-weight: 500; font-size: 24rpx; - color: #666666; - margin-bottom: 20rpx; + color: #9ba5c7; + line-height: 24rpx; + margin-bottom: 12rpx; } .chat-card-questions { diff --git a/static/common/js/router.js b/static/common/js/router.js index bf2d8ac..31ee8d1 100644 --- a/static/common/js/router.js +++ b/static/common/js/router.js @@ -26,8 +26,11 @@ const initApp = function(vm) { // title: '请先登录', // icon: 'none' // }) + // uni.navigateTo({ + // url: config.loginPage + // }) uni.navigateTo({ - url: config.loginPage + url: '/' }) return false } else {