hookehuyr

feat(ActivityHistoryPage): 添加查看星球币按钮功能

添加查看星球币按钮及处理函数,用于跳转至积分页面
......@@ -70,6 +70,10 @@
@click="handleCollectCoins">
收集星球币
</van-button>
<van-button v-else block color="#0052D9" class="!rounded-lg !mb-3 !h-[44px] !text-base !font-bold"
@click="handleViewCoins">
查看星球币
</van-button>
<van-button block plain color="#0052D9" class="!rounded-lg !h-[44px] !text-base !font-medium"
@click="showMissingPopup = true">
......@@ -159,6 +163,13 @@ const handleCollectCoins = async () => {
}
}
/**
* 查看星球币
*/
const handleViewCoins = () => {
router.push({ path: '/recall/points' })
}
const handleSubmitMissing = async () => {
if (!missingInfo.value) {
showToast('请输入补充信息')
......