|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-05-03 22:14:16
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-05-31 18:41:33
|
|
|
|
|
* @LastEditTime: 2022-06-01 09:36:44
|
|
|
|
|
* @Description: file content
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
@ -104,6 +104,7 @@ export default {
|
|
|
|
|
location : AD_LOCATION.HOME_BANNER
|
|
|
|
|
});
|
|
|
|
|
bannerList = bannerList || [];
|
|
|
|
|
console.log('bannerList', bannerList);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
@ -133,6 +134,10 @@ export default {
|
|
|
|
|
this.getSelectProducts();
|
|
|
|
|
},
|
|
|
|
|
async mounted() {
|
|
|
|
|
let {result:bannerList} = await ApiGetAdList({
|
|
|
|
|
location : AD_LOCATION.HOME_BANNER
|
|
|
|
|
});
|
|
|
|
|
console.log(bannerList);
|
|
|
|
|
// 监听滚动事件
|
|
|
|
|
window.addEventListener("scroll", this.scrollEventMethod);
|
|
|
|
|
},
|
|
|
|
|