hookehuyr

feat(RankingCard): 在排行榜卡片标题中添加奖杯图标并更新标题文本

添加 IconFont 组件以显示奖杯图标,同时将标题从“全市排行”更新为更具体的“家庭步数总榜”
<!--
* @Date: 2025-01-09 00:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-15 16:00:12
* @LastEditTime: 2025-09-16 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'
// 导入接口
......