Commit 563cc858 authored by lujunye's avatar lujunye

优化背景色

parent 9dd252b2
...@@ -76,6 +76,7 @@ class GYS_FX_Product_ListVc: BaseViewController ,PagingViewControllerDelegate,UI ...@@ -76,6 +76,7 @@ class GYS_FX_Product_ListVc: BaseViewController ,PagingViewControllerDelegate,UI
pagingViewController.dataSource = self pagingViewController.dataSource = self
pagingViewController.sizeDelegate = self pagingViewController.sizeDelegate = self
addChild(pagingViewController) addChild(pagingViewController)
contentV.backgroundColor = UIColor(named: "app底色")!
contentV.addSubview(pagingViewController.view) contentV.addSubview(pagingViewController.view)
contentV.constrainToEdges(pagingViewController.view) contentV.constrainToEdges(pagingViewController.view)
pagingViewController.didMove(toParent: self) pagingViewController.didMove(toParent: self)
...@@ -91,11 +92,6 @@ class GYS_FX_Product_ListVc: BaseViewController ,PagingViewControllerDelegate,UI ...@@ -91,11 +92,6 @@ class GYS_FX_Product_ListVc: BaseViewController ,PagingViewControllerDelegate,UI
@objc func getNoti(noti:Notification){ @objc func getNoti(noti:Notification){
// var idx = 0
// let noti_str = String(describing: noti.userInfo!["intro"])
// if noti_str.contains("取消") {
// idx = 1
// }
viewControllers.forEach { (vc) in viewControllers.forEach { (vc) in
vc.isUpData = true vc.isUpData = true
vc.home_list_tbv.mj_header?.beginRefreshing() vc.home_list_tbv.mj_header?.beginRefreshing()
......
...@@ -43,6 +43,7 @@ class RetailListMgVC: BaseViewController,PagingViewControllerDelegate, UISearchB ...@@ -43,6 +43,7 @@ class RetailListMgVC: BaseViewController,PagingViewControllerDelegate, UISearchB
pagingViewController.sizeDelegate = self pagingViewController.sizeDelegate = self
addChild(pagingViewController) addChild(pagingViewController)
contentV.addSubview(pagingViewController.view) contentV.addSubview(pagingViewController.view)
contentV.backgroundColor = UIColor(named: "app底色")!
contentV.constrainToEdges(pagingViewController.view) contentV.constrainToEdges(pagingViewController.view)
pagingViewController.didMove(toParent: self) pagingViewController.didMove(toParent: self)
pagingVC = pagingViewController pagingVC = pagingViewController
......
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