| | |
| | | <template> |
| | | <div class="ioe-swiper h-304 "> |
| | | <div class="ioe-swiper h-240 " > |
| | | <van-swipe ref="swipe" :autoplay="3000" :show-indicators="false" lazy-render> |
| | | <van-swipe-item v-for="(item,index) in bannerList" :key="index + language" class="w-full h-304"> |
| | | <img :src="item.image" alt="" title="" @click="toPath(item.url)" class="h-304 border bannerimg w-full" /> |
| | | <van-swipe-item v-for="(item,index) in bannerList" :key="index + language" class="w-full h-240"> |
| | | <img :src="item.image" alt="" title="" @click="toPath(item.url)" class="h-240 border bannerimg w-full" /> |
| | | <!-- <div class="w-full h-420 absolute top-1 flex flex-col text-white" |
| | | :class="item.subTitle ? 'pl-60' : 'items-center'"> |
| | | <template v-if="$i18n.locale === 'CN' || $i18n.locale === 'zh-CN'"> |
| | |
| | | <p v-show="item.subTitle" class="font-25 mb-50">{{item.subTitle}}</p> |
| | | <p class="font-35 btn w-222 h-65 btnMain flex justify-center items-center">{{item.btnText}}</p> |
| | | </div> --> |
| | | <img src=""/> |
| | | </van-swipe-item> |
| | | </van-swipe> |
| | | </div> |
| | |
| | | }, |
| | | methods:{ |
| | | toPath(url) { |
| | | if (url) { |
| | | this.$router.push(url) |
| | | } |
| | | // if (url) { |
| | | // this.$router.push(url) |
| | | // } |
| | | }, |
| | | getBanner(){ |
| | | let language |