hookehuyr

fix safari图标显示优化

1 <!-- 1 <!--
2 * @Date: 2024-09-26 13:42:11 2 * @Date: 2024-09-26 13:42:11
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-12-11 10:11:23 4 + * @LastEditTime: 2024-12-11 14:54:52
5 * @FilePath: /hager/src/components/common/hagerHeader.vue 5 * @FilePath: /hager/src/components/common/hagerHeader.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
79 <div class="product-left-wrapper"> 79 <div class="product-left-wrapper">
80 <div :class="['product-left-item', p_index === index ? 'active' : '']" v-for="(item, index) in product_menu" :key="index" @click="onClick(item, index)"> 80 <div :class="['product-left-item', p_index === index ? 'active' : '']" v-for="(item, index) in product_menu" :key="index" @click="onClick(item, index)">
81 <div class="icon-text"> 81 <div class="icon-text">
82 - <el-image style="width: auto; height: 1.45rem" :src="item.icon" fit="fit"></el-image> 82 + <img :src="item.icon" style="width: auto; height: 1.45rem; object-fit: cover;" />
83 &nbsp; 83 &nbsp;
84 {{ item.category_name }} 84 {{ item.category_name }}
85 </div> 85 </div>
......