Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
lls_program
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-09-18 17:11:26 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
63ac39b31fd3971d1a8bfda946c24f62b0082c41
63ac39b3
1 parent
eaea747f
feat(RankingCard): 在排行榜卡片中添加助力码入口
添加点击助力码跳转至加入组织页面的功能,提升用户体验
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
src/components/RankingCard.vue
src/components/RankingCard.vue
View file @
63ac39b
<!--
* @Date: 2025-01-09 00:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-18 1
6:45:21
* @LastEditTime: 2025-09-18 1
7:09:27
* @FilePath: /lls_program/src/components/RankingCard.vue
* @Description: 排行榜卡片组件
-->
...
...
@@ -41,8 +41,9 @@
<!-- 排行榜内容 -->
<view class="rank-content" :class="{ 'content-switching': isContentSwitching }">
<!-- 排行榜日期 -->
<view class="rank-date">
<view class="rank-date
relative
">
{{ currentDate }}
<view v-if="activeTab === 'support'" class="absolute font-bold text-white" style="right: 95rpx;" @tap="joinOrganization">助力码</view>
</view>
<!-- 前三名展示 -->
<view class="top-three">
...
...
@@ -122,6 +123,7 @@
<script setup>
import { ref, computed, onMounted } from 'vue'
import Taro from '@tarojs/taro'
import { IconFont } from '@nutui/icons-vue-taro';
// 默认头像
const defaultAvatar = 'https://cdn.ipadbiz.cn/mlaj/images/icon_1.jpeg'
...
...
@@ -212,6 +214,12 @@ const supportData = ref({
}
})
const joinOrganization = () => {
Taro.navigateTo({
url: '/pages/JoinOrganization/index'
})
}
// 加载状态
const loading = ref(false)
...
...
Please
register
or
login
to post a comment