杨锴
2024-11-08 529f3c6b775dc75869f978f7403ac50c5343b4e4
XQMuse/Root/Me/VC/VIPCenterVC.swift
@@ -101,8 +101,16 @@
    }
    @IBAction func agreementAction(_ sender: UIButton) {
        let vc = WebVC(type: .user)
        push(vc: vc)
        Services.getVipContent(type: 2).subscribe(onNext: { [weak self] data in
            if let str = data.data{
                let vc = VIPAgreementVC(title: "会员用户协议", content: str) {
                    self?.btn_isRead.isSelected = true
                }
                vc.modalPresentationStyle = .custom
                self?.present(vc, animated: true)
            }
        }).disposed(by: disposeBag)
    }
}