无故事王国
2023-10-25 5c244d5766b17c33da14b134fb6d20556a4c2d1d
WanPai/Common/View/CommonBannerView.swift
@@ -68,6 +68,7 @@
        self.addSubview(scrollView)
        var image = UIImageView()
      image.sizeToFit()
        image.frame = CGRect(x:0,y:0,width:width,height:height)
        image.contentMode = .scaleToFill
        image.isUserInteractionEnabled = true
@@ -84,6 +85,7 @@
            addTapGesWithImage(image: image)
        }
        image = UIImageView()
      image.sizeToFit()
        image.frame = CGRect(x:width * CGFloat(images.count +
                                               1),y:0,width:width,height:height)
        image.contentMode = .scaleToFill