1
This commit is contained in:
@@ -59,12 +59,13 @@
|
||||
</view>
|
||||
<view class="text-xxl" @tap="toManagement">
|
||||
<view class="cuIcon-form">
|
||||
|
||||
|
||||
</view>
|
||||
<text class="text-df">
|
||||
中交风控
|
||||
</text>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -151,12 +152,12 @@
|
||||
<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">
|
||||
<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>
|
||||
<ad unit-id="adunit-fae65289bc72095d" ad-intervals="30"></ad>
|
||||
</swiper-item>
|
||||
<!-- <swiper-item>
|
||||
<ad unit-id="adunit-fae65289bc72095d" ad-intervals="30"></ad>
|
||||
</swiper-item> -->
|
||||
</swiper>
|
||||
<!-- <image :src="starUrl+'banner.png'" style="width: 100%;" mode="widthFix"></image> -->
|
||||
</view>
|
||||
@@ -204,9 +205,13 @@
|
||||
// src:this.global.starUrl+'banner.png',
|
||||
// link:''
|
||||
// },
|
||||
// {
|
||||
// src: 'https://xoil-public.oss-cn-beijing.aliyuncs.com/WMP-IMG/banner-2dwk.png',
|
||||
// link: 'https://tengxun.hkzj168.com/?ChannelId=20220831152210221048473'
|
||||
// },
|
||||
{
|
||||
src: 'https://xoil-public.oss-cn-beijing.aliyuncs.com/WMP-IMG/banner-2dwk.png',
|
||||
link: 'https://tengxun.hkzj168.com/?ChannelId=20220831152210221048473'
|
||||
src:'https://xoil-public.oss-cn-beijing.aliyuncs.com/baichuan_MP/banner_baichuan.png',
|
||||
JumpPage:'/Activity/pages/index/index'
|
||||
},
|
||||
],
|
||||
listHeight: 160,
|
||||
@@ -354,6 +359,7 @@
|
||||
},
|
||||
|
||||
methods: {
|
||||
toActivity(){},
|
||||
toManagement() {
|
||||
const user = uni.getStorageSync('user');
|
||||
if (user) {
|
||||
@@ -378,10 +384,15 @@
|
||||
}
|
||||
},
|
||||
swiperClick(item, index) {
|
||||
if (!item?.link) return
|
||||
uni.navigateTo({
|
||||
url: '/pages/tabbar/home/link?url=' + encodeURIComponent(JSON.stringify(item.link))
|
||||
})
|
||||
// if (!item?.link) return
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/tabbar/home/link?url=' + encodeURIComponent(JSON.stringify(item.link))
|
||||
// })
|
||||
if(item?.JumpPage){
|
||||
uni.navigateTo({
|
||||
url: item.JumpPage
|
||||
})
|
||||
}
|
||||
},
|
||||
goToPage(url) {
|
||||
if (!url) return;
|
||||
|
||||
Reference in New Issue
Block a user