Disable homepage advertising carousel

This commit is contained in:
Glore Zeng 2026-11-01 23:01:21 +08:00
parent 0831faa3a3
commit 315a8365b6

View File

@ -390,6 +390,7 @@ page {
<!-- <scroll-view scroll-y="true" bindscroll="" class="scroll-content">--> <!-- <scroll-view scroll-y="true" bindscroll="" class="scroll-content">-->
<view class="ui-home" v-if="pageLoading" @scroll="onPageScroll"> <view class="ui-home" v-if="pageLoading" @scroll="onPageScroll">
<cuCustom :searchName="'寻找心仪的Ta'" @tap="jumpPath('/pages/home/searchUsers')"></cuCustom> <cuCustom :searchName="'寻找心仪的Ta'" @tap="jumpPath('/pages/home/searchUsers')"></cuCustom>
<!-- 首页轮播广告暂停展示
<swiper class="ui-swiper-box" circular="true" autoplay="true" indicator-dots="true" indicator-color="#c5c5c5" indicator-active-color="#ffffff"> <swiper class="ui-swiper-box" circular="true" autoplay="true" indicator-dots="true" indicator-color="#c5c5c5" indicator-active-color="#ffffff">
<block v-for="(item,index) in swiperList" :key="index"> <block v-for="(item,index) in swiperList" :key="index">
<swiper-item class=" ui-relative "> <swiper-item class=" ui-relative ">
@ -397,6 +398,7 @@ page {
</swiper-item> </swiper-item>
</block> </block>
</swiper> </swiper>
-->
<view class="f-fbc ui-pl-30 ui-pt-40 ui-pr-30"> <view class="f-fbc ui-pl-30 ui-pt-40 ui-pr-30">
<view class="font_34 color333 bold">置顶推荐</view> <view class="font_34 color333 bold">置顶推荐</view>
<image class="ui-top-up" src="https://image.fulllinkai.com/202409/24/9c5a93366fc9e24dec02ba62c87ecf15.png" mode="widthFix" @tap="applyTopUp" v-if="topUpState != 2"></image> <image class="ui-top-up" src="https://image.fulllinkai.com/202409/24/9c5a93366fc9e24dec02ba62c87ecf15.png" mode="widthFix" @tap="applyTopUp" v-if="topUpState != 2"></image>
@ -890,7 +892,7 @@ wepy.page({
vm.getEveryday() vm.getEveryday()
vm.getSquare() vm.getSquare()
vm.applyTopUpState() vm.applyTopUpState()
vm.getBannerList() // vm.getBannerList() // 首页轮播广告暂停,不请求广告数据
vm.advModal = wx.getStorageSync('adv') vm.advModal = wx.getStorageSync('adv')
if ((vm.advModal.id - 0) > 0) { if ((vm.advModal.id - 0) > 0) {
vm.modalName = 'showAdv' vm.modalName = 'showAdv'
@ -902,7 +904,7 @@ wepy.page({
vm.getEveryday() vm.getEveryday()
vm.getSquare() vm.getSquare()
vm.applyTopUpState() vm.applyTopUpState()
vm.getBannerList() // vm.getBannerList() // 首页轮播广告暂停,不请求广告数据
vm.advModal = wx.getStorageSync('adv') vm.advModal = wx.getStorageSync('adv')
if ((vm.advModal.id - 0) > 0) { if ((vm.advModal.id - 0) > 0) {
vm.modalName = 'showAdv' vm.modalName = 'showAdv'