Commit 8f2ac32d authored by lujunye's avatar lujunye

修复添加简介显示bug

parent b5890fb8
......@@ -66,7 +66,7 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo
var yunShuTypeArr = ["冷链","常温","热链"]
var countryArr = ["中国"]
var layout = UICollectionViewFlowLayout()
var webH:CGFloat = 0
var webH:CGFloat = 250
var glSelectView:GLAlertSelectView?
var selectIdx:IndexPath? = IndexPath(item: 0, section: 0) //多规格状态下点击collectionCell的row记录
......@@ -753,7 +753,7 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo
cell.tag = indexPath.section
cell.imgBtn.isUserInteractionEnabled = isAllEditing
cell.imgBtn.setImage(UIImage(named: "xinzeng"), for: .normal)
cell.webView.isHidden = true
return cell
case 3:
if indexPath.row == 0 {
......@@ -1780,10 +1780,9 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo
}
func AddGuiGeCellWebViewHeight(height: CGFloat) {
if webH == 0 {
webH = height
listTbv.reloadData()
}
}
var goodsDesc = ""
......
......@@ -59,7 +59,7 @@ class ProductDetailViewController: BaseViewController,UITableViewDelegate,UITabl
var selectIdx:IndexPath? = IndexPath(item: 0, section: 0) //多规格状态下点击collectionCell的row记录
var isYuShouShangPin:Bool?//是否为预售商品
var webH:CGFloat = 0
var webH:CGFloat = 250
var itemTypeArr:Array<Int>? = []//多选
var shangPinStatus:Int? = 0//商品状态
var yunShuType:Int? = 0//运输类型
......@@ -397,7 +397,7 @@ class ProductDetailViewController: BaseViewController,UITableViewDelegate,UITabl
let cell = tableView.dequeueReusableCell(withIdentifier: "AddGuiGe") as! AddGuiGeCell
cell.imgBtn.addTarget(self, action: #selector(addGuiGe), for: .touchUpInside)
cell.imgBtn.setImage(UIImage(named: "xinzeng"), for: .normal)
cell.webView.isHidden = true
return cell
case 3:
if indexPath.row == 0 {
......@@ -1259,10 +1259,7 @@ class ProductDetailViewController: BaseViewController,UITableViewDelegate,UITabl
}
func AddGuiGeCellWebViewHeight(height: CGFloat) {
if webH == 0 {
webH = height
listTbv.reloadData()
}
}
//MARK:---商品详情回调的数据
var goodsDesc = ""
......
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