fix: 首页功能图标改用原生CSS class渲染,规避van-icon组件渲染问题
This commit is contained in:
@@ -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 }">
|
||||||
<van-icon :name="f.icon" :color="f.color" size="26" />
|
<i :class="'van-icon van-icon-' + f.icon" :style="{ fontSize: '26px', color: f.color }" />
|
||||||
</div>
|
</div>
|
||||||
<span class="feat-label">{{ f.label }}</span>
|
<span class="feat-label">{{ f.label }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user