Commit 1018f8eb authored by David黄金龙's avatar David黄金龙

文书 编辑的预研

parent 6b9a79a3
......@@ -14,7 +14,7 @@ class YHWebViewViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
var webview = WKWebView()
var progBar = UIProgressView()
// var url = "https://www.baidu.com"
var url = "https://docs.qq.com/openapi/drive/v2/files/embed/temporary?timestamp=1710246548&id=a7b1253f3c344fd1878efaef62ef89cf&clientID=2aebc2da4f0b4883bf33ef20836f2e2d"
var url = "https://docs.qq.com/openapi/drive/v2/files/embed/temporary?timestamp=1710294842&id=50b4f6dab5df4497aeb23e5a54933d83&clientID=2aebc2da4f0b4883bf33ef20836f2e2d"
override func viewDidLoad() {
super.viewDidLoad()
......
......@@ -8,6 +8,7 @@
import UIKit
import SnapKit
import NEConversationUIKit
import SafariServices
enum YHPersonalModuleItemType: Int {
case none = 0
......@@ -177,23 +178,25 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
// }
if indexPath.row == 0 {
// if let url = URL(string: "https://docs.qq.com/doc/DTEFUd0FnQnRCdlBt"), UIApplication.shared.canOpenURL(url) {
// UIApplication.shared.open(url, options: [:], completionHandler: nil)
// }
let vc = YHWebViewViewController()
navigationController?.pushViewController(vc, animated: true)
} else {
let vc = YHWebViewViewController()
navigationController?.pushViewController(vc, animated: true)
}
return
let url = URL(string: "https://docs.qq.com/openapi/drive/v2/files/embed/temporary?timestamp=1710298232&id=6bcaa379b0e5488abbaff85d51ee2fab&clientID=2aebc2da4f0b4883bf33ef20836f2e2d")!
let tmpVC = SFSafariViewController(url: url)
navigationController?.pushViewController(tmpVC)
return //for test hjl
return
// if indexPath.row == 0 {
//
//
// let vc = YHWebViewViewController()
// navigationController?.pushViewController(vc, animated: true)
// } else {
// let vc = YHWebViewViewController()
// navigationController?.pushViewController(vc, animated: true)
// }
//
// return
let item: PersonalModuleItem = items[indexPath.row];
......
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