diff --git a/src/assets/img/banner/design/design.png b/src/assets/img/banner/design/design.png deleted file mode 100644 index d64b989..0000000 Binary files a/src/assets/img/banner/design/design.png and /dev/null differ diff --git a/src/assets/img/banner/design/gongyebiaoti.png b/src/assets/img/banner/design/gongyebiaoti.png deleted file mode 100644 index 9ec48f8..0000000 Binary files a/src/assets/img/banner/design/gongyebiaoti.png and /dev/null differ diff --git a/src/assets/img/banner/design/xingongyesheji.png b/src/assets/img/banner/design/xingongyesheji.png deleted file mode 100644 index b7bfe9e..0000000 Binary files a/src/assets/img/banner/design/xingongyesheji.png and /dev/null differ diff --git a/src/assets/img/banner/onestop/back.png b/src/assets/img/banner/onestop/back.png new file mode 100644 index 0000000..382c1da Binary files /dev/null and b/src/assets/img/banner/onestop/back.png differ diff --git a/src/assets/img/banner/onestop/biaotiback.png b/src/assets/img/banner/onestop/biaotiback.png new file mode 100644 index 0000000..d40500a Binary files /dev/null and b/src/assets/img/banner/onestop/biaotiback.png differ diff --git a/src/assets/img/banner/onestop/renwu.png b/src/assets/img/banner/onestop/renwu.png new file mode 100644 index 0000000..18fdce6 Binary files /dev/null and b/src/assets/img/banner/onestop/renwu.png differ diff --git a/src/common/utils.js b/src/common/utils.js index 9aa74ce..fcc7fad 100644 --- a/src/common/utils.js +++ b/src/common/utils.js @@ -8,6 +8,7 @@ export const handleScreenAuto = (showEmpty, id) => { handleBottomFont(id, scale) handleImgScale(id, scale) handleCooperation(id, scale) + handleSwiper(id, scale) showEmpty.value = false } else { if (clientHeight >= 1764) { @@ -16,6 +17,7 @@ export const handleScreenAuto = (showEmpty, id) => { handleBottomFont(id, scale) handleImgScale(id, scale) handleCooperation(id, scale) + handleSwiper(id, scale) showEmpty.value = false } else { if (clientHeight >= 1323) { @@ -24,6 +26,7 @@ export const handleScreenAuto = (showEmpty, id) => { handleBottomFont(id, scale) handleImgScale(id, scale) handleCooperation(id, scale) + handleSwiper(id, scale) showEmpty.value = false } else { const scale = 1080 / clientHeight @@ -31,6 +34,7 @@ export const handleScreenAuto = (showEmpty, id) => { handleBottomFont(id, scale) handleImgScale(id, scale) handleCooperation(id, scale) + handleSwiper(id, scale) showEmpty.value = false } } @@ -70,6 +74,12 @@ const handleCooperation = (id, scale) => { } } +const handleSwiper = (id, scale) => { + // if (id == '#slide_five') { + // document.getElementById('main_img').style.transform = `scale(${1 / scale})` + // } +} + export const animateCSS = (element, animation, prefix = 'animate__') => // We create a Promise and return it new Promise((resolve, reject) => { diff --git a/src/components/TopNav/index.vue b/src/components/TopNav/index.vue index c5c8a46..06aefb4 100644 --- a/src/components/TopNav/index.vue +++ b/src/components/TopNav/index.vue @@ -4,8 +4,8 @@ activeIndex == 0 ? 'header_container' : 'header_container not_first' " > - logo -