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

// plan

parent 2c22a2cd
...@@ -156,7 +156,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate { ...@@ -156,7 +156,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
// 跳转分析 // 跳转分析
} }
} else if iType == 6 { } else if iType == 6 {
// 跳转方案商品 // 跳转方案商品
DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) { DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) {
// - 获取它对应的参数 // - 获取它对应的参数
...@@ -168,7 +168,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate { ...@@ -168,7 +168,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
let vc = YHMakePlanViewController() let vc = YHMakePlanViewController()
UIViewController.current?.navigationController?.pushViewController(vc, animated: true) UIViewController.current?.navigationController?.pushViewController(vc, animated: true)
} }
} else { } else {
printLog("未处理的类型 \(iType)") printLog("未处理的类型 \(iType)")
} }
} }
......
...@@ -629,11 +629,11 @@ extension YHMyNewViewController { ...@@ -629,11 +629,11 @@ extension YHMyNewViewController {
func clickItem(_ item: PersonalModuleItem) { func clickItem(_ item: PersonalModuleItem) {
// do { do {
// let vc = YHPlanViewController() let vc = YHPlanViewController()
// self.navigationController?.pushViewController(vc) self.navigationController?.pushViewController(vc)
// return return
// } }
if !checkLogin() { if !checkLogin() {
return return
} }
......
...@@ -21,7 +21,7 @@ class YHPlanShareImageCell: UICollectionViewCell { ...@@ -21,7 +21,7 @@ class YHPlanShareImageCell: UICollectionViewCell {
imgView.image = UIImage(named: "global_default_image") imgView.image = UIImage(named: "global_default_image")
} }
imgView.snp.updateConstraints { make in imgView.snp.remakeConstraints { make in
make.top.bottom.equalToSuperview() make.top.bottom.equalToSuperview()
make.centerX.equalToSuperview() make.centerX.equalToSuperview()
make.width.equalTo(imgView.snp.height).multipliedBy(model.width/model.height) make.width.equalTo(imgView.snp.height).multipliedBy(model.width/model.height)
......
...@@ -46,7 +46,7 @@ class YHPlanViewModel: YHBaseViewModel { ...@@ -46,7 +46,7 @@ class YHPlanViewModel: YHBaseViewModel {
// 1. json字符串 转 对象 // 1. json字符串 转 对象
if json.code == 200 { 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("") callBackBlock("")
return 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