Revert "fix: 首页功能图标改用原生CSS class渲染,规避van-icon组件渲染问题"

This reverts commit 740fe251e3.
This commit is contained in:
li
2026-03-14 21:32:59 +08:00
parent 1141486129
commit 2327209e95
+1 -1
View File
@@ -95,7 +95,7 @@ const today = new Date().toLocaleDateString('zh-CN', { year: 'numeric', month: '
@click="router.push(f.path)" @click="router.push(f.path)"
> >
<div class="feat-circle" :style="{ background: f.bg }"> <div class="feat-circle" :style="{ background: f.bg }">
<i :class="'van-icon van-icon-' + f.icon" :style="{ fontSize: '26px', color: f.color }" /> <van-icon :name="f.icon" :color="f.color" size="26" />
</div> </div>
<span class="feat-label">{{ f.label }}</span> <span class="feat-label">{{ f.label }}</span>
</div> </div>