| | |
| | | |
| | | @IBOutlet weak var btn_sort: QMUIButton! |
| | | @IBOutlet weak var btn_type: QMUIButton! |
| | | @IBOutlet weak var btn_store: QMUIButton! |
| | | |
| | | @IBOutlet weak var shadowView: UIView! |
| | | @IBOutlet weak var img_cover: UIImageView! |
| | | @IBOutlet weak var label_username: UILabel! |
| | |
| | | shadowView.jq_addShadows(shadowColor: UIColor(hexStr: "DFDFDF").withAlphaComponent(0.5), corner: 0, radius: 2, offset: CGSize(width: 0, height: 3), opacity: 1) |
| | | btn_sort.imagePosition = .right |
| | | btn_type.imagePosition = .right |
| | | btn_store.imagePosition = .right |
| | | btn_sort.spacingBetweenImageAndTitle = 5 |
| | | btn_type.spacingBetweenImageAndTitle = 5 |
| | | btn_store.spacingBetweenImageAndTitle = 5 |
| | | tf_search.delegate = self |
| | | tf_search.returnKeyType = .search |
| | | } |
| | |
| | | resortSubTypeView?.removeFromSuperview() |
| | | } |
| | | |
| | | @IBAction func recoredAction(_ sender: UIButton) { |
| | | @IBAction func storeAction(_ sender: UIButton) { |
| | | StoresChooseView.show { [weak self] storeId,storeName in |
| | | self?.btn_store.setTitle(storeName, for: .normal) |
| | | } |
| | | } |
| | | |
| | | |
| | | @IBAction func recoredAction(_ sender: UIButton) { |
| | | let vc = RechargeRecordVC(coin: integral,subtype: .integral) |
| | | JQ_currentViewController().jq_push(vc: vc) |
| | | } |