Commit 0065d222 authored by 刘俊宏's avatar 刘俊宏

586 iOS:商品管理→列表,排序,请把当前排序条件在点开浮层时也展示出来。

parent cce929f9
...@@ -92,6 +92,8 @@ class HeaderSelectView: UIView { ...@@ -92,6 +92,8 @@ class HeaderSelectView: UIView {
firstBtn.setTitle(str1, for: .normal) firstBtn.setTitle(str1, for: .normal)
}else if index == 1{ }else if index == 1{
secBtn.setTitle(str1, for: .normal) secBtn.setTitle(str1, for: .normal)
}else if index == 2{
thereBtn.setTitle(str1, for: .normal)
} }
} }
firstBtn.setTitleColor(dowColor, for: .normal) firstBtn.setTitleColor(dowColor, for: .normal)
......
...@@ -324,7 +324,9 @@ class GoodsManageListVC: BaseViewController, UICollectionViewDelegate, UICollect ...@@ -324,7 +324,9 @@ class GoodsManageListVC: BaseViewController, UICollectionViewDelegate, UICollect
}else if showSelectvIndex == 1{ }else if showSelectvIndex == 1{
let arr2 = ["全部", "下架", "上架"] let arr2 = ["全部", "下架", "上架"]
arr.append(arr2[sender]) arr.append(arr2[sender])
}else if showSelectvIndex == 2{
let arr1 = ["新增时间最新排序", "新增时间最早排序", "销量最多排序", "销量最少排序"]
arr.append(arr1[sender])
} }
selectV.colseBytitleArr(arr: arr, index:showSelectvIndex) selectV.colseBytitleArr(arr: arr, index:showSelectvIndex)
loadData() loadData()
......
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