fix: 修改开发服务器端口为8088,调整聊天历史组件样式及背景图路径

This commit is contained in:
yangzhe 2025-07-10 17:52:04 +08:00
parent 8b043d849e
commit e918f808a4
5 changed files with 12 additions and 7 deletions

View File

@ -124,7 +124,9 @@ export default {
background-color: #ffffff; background-color: #ffffff;
.drawer-header { .drawer-header {
padding: 40rpx 32rpx; padding: 0 32rpx;
height: 140rpx;
line-height: 120rpx;
.drawer-title { .drawer-title {
font-family: DouyinSans; font-family: DouyinSans;
@ -140,7 +142,7 @@ export default {
.chat-history-list { .chat-history-list {
flex: 1; flex: 1;
height: calc(100vh - 200rpx); height: calc(100vh - 360rpx);
.chat-day { .chat-day {
display: flex; display: flex;
@ -175,6 +177,7 @@ export default {
} }
.drawer-footer { .drawer-footer {
margin-top: 20rpx;
height: 130rpx; height: 130rpx;
border: 1rpx solid #eeeeee; border: 1rpx solid #eeeeee;
border-radius: 12rpx; border-radius: 12rpx;

View File

@ -129,7 +129,7 @@
}, },
"h5" : { "h5" : {
"devServer" : { "devServer" : {
"port" : 8080, "port" : 8088,
"disableHostCheck" : true, "disableHostCheck" : true,
// "proxy" : { // "proxy" : {
// "/api" : { // "/api" : {

View File

@ -477,6 +477,8 @@ export default {
console.log("res.....", res); console.log("res.....", res);
const data = res.data; const data = res.data;
this.currentConversationId = data.conversationId;
// AI // AI
const aiMessage = { const aiMessage = {
id: id:
@ -564,7 +566,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
page { page {
height: 100vh; height: 100vh;
background-image: url("/static/common/images/images_bg.png"); background-image: url("@/static/common/images/images_bg.png");
width: 100%; width: 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;

View File

@ -456,7 +456,7 @@ export default {
flex-direction: column; flex-direction: column;
box-sizing: border-box; box-sizing: border-box;
background-image: url(/static/common/images/images_bg.png); background-image: url("@/static/common/images/images_bg.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
background-position: 50%; background-position: 50%;

View File

@ -4,8 +4,8 @@ module.exports = {
devServer: { devServer: {
// 调试时允许内网穿透让外网的人访问到本地调试的H5页面 // 调试时允许内网穿透让外网的人访问到本地调试的H5页面
disableHostCheck: true, disableHostCheck: true,
port: '8080', port: '8088',
} }
}, },
//productionSourceMap: false, //productionSourceMap: false,
} }