hookehuyr

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

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