| | |
| | | super.viewDidLoad() |
| | | title = "泉疗愈" |
| | | |
| | | if settingViewModel?.bgm != nil { |
| | | if settingViewModel?.sceneMusicModel != nil { |
| | | audioPlayer.scenePlayer?.pause() |
| | | } |
| | | |
| | | yy_popBlock = {[weak self] in |
| | | if AudioPlayer.getSharedInstance().meditationModel == nil && self?.settingViewModel?.bgm != nil{ |
| | | if AudioPlayer.getSharedInstance().meditationModel == nil && self?.settingViewModel?.sceneMusicModel != nil{ |
| | | self?.audioPlayer.playScene() |
| | | } |
| | | self?.navigationController?.popViewController() |
| | |
| | | slider_voice.setThumbImage(v1.qmui_snapshotLayerImage(), for: .normal) |
| | | slider_voice.setThumbImage(v1.qmui_snapshotLayerImage(), for: .highlighted) |
| | | view_coutdown.isHidden = true |
| | | |
| | | view_function.jq_gradientColor(colorArr: [UIColor.black.withAlphaComponent(0.35).cgColor,UIColor.clear.cgColor], cornerRadius: 0, startPoint: CGPoint(x: 0, y: 1), endPoint: CGPoint(x: 0, y: 0), bounds: nil, locations: nil) |
| | | |
| | | } |
| | | |
| | |
| | | |
| | | override func viewDidLayoutSubviews() { |
| | | super.viewDidLayoutSubviews() |
| | | |
| | | view_function.jq_gradientColor(colorArr: [UIColor.black.withAlphaComponent(0.35).cgColor,UIColor.clear.cgColor], cornerRadius: 0, startPoint: CGPoint(x: 0, y: 1), endPoint: CGPoint(x: 0, y: 0), bounds: nil, locations: nil) |
| | | } |
| | | |
| | | |