maochaoying 2 years ago
parent
commit
1dab0279bc
  1. 4
      src/components/Trumbs/index.vue
  2. 2
      stats.html
  3. 15
      vite.config.js

4
src/components/Trumbs/index.vue

@ -14,10 +14,10 @@
v-for="item in props.isCase
? case_detail_img_data[industry_id]
: hard_img_data[hardware_id]"
:key="item.id"
:key="item.picUrl"
style="background: none"
>
<div class="img_card">
<div class="img_card" :key="item.picUrl" @click="viewDetail(item.id)">
<img v-lazy="item.picUrl" class="img" alt="" />
<div class="dialog_text">
<div class="btn" @click="viewDetail(item.id)">查看详情</div>

2
stats.html
File diff suppressed because it is too large
View File

15
vite.config.js

@ -27,10 +27,6 @@ export default defineConfig({
visualizer(),
chunkSplitPlugin(),
// viteImagemin({
// gifsicle: {
// optimizationLevel: 7,
// interlaced: false,
// },
// optipng: {
// optimizationLevel: 7,
// },
@ -41,17 +37,6 @@ export default defineConfig({
// quality: [0.8, 0.9],
// speed: 4,
// },
// svgo: {
// plugins: [
// {
// name: 'removeViewBox',
// },
// {
// name: 'removeEmptyAttrs',
// active: false,
// },
// ],
// },
// }),
],
//配置sass

Loading…
Cancel
Save