mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
智能体设置卡片添加设置声纹的按钮
--DeviceItem.vue 1.添加声纹设置按钮 2.添加跳转到声纹页面方法 --home.vue 修复因为添加新按钮导致卡片按钮文字换行样式问题
This commit is contained in:
parent
d40d4a08b0
commit
f81a7e8273
2 changed files with 7 additions and 1 deletions
|
|
@ -22,6 +22,9 @@
|
||||||
<div style="display: flex;gap: 10px;align-items: center;">
|
<div style="display: flex;gap: 10px;align-items: center;">
|
||||||
<div class="settings-btn" @click="handleConfigure">
|
<div class="settings-btn" @click="handleConfigure">
|
||||||
配置角色
|
配置角色
|
||||||
|
</div>
|
||||||
|
<div class="settings-btn" @click="handleVoicePrint">
|
||||||
|
声纹识别
|
||||||
</div>
|
</div>
|
||||||
<div class="settings-btn" @click="handleDeviceManage">
|
<div class="settings-btn" @click="handleDeviceManage">
|
||||||
设备管理({{ device.deviceCount }})
|
设备管理({{ device.deviceCount }})
|
||||||
|
|
@ -77,6 +80,9 @@ export default {
|
||||||
handleConfigure() {
|
handleConfigure() {
|
||||||
this.$router.push({ path: '/role-config', query: { agentId: this.device.agentId } });
|
this.$router.push({ path: '/role-config', query: { agentId: this.device.agentId } });
|
||||||
},
|
},
|
||||||
|
handleVoicePrint() {
|
||||||
|
this.$router.push({ path: '/voice-print', query: { agentId: this.device.agentId } });
|
||||||
|
},
|
||||||
handleDeviceManage() {
|
handleDeviceManage() {
|
||||||
this.$router.push({ path: '/device-management', query: { agentId: this.device.agentId } });
|
this.$router.push({ path: '/device-management', query: { agentId: this.device.agentId } });
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -278,7 +278,7 @@ export default {
|
||||||
|
|
||||||
.device-list-container {
|
.device-list-container {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
|
||||||
gap: 30px;
|
gap: 30px;
|
||||||
padding: 30px 0;
|
padding: 30px 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue