Commit bee5bc29 authored by pete谢兆麟's avatar pete谢兆麟

提交事件

parent dbcb82cf
......@@ -115,7 +115,7 @@ extension YHServiceBannerView: FSPagerViewDataSource, FSPagerViewDelegate {
if let url = URL(string: model.img_url) {
cell.imageView?.kf.setImage(with: url)
}
cell.textLabel?.text = model.name
// cell.textLabel?.text = model.name
}
cell.imageView?.contentMode = .scaleAspectFill
cell.backgroundColor = .contentBkgColor
......@@ -134,7 +134,7 @@ extension YHServiceBannerView: FSPagerViewDataSource, FSPagerViewDelegate {
}
let model = dataArr[index]
if model.skip_url.isEmpty == false {
switch model.type {
switch model.skip_type {
case 1: //跳转H5
let vc = YHHomeWebViewController()
vc.url = model.skip_url
......
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