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) {
|
if (!that.vuex_user.isFill) {
|
||||||
this.$u.vuex("vuex_msgList", "");
|
this.$u.vuex("vuex_msgList", "");
|
||||||
this.$u.vuex("vuex_user", "");
|
this.$u.vuex("vuex_user", "");
|
||||||
|
|
|
@ -161,7 +161,7 @@
|
||||||
"enable" : true
|
"enable" : true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title" : "笑柚",
|
"title" : "源小新",
|
||||||
"sdkConfigs" : {
|
"sdkConfigs" : {
|
||||||
"maps" : {
|
"maps" : {
|
||||||
"qqmap" : {
|
"qqmap" : {
|
||||||
|
|
|
@ -104,6 +104,12 @@
|
||||||
<view class="question-item">我什么时候能够知道自己是否被录取?</view>
|
<view class="question-item">我什么时候能够知道自己是否被录取?</view>
|
||||||
</view>
|
</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">
|
<view class="chat-content">
|
||||||
|
@ -155,7 +161,7 @@
|
||||||
<!-- 底部工具栏 -->
|
<!-- 底部工具栏 -->
|
||||||
<view class="chat-footer">
|
<view class="chat-footer">
|
||||||
<!-- 悬浮工具栏 -->
|
<!-- 悬浮工具栏 -->
|
||||||
<view class="floating-tabs">
|
<!-- <view class="floating-tabs">
|
||||||
<view
|
<view
|
||||||
class="tab-item"
|
class="tab-item"
|
||||||
@click="handleFeatureClick({ title: '招生在线' })"
|
@click="handleFeatureClick({ title: '招生在线' })"
|
||||||
|
@ -190,7 +196,7 @@
|
||||||
/>
|
/>
|
||||||
<text>电话咨询</text>
|
<text>电话咨询</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
|
|
||||||
<view class="input-container">
|
<view class="input-container">
|
||||||
<view class="input-area">
|
<view class="input-area">
|
||||||
|
@ -378,13 +384,13 @@ export default {
|
||||||
{
|
{
|
||||||
time: "",
|
time: "",
|
||||||
messages: [
|
messages: [
|
||||||
{ id: 5, content: "新生报到流程", isUser: true },
|
// { id: 5, content: "新生报到流程", isUser: true },
|
||||||
{
|
// {
|
||||||
id: 6,
|
// id: 6,
|
||||||
content:
|
// content:
|
||||||
"新生报到流程:个人信息完善 --预报到 -- 照片信息采集 --缴费 --入校验审 -- 人脸识别 --打印报到单",
|
// "新生报到流程:个人信息完善 --预报到 -- 照片信息采集 --缴费 --入校验审 -- 人脸识别 --打印报到单",
|
||||||
isUser: false,
|
// isUser: false,
|
||||||
},
|
// },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -809,22 +815,30 @@ page {
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-card {
|
.chat-card {
|
||||||
background-color: #ffffff;
|
// background-color: #ffffff;
|
||||||
border-radius: 16rpx;
|
// border-radius: 16rpx;
|
||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
margin-bottom: 30rpx;
|
margin-bottom: 30rpx;
|
||||||
|
|
||||||
.chat-card-title {
|
.chat-card-title {
|
||||||
font-size: 32rpx;
|
font-family: DouyinSans;
|
||||||
font-weight: 500;
|
font-weight: bold;
|
||||||
color: #333333;
|
font-size: 36rpx;
|
||||||
margin-bottom: 10rpx;
|
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 {
|
.chat-card-desc {
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-weight: 500;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #666666;
|
color: #9ba5c7;
|
||||||
margin-bottom: 20rpx;
|
line-height: 24rpx;
|
||||||
|
margin-bottom: 12rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-card-questions {
|
.chat-card-questions {
|
||||||
|
|
|
@ -26,8 +26,11 @@ const initApp = function(vm) {
|
||||||
// title: '请先登录',
|
// title: '请先登录',
|
||||||
// icon: 'none'
|
// icon: 'none'
|
||||||
// })
|
// })
|
||||||
|
// uni.navigateTo({
|
||||||
|
// url: config.loginPage
|
||||||
|
// })
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: config.loginPage
|
url: '/'
|
||||||
})
|
})
|
||||||
return false
|
return false
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue