添加音频测试页面

This commit is contained in:
kron
2025-11-06 10:52:08 +08:00
parent 6b30eedcc2
commit ae9ec4a7f7
4 changed files with 70 additions and 2 deletions

View File

@@ -52,6 +52,11 @@ const toAboutUsPage = () => {
url: "/pages/about-us",
});
};
const toAudioTestPage = () => {
uni.navigateTo({
url: "/pages/audio-test",
});
};
const showLogout = ref(false);
const logout = () => {
@@ -126,6 +131,11 @@ onMounted(() => {
<image src="../static/my-grow.png" mode="widthFix" />
</view>
<UserItem title="关于我们" :onClick="toAboutUsPage" />
<UserItem
title="音频测试"
:onClick="toAudioTestPage"
v-if="showLogout"
/>
<UserItem
title="退出登录(仅用于测试)"
:onClick="logout"