Skip to content

Commit 9180db1

Browse files
committed
fix: fix style bug
1 parent 5c21561 commit 9180db1

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

apps/miniprogram-agent-ui/miniprogram/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ App({
1010
// env 参数决定接下来小程序发起的云开发调用(wx.cloud.xxx)会默认请求到哪个云环境的资源
1111
// 此处请填入环境 ID, 环境 ID 可打开云控制台查看
1212
// 如不填则使用默认环境(第一个创建的环境)
13-
env: "luke-personal-test-new-8d0d90f5f",
13+
env: "luke-agent-dev-7g1nc8tqc2ab76af",
1414
traceUser: true,
1515
});
1616
}

apps/miniprogram-agent-ui/miniprogram/components/agent-ui/index.wxss

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
flex-direction: column;
88
overflow:hidden;
99
color: #333;
10+
background-color: #fff;
1011
}
1112

1213
.nav {
@@ -19,7 +20,7 @@
1920
}
2021

2122
.navBar {
22-
height: 72px;
23+
height: 62px;
2324
width: 100%;
2425
box-shadow: 0 16px 16px #fff;
2526
/* background: linear-gradient(to bottom,
@@ -70,7 +71,7 @@
7071
}
7172

7273
.nav-content {
73-
height:100%;
74+
height:62px;
7475
display: flex;
7576
align-items: center;
7677
justify-content: space-around;
@@ -128,7 +129,7 @@
128129

129130
.footer {
130131
width: 100%;
131-
min-height: 80px;
132+
min-height: 65px;
132133
max-height: 380px;
133134
flex-shrink: 0;
134135
/* background-color: aquamarine; */
@@ -488,14 +489,18 @@
488489
flex-wrap: nowrap;
489490
overflow-x: scroll;
490491
/* margin-bottom: 15px; */
491-
padding: 20rpx 0rpx;
492+
padding: 20rpx 0rpx 0rpx;
492493
}
493494

494495
.tool_box .function {
495496
/* flex: 0 0 calc(25% - 20px); */
496497
background-color: #f3f4f6;
497498
}
498499

500+
.function:active {
501+
transform: scale(0.95);
502+
}
503+
499504
.webSearchSwitch {
500505
width: 200rpx;
501506
height: 30px;

apps/miniprogram-agent-ui/miniprogram/pages/chatBot/chatBot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Page({
1414
// resourceEnv: "chriscc-demo-7ghlpjf846d46d2d",
1515
// },
1616
agentConfig: {
17-
botId: "bot-c5167aab", // agent id,
17+
botId: "bot-db3cab4a", // agent id,
1818
allowWebSearch: true, // 允许客户端选择启用联网搜索
1919
allowUploadFile: true, // 允许上传文件
2020
allowPullRefresh: true, // 允许下拉刷新

0 commit comments

Comments
 (0)