Commit 991e22d2 authored by lujunye's avatar lujunye

个人中心显示bug

parent f8d1563e
......@@ -54,6 +54,12 @@ class PersonCenterViewController: BaseViewController,UITableViewDelegate,UITable
listView.dataSource = self
listView.isScrollEnabled = false
listView.separatorStyle = .none
listView.snp.makeConstraints { (make) in
make.top.equalTo(iconImg.snp_bottom).offset(30)
make.left.equalTo(15)
make.right.equalTo(-15)
make.height.equalTo(listArray.count * 50)
}
listView?.register(UINib(nibName: "PersonCenterCell", bundle: nil), forCellReuseIdentifier: "listCell")
// Do any additional setup after loading the view.
......@@ -107,7 +113,7 @@ class PersonCenterViewController: BaseViewController,UITableViewDelegate,UITable
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 50*glscale
return 50
}
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return listArray.count
......
......@@ -132,7 +132,7 @@
<constraints>
<constraint firstAttribute="height" constant="148" id="sgr-YH-MQe">
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="boolean" keyPath="isAdaptateScreen" value="YES"/>
<userDefinedRuntimeAttribute type="boolean" keyPath="isAdaptateScreen" value="NO"/>
</userDefinedRuntimeAttributes>
</constraint>
</constraints>
......
......@@ -560,7 +560,6 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo
data.isYsJieTiOpen = true
}
//预售价格
print(dataSource.adsale_pri)
data.yuShouPrice = dataSource.adsale_pri!
//预售库存
data.ysKuCun = StringByInt(number: dataSource.adsale_inventory!)
......
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