Commit 23066f90 authored by lujunye's avatar lujunye

阿斯顿发的发生的发生

parent 2b0ac1b2
......@@ -472,6 +472,11 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
type_arr.append(item)
})
for i in 0 ..< type_arr.count{
if (model?.shop_info?.shop_type)! == type_arr[i].shop_type {
shop_type = i
}
}
is_qz = true
if model?.shop_info?.is_qz == 0 {
......@@ -481,7 +486,7 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
if model?.shop_info?.kd == 0 {
kd = false
}
shop_type = (model?.shop_info?.shop_type)!
shop_longitude = (model?.shop_info?.shop_longitude)!
shop_longitude = (model?.shop_info?.shop_latitude)!
shop_name = (model?.shop_info?.shop_name)!
......@@ -665,6 +670,7 @@ class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITable
case 2:
let cell = tableView.dequeueReusableCell(withIdentifier: "TitleAndBtnCell") as! TitleAndBtnCell
cell.nameLbl.text = part0[indexPath.row]
print("sjp[ = ",shop_type)
if type_arr.count > 0 {
let mo = type_arr[shop_type]
cell.contentLbl.text = mo.type_name
......
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