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-16 11:23:15 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8222891d0880c7314d0aead859d1e55f2a80327a
8222891d
1 parent
063500e4
feat(RankingCard): 在排行榜卡片标题中添加奖杯图标并更新标题文本
添加 IconFont 组件以显示奖杯图标,同时将标题从“全市排行”更新为更具体的“家庭步数总榜”
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
src/components/RankingCard.vue
src/components/RankingCard.vue
View file @
8222891
<!--
* @Date: 2025-01-09 00:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-1
5 16:00:12
* @LastEditTime: 2025-09-1
6 11:22:44
* @FilePath: /lls_program/src/components/RankingCard.vue
* @Description: 排行榜卡片组件
-->
...
...
@@ -9,7 +9,10 @@
<view class="ranking-card bg-blue-500 bg-opacity-50">
<!-- 卡片头部 -->
<view class="card-header">
<view class="card-title">全市排行</view>
<view class="card-title flex items-center">
<IconFont size="20" name="https://cdn.ipadbiz.cn/lls_prog/icon/%E5%A5%96%E6%9D%AF.png" />
<text class="ml-2">家庭步数总榜</text>
</view>
<view class="view-more" @tap="handleViewMore">查看更多</view>
</view>
...
...
@@ -119,6 +122,7 @@
<script setup>
import { ref, computed, onMounted } from 'vue'
import { IconFont } from '@nutui/icons-vue-taro';
// 默认头像
const defaultAvatar = 'https://cdn.ipadbiz.cn/mlaj/images/icon_1.jpeg'
// 导入接口
...
...
Please
register
or
login
to post a comment