|
|
@@ -82,8 +82,12 @@
|
|
|
<van-notice-bar :text="newsInfo.title" @click="goNews">
|
|
|
<template #left-icon>
|
|
|
<!-- <svg-icon iconClass="redian" class="bar-icon"></svg-icon> -->
|
|
|
- <img v-if="theme === 'theme6'" src="@assets/home_icon_redian.png" alt="" class="bar-icon" />
|
|
|
- <img v-else src="@assets/home_icon_redian2.png" alt="" class="bar-icon" />
|
|
|
+ <!-- <van-icon name="icon-redian" class-prefix="font_family" class="bar-icon" /> -->
|
|
|
+ <svg class="bar-icon" aria-hidden="true">
|
|
|
+ <use xlink:href="#icon-redian"></use>
|
|
|
+ </svg>
|
|
|
+ <!-- <img v-if="theme === 'theme6'" src="@assets/home_icon_redian.png" alt="" class="bar-icon" />
|
|
|
+ <img v-else src="@assets/home_icon_redian2.png" alt="" class="bar-icon" /> -->
|
|
|
</template>
|
|
|
|
|
|
<template #right-icon>
|
|
|
@@ -161,6 +165,7 @@ import NewsLarge from '../components/product/NewsLarge.vue';
|
|
|
import ProductSmall from '../components/product/productSmall.vue';
|
|
|
import BannerSmall from '../components/product/BannerSmall.vue';
|
|
|
import { mapState } from 'vuex';
|
|
|
+import '../plugins/iconfont';
|
|
|
|
|
|
export default {
|
|
|
name: 'home',
|
|
|
@@ -866,6 +871,7 @@ export default {
|
|
|
display: block;
|
|
|
margin-right: 17px;
|
|
|
color: var(--prim);
|
|
|
+ fill: var(--prim);
|
|
|
}
|
|
|
|
|
|
&::before {
|