feat: 更新应用标题为“源小新”,添加AI校园助手介绍,调整样式和路由逻辑
This commit is contained in:
parent
31216f77b0
commit
1c658b093f
1
App.vue
1
App.vue
|
@ -36,6 +36,7 @@ export default {
|
|||
}
|
||||
},
|
||||
});
|
||||
return
|
||||
if (!that.vuex_user.isFill) {
|
||||
this.$u.vuex("vuex_msgList", "");
|
||||
this.$u.vuex("vuex_user", "");
|
||||
|
|
|
@ -161,7 +161,7 @@
|
|||
"enable" : true
|
||||
}
|
||||
},
|
||||
"title" : "笑柚",
|
||||
"title" : "源小新",
|
||||
"sdkConfigs" : {
|
||||
"maps" : {
|
||||
"qqmap" : {
|
||||
|
|
|
@ -104,6 +104,12 @@
|
|||
<view class="question-item">我什么时候能够知道自己是否被录取?</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="chat-card">
|
||||
<view class="chat-card-title">源小新AI校园小助手</view>
|
||||
<view class="chat-card-desc"
|
||||
>我是你们的AI校园助手,我可以为你答疑解惑。</view
|
||||
>
|
||||
</view>
|
||||
|
||||
<!-- 对话内容区域 -->
|
||||
<view class="chat-content">
|
||||
|
@ -155,7 +161,7 @@
|
|||
<!-- 底部工具栏 -->
|
||||
<view class="chat-footer">
|
||||
<!-- 悬浮工具栏 -->
|
||||
<view class="floating-tabs">
|
||||
<!-- <view class="floating-tabs">
|
||||
<view
|
||||
class="tab-item"
|
||||
@click="handleFeatureClick({ title: '招生在线' })"
|
||||
|
@ -190,7 +196,7 @@
|
|||
/>
|
||||
<text>电话咨询</text>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<view class="input-container">
|
||||
<view class="input-area">
|
||||
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue