|
@@ -1444,15 +1444,15 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
|
// MARK: - 按钮事件响应
|
|
|
|
|
|
func showCutView(_ model:PQVoiceModel) {
|
|
|
- let v = UIView(frame: CGRect(x: 0, y: cScreenHeigth, width: cScreenWidth, height: 100))
|
|
|
- v.backgroundColor = .green
|
|
|
+ let v = BFMusicCutView(frame: CGRect(x: 0, y: 0, width: cScreenWidth, height: cScreenHeigth))
|
|
|
view.addSubview(v)
|
|
|
- DispatchQueue.main.async {
|
|
|
- UIView.animate(withDuration: 0.2) {
|
|
|
- // 显示裁剪视图
|
|
|
- v.frame = CGRect(x: 0, y: cScreenHeigth - 100, width: cScreenWidth, height: 100)
|
|
|
- }
|
|
|
- }
|
|
|
+ v.bgmData = model
|
|
|
+// DispatchQueue.main.async {
|
|
|
+// UIView.animate(withDuration: 0.2) {
|
|
|
+// // 显示裁剪视图
|
|
|
+// v.frame = CGRect(x: 0, y: cScreenHeigth - 220, width: cScreenWidth, height: 100)
|
|
|
+// }
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
override public func backBtnClick() {
|