Commit b5890fb8 authored by lujunye's avatar lujunye

进入编辑或新增简介时,重置webView高度

parent 3292c9de
...@@ -851,6 +851,7 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo ...@@ -851,6 +851,7 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo
//MARK: - 底部广告软文跳转 && 编辑 //MARK: - 底部广告软文跳转 && 编辑
@objc func editHtml(){ @objc func editHtml(){
print("编辑软文") print("编辑软文")
webH = 0
let vc = LMNoteViewController() let vc = LMNoteViewController()
vc.htmlStr = goodsDesc; vc.htmlStr = goodsDesc;
...@@ -858,8 +859,9 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo ...@@ -858,8 +859,9 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
} }
func AddGuiGeCellClick(cell: AddGuiGeCell) { func AddGuiGeCellClick(cell: AddGuiGeCell) {
print("akkd == ",cell.tag)
if cell.tag == 5 { if cell.tag == 5 {
webH = 0
let vc = LMNoteViewController() let vc = LMNoteViewController()
vc.htmlStr = goodsDesc; vc.htmlStr = goodsDesc;
vc.delegatedata = self vc.delegatedata = self
......
...@@ -482,6 +482,7 @@ class ProductDetailViewController: BaseViewController,UITableViewDelegate,UITabl ...@@ -482,6 +482,7 @@ class ProductDetailViewController: BaseViewController,UITableViewDelegate,UITabl
//MARK: - 底部广告软文跳转 && 编辑 //MARK: - 底部广告软文跳转 && 编辑
@objc func editHtml(){ @objc func editHtml(){
print("编辑软文") print("编辑软文")
webH = 0
let vc = LMNoteViewController() let vc = LMNoteViewController()
vc.htmlStr = goodsDesc; vc.htmlStr = goodsDesc;
...@@ -490,6 +491,7 @@ class ProductDetailViewController: BaseViewController,UITableViewDelegate,UITabl ...@@ -490,6 +491,7 @@ class ProductDetailViewController: BaseViewController,UITableViewDelegate,UITabl
} }
func AddGuiGeCellClick(cell: AddGuiGeCell) { func AddGuiGeCellClick(cell: AddGuiGeCell) {
let vc = LMNoteViewController() let vc = LMNoteViewController()
webH = 0
vc.htmlStr = goodsDesc; vc.htmlStr = goodsDesc;
vc.delegatedata = self vc.delegatedata = self
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
......
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