| | |
| | | } |
| | | |
| | | enum GenderType:Int,HandyJSONEnum{ |
| | | case none = 0 |
| | | case man = 1 |
| | | case woman = 2 |
| | | } |
| | |
| | | case sport = 2 |
| | | case communtiy = 3 |
| | | case deepPlayer = 4 |
| | | case more = 5 |
| | | case winner = 5 |
| | | case counter = 6 |
| | | case more = 7 |
| | | |
| | | |
| | | var image:UIImage{ |
| | |
| | | case .sport:return UIImage(named: "icon_coupon_2")! |
| | | case .communtiy:return UIImage(named: "icon_coupon_3")! |
| | | case .deepPlayer:return UIImage(named: "icon_coupon_4")! |
| | | case .winner:return UIImage(named: "icon_coupon_4")! |
| | | case .counter:return UIImage(named: "icon_coupon_4")! |
| | | case .more:return UIImage(named: "icon_coupon_6")! |
| | | } |
| | | } |
| | |
| | | case .sport:return "EVENTS" |
| | | case .communtiy:return "ON_LINE" |
| | | case .deepPlayer:return "APPOINTMENT" |
| | | case .winner:return "WINNER" |
| | | case .counter:return "COUNTER" |
| | | case .more:return "MORE" |
| | | } |
| | | } |
| | |
| | | case .sport:return "运动大人" |
| | | case .communtiy:return "社区之王" |
| | | case .deepPlayer:return "深度玩家" |
| | | case .winner:return "常胜将军" |
| | | case .counter:return "越战越勇" |
| | | case .more:return "更多" |
| | | } |
| | | } |