maochaoying 2 years ago
parent
commit
463561c71a
  1. 7
      src/style.scss
  2. 20
      src/views/Index/components/HeaderSwiper/SlideFour/index.vue
  3. 2
      src/views/Index/components/HeaderSwiper/SlideThree/index.vue
  4. 2
      src/views/Index/components/HeaderSwiper/SlideTwo/index.vue
  5. 2
      stats.html
  6. 54
      vite.config.js

7
src/style.scss

@ -2,6 +2,13 @@ html,
body {
position: relative;
box-sizing: border-box;
background-image: url(./assets/img/banner/onestop/renwu.png),
url(./assets/img/banner/onestop/back.png),
url(./assets/img/banner/lilun/back1.png),
url(./assets/img/banner/design/g.jpg),
url(./assets/img/banner/team/back2.png),
url(./assets/img/banner/nation/back.png);
background-size: 0 0;
}
// @font-face {

20
src/views/Index/components/HeaderSwiper/SlideFour/index.vue

@ -26,16 +26,16 @@
background-position: 100%;
background-size: auto 100%;
position: relative;
.backyuansu {
position: absolute;
left: 0;
bottom: 30px;
width: 280px;
height: 428px;
background: url(../../../../../assets/img/banner/team/backyuansu.png)
no-repeat;
background-size: 100% 100%;
}
// .backyuansu {
// position: absolute;
// left: 0;
// bottom: 30px;
// width: 280px;
// height: 428px;
// background: url(../../../../../assets/img/banner/team/backyuansu.png)
// no-repeat;
// background-size: 100% 100%;
// }
.main_content {
position: absolute;
left: 135px;

2
src/views/Index/components/HeaderSwiper/SlideThree/index.vue

@ -10,7 +10,7 @@
<div class="btn">建立研发体系和生产流程新标准</div>
</div>
<div class="right_img">
<img v-lazy="Gif" class="gif" alt="" />
<img :src="Gif" class="gif" alt="" />
</div>
<div class="bottom_statement">Product Dreamworks</div>
</div>

2
src/views/Index/components/HeaderSwiper/SlideTwo/index.vue

@ -1,7 +1,7 @@
<template>
<div class="slide_two title_slide">
<div class="main_content">
<img v-lazy="HeaderPng" alt="" class="main_png" />
<img :src="HeaderPng" alt="" class="main_png" />
<div
class="big_title animate__animated animate__fadeInDown"
id="slide_two_ani"

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

54
vite.config.js

@ -26,33 +26,33 @@ export default defineConfig({
viteCompression(),
visualizer(),
chunkSplitPlugin(),
// viteImagemin({
// gifsicle: {
// optimizationLevel: 7,
// interlaced: false,
// },
// optipng: {
// optimizationLevel: 7,
// },
// mozjpeg: {
// quality: 20,
// },
// pngquant: {
// quality: [0.8, 0.9],
// speed: 4,
// },
// svgo: {
// plugins: [
// {
// name: 'removeViewBox',
// },
// {
// name: 'removeEmptyAttrs',
// active: false,
// },
// ],
// },
// }),
viteImagemin({
gifsicle: {
optimizationLevel: 7,
interlaced: false,
},
optipng: {
optimizationLevel: 7,
},
mozjpeg: {
quality: 20,
},
pngquant: {
quality: [0.8, 0.9],
speed: 4,
},
svgo: {
plugins: [
{
name: 'removeViewBox',
},
{
name: 'removeEmptyAttrs',
active: false,
},
],
},
}),
],
//配置sass
css: {

Loading…
Cancel
Save