maochaoying 2 years ago
parent
commit
3e5e7759ef
  1. 6
      src/common/utils.js
  2. 7
      src/views/Index/components/HeaderSwiper/SlideFive/index.vue

6
src/common/utils.js

@ -74,12 +74,6 @@ 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) => {

7
src/views/Index/components/HeaderSwiper/SlideFive/index.vue

@ -24,13 +24,6 @@
<script setup>
import Factory from '@/assets/img/banner/factory.png'
import People from '@/assets/img/banner/onestop/renwu.png'
// import { ref, onMounted } from 'vue'
// import { handleScreenAuto } from '@/common/utils'
// onMounted(() => {
// handleScreenAuto(showEmpty, '#slide_five')
// window.onresize = handleScreenAuto(showEmpty, '#slide_five')
// })
// const showEmpty = ref(false)
</script>
<style scoped lang="scss">

Loading…
Cancel
Save