Commit 799d155a authored by Steven杜宇's avatar Steven杜宇

// plan

parent 2c22a2cd
......@@ -629,11 +629,11 @@ extension YHMyNewViewController {
func clickItem(_ item: PersonalModuleItem) {
// do {
// let vc = YHPlanViewController()
// self.navigationController?.pushViewController(vc)
// return
// }
do {
let vc = YHPlanViewController()
self.navigationController?.pushViewController(vc)
return
}
if !checkLogin() {
return
}
......
......@@ -21,7 +21,7 @@ class YHPlanShareImageCell: UICollectionViewCell {
imgView.image = UIImage(named: "global_default_image")
}
imgView.snp.updateConstraints { make in
imgView.snp.remakeConstraints { make in
make.top.bottom.equalToSuperview()
make.centerX.equalToSuperview()
make.width.equalTo(imgView.snp.height).multipliedBy(model.width/model.height)
......
......@@ -46,7 +46,7 @@ class YHPlanViewModel: YHBaseViewModel {
// 1. json字符串 转 对象
if json.code == 200 {
guard let dic = json.data?.peel as? [String: Any], let url = dic["image_url"] as? String else {
guard let dic = json.data?.peel as? [String: Any], let url = dic["pdf_url"] as? String else {
callBackBlock("")
return
}
......
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