diff --git a/src/components/popup/popup-site-swiper.less b/src/components/popup/popup-site-swiper.less index 99e7910..4f2d37d 100644 --- a/src/components/popup/popup-site-swiper.less +++ b/src/components/popup/popup-site-swiper.less @@ -1,9 +1,9 @@ .site-popup-content-box { margin: 0; } -.van-popup { - background-color: transparent; -} +// .van-popup { +// background-color: transparent; +// } .site-close { position: absolute; right: 36rpx; diff --git a/src/components/popup/popup-site-swiper.tsx b/src/components/popup/popup-site-swiper.tsx index f5014ef..b0cdb19 100644 --- a/src/components/popup/popup-site-swiper.tsx +++ b/src/components/popup/popup-site-swiper.tsx @@ -191,6 +191,7 @@ export default class PopupSiteSwiper extends Component { { // 获取站点管理-弹窗列表 1-首页 2-发现模块 3-活动模块 GetSitePopupList = async () => { - // this.intData(); - // return; let res = await GetSitePopupList(1); if (res.data.code === 200) { // console.log("GetSitePopupList", res); @@ -214,24 +213,6 @@ class Index extends Component { } }; - async intData() { - let MpSplashDetail_type1 = - Taro.getStorageSync("MpSplashDetail_type1") || undefined; - if (MpSplashDetail_type1) { - let detail = JSON.parse(MpSplashDetail_type1); - let list = detail.filter((item: any) => item.fileSuffix === "images"); - let welcomeList = list.map((item) => { - return { - image: item.filePath, - title: item.title, - desc: item.content, - }; - }); - console.log("welcomeList", welcomeList); - this.setState({ sitePopupList: welcomeList, isShowSiteSwiper: true }); - } - } - goRegister() { go("/pages/register/register"); } @@ -429,6 +410,7 @@ class Index extends Component { isShow={isShowPrivacyPopup} closePrivacy={this.closePrivacy} /> +