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

// plan

parent 2c22a2cd
......@@ -156,7 +156,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
// 跳转分析
}
} else if iType == 6 {
} else if iType == 6 {
// 跳转方案商品
DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) {
// - 获取它对应的参数
......@@ -168,7 +168,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
let vc = YHMakePlanViewController()
UIViewController.current?.navigationController?.pushViewController(vc, animated: true)
}
} else {
} else {
printLog("未处理的类型 \(iType)")
}
}
......
......@@ -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