添加页面

This commit is contained in:
wangxiaowei
2025-12-15 23:15:37 +08:00
parent 029ae94139
commit 977f7d4038
4 changed files with 322 additions and 15 deletions

View File

@ -132,13 +132,7 @@ const My = {
// 跳转到设置页面
handleToSettings: () => {
// TODO: 跳转到设置页面
console.log('跳转到设置页面')
},
// 编辑门店信息
handleEditStore: () => {
// TODO: 编辑门店信息
console.log('编辑门店信息')
router.navigateTo('/bundle/store/setting')
},
// 预览媒体(视频/图片)
@ -161,11 +155,11 @@ const My = {
},
handleToWallet: () => {
// if (!isLogin.value) {
// router.navigateTo('/bundle/wallet/wallet')
// } else {
if (!isLogin.value) {
router.navigateTo('/bundle/wallet/wallet')
} else {
router.navigateTo('/pages/login/login')
// }
}
},
}
</script>
@ -176,11 +170,11 @@ const My = {
:style="{ backgroundImage: `url('${OSS}images/store/my/image2.png')` }">
<wd-navbar safe-area-inset-top :bordered="false" custom-style="background-color: transparent !important;">
<template #left>
<view class="ml-16rpx flex items-center" @click="My.handleToSettings" />
<view class="ml-16rpx flex items-center"/>
</template>
<template #right>
<view class="right-slot mr-16rpx">
<view class="mr-16rpx" @click="My.handleShowService">
<view class="mr-16rpx" @click="My.handleToSettings">
<wd-icon name="setting" color="#fff" size="16px" />
</view>
</view>
@ -245,7 +239,7 @@ const My = {
</view>
<view class="modify-btn absolute right-0 flex items-center px-20rpx py-8rpx"
:style="{ backgroundImage: `url('${OSS}images/store/my/image3.png')` }"
@click="My.handleEditStore">
@click="router.navigateTo('/bundle/store/edit-store')">
<wd-img width="24rpx" height="24rpx" :src="`${OSS}images/store/my/image4.png`" class="mr-8rpx" />
<text class="text-24rpx text-[#fff]">修改</text>
</view>