完善我的弓箭流程

This commit is contained in:
kron
2025-05-31 14:17:56 +08:00
parent 0ee2eb7f51
commit 22617212d0
8 changed files with 149 additions and 87 deletions

View File

@@ -53,10 +53,10 @@ const toPractisePage = () => {
}
};
const toQquipmentPage = () => {
const toMyDevicePage = () => {
if (isLogin()) {
uni.navigateTo({
url: "/pages/equipment-debug",
url: "/pages/my-device",
});
}
};
@@ -94,7 +94,10 @@ onMounted(() => {
<UserHeader :user="user" showRank />
</block>
<block v-else>
<view @click="toLoginPage">
<view
@click="toLoginPage"
:style="{ marginTop: '20px', paddingLeft: '10px' }"
>
<text>微信登录</text>
</view>
</block>
@@ -105,9 +108,9 @@ onMounted(() => {
<image
src="../static/bow-bg.png"
mode="widthFix"
@click="toQquipmentPage"
@click="toMyDevicePage"
/>
<text @click="toAddDevicePage">我的弓箭</text>
<text>我的弓箭</text>
<image
src="../static/a2@2x.png"
mode="widthFix"
@@ -204,7 +207,7 @@ onMounted(() => {
.container {
height: calc(100vh - 220px);
padding: 20px 10px;
padding: 15px 10px;
}
.feature-grid {