From 43574ebb55e06a2213d3097745f82968efc43b32 Mon Sep 17 00:00:00 2001 From: 无故事王国 <841720330@qq.com> Date: 星期一, 30 十月 2023 18:10:08 +0800 Subject: [PATCH] 调整闸机和游戏部分 --- WanPai/Common/View/CommonBannerView.swift | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/WanPai/Common/View/CommonBannerView.swift b/WanPai/Common/View/CommonBannerView.swift index ef79efe..06399c9 100644 --- a/WanPai/Common/View/CommonBannerView.swift +++ b/WanPai/Common/View/CommonBannerView.swift @@ -80,6 +80,7 @@ image.sizeToFit() image.frame = CGRect(x:0,y:0,width:width,height:height) image.contentMode = .scaleToFill + image.tag = images.count - 1 image.isUserInteractionEnabled = true setImage(image: image, index: images.count - 1) scrollView.addSubview(image) @@ -101,6 +102,7 @@ image.frame = CGRect(x:width * CGFloat(images.count + 1),y:0,width:width,height:height) image.contentMode = .scaleToFill + image.tag = 0 image.isUserInteractionEnabled = true scrollView.addSubview(image) setImage(image: image, index: 0) -- Gitblit v1.7.1