This commit is contained in:
xiaozhiyong
2025-09-05 10:28:53 +08:00
parent f3a3f3c6c2
commit 4697d1a08c
2 changed files with 41 additions and 35 deletions

View File

@@ -148,19 +148,19 @@
</view>
</view> -->
<!-- 广告图片开始 -->
<!-- <view class="my-bg padding">
<view class="my-bg padding">
<view class="">
<swiper autoplay interval='5000' style="width: 100%;height: 204rpx;" class="swiper" circular>
<swiper-item @click="swiperClick(item,index)" v-for="(item,index) in swiperArray">
<image :src="item.src" style="width: 100%;" mode="widthFix"></image>
</swiper-item>
<swiper-item>
<!-- <swiper-item>
<ad unit-id="adunit-fae65289bc72095d" ad-intervals="30"></ad>
</swiper-item>
</swiper-item> -->
</swiper>
<image :src="starUrl+'banner.png'" style="width: 100%;" mode="widthFix"></image>
<!-- <image :src="starUrl+'banner.png'" style="width: 100%;" mode="widthFix"></image> -->
</view>
</view> -->
</view>
<!-- 筛选开始 -->
<view class="screentop bg-white padding-top " @tap="scrollScreen">
<!-- <view class="">
@@ -202,7 +202,8 @@
return {
swiperArray: [{
src: this.global.imgURL + 'banner-baichuan.png',
link: ''
link: '',
callPhone:true
},
// {
// src: 'https://xoil-public.oss-cn-beijing.aliyuncs.com/WMP-IMG/banner-2dwk.png',
@@ -388,6 +389,11 @@
// uni.navigateTo({
// url: '/pages/tabbar/home/link?url=' + encodeURIComponent(JSON.stringify(item.link))
// })
if (item?.callPhone) {
uni.makePhoneCall({
phoneNumber: '15653644882'
})
}
if (item?.JumpPage) {
uni.navigateTo({
url: item.JumpPage