Commit 28eeb3cc authored by lujunye's avatar lujunye

查看详情,图片补返回提示

parent 6ae22f2a
...@@ -27,6 +27,10 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo ...@@ -27,6 +27,10 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo
let browserCell = context.cell as? JXPhotoBrowserImageCell let browserCell = context.cell as? JXPhotoBrowserImageCell
let url = URL(string:SERVERCE_ImageHost + cell.imgs[context.index]) let url = URL(string:SERVERCE_ImageHost + cell.imgs[context.index])
browserCell?.imageView.sd_setImage(with: url, placeholderImage: nil, options: [], completed: { (_, _, _, _) in browserCell?.imageView.sd_setImage(with: url, placeholderImage: nil, options: [], completed: { (_, _, _, _) in
let lbl = UILabel(frame: CGRect(x: 20, y: 0, width: 100, height: 100))
lbl.text = "返回"
lbl.textColor = UIColor.white
browserCell?.scrollView.addSubview(lbl)
browserCell?.setNeedsLayout() browserCell?.setNeedsLayout()
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment