分享推广按钮跳转到二维码页面

This commit is contained in:
WindowBird 2025-08-19 11:30:02 +08:00
parent 05504a293d
commit 428bbf6ac7

View File

@ -8,7 +8,7 @@
<text class="avatar-text"></text> <text class="avatar-text"></text>
</view> </view>
<view class="user-info"> <view class="user-info">
<view class="share-btn"> <view class="share-btn" @click="goToSharePromotion">
<image :src="commonEnum.GIFT" class="share-img" mode="aspectFit"></image> <image :src="commonEnum.GIFT" class="share-img" mode="aspectFit"></image>
<text class="share-text">分享推广</text> <text class="share-text">分享推广</text>
</view> </view>
@ -171,6 +171,11 @@ export default {
url: '/pages/useList/useList', url: '/pages/useList/useList',
}) })
}, },
goToSharePromotion() {
uni.navigateTo({
url: '/pages/agents/requestAgent',
})
},
}, },
} }
</script> </script>