完善我的弓箭流程
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user