|
@@ -341,16 +341,15 @@ class MVHomeController: MVBaseController {
|
|
|
jumpVideoData = videoData
|
|
|
// 无网
|
|
|
if !isNetConnected() {
|
|
|
- let remindData: PQBaseModel = PQBaseModel()
|
|
|
- remindData.title = "似乎已断开与互联网的连接"
|
|
|
- let remindView = PQRemindView(frame: CGRect(x: 0, y: 0, width: cScreenWidth, height: cScreenHeigth))
|
|
|
- UIApplication.shared.keyWindow?.addSubview(remindView)
|
|
|
- remindView.remindData = remindData
|
|
|
- remindView.remindBlock = { sender, _ in
|
|
|
+
|
|
|
+
|
|
|
+ PQUploadRemindView.showUploadRemindView(title:"似乎已断开与互联网的连接", summary: "", canMoreOpration:true,confirmTitle: "重新连接",cancelTitle:"取消", confirmColor:UIColor.hexColor(hexadecimal: PQBFConfig.shared.styleColor.rawValue)) { sender, _ in
|
|
|
if sender.tag == 2 {
|
|
|
openAppSetting()
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
+
|
|
|
return
|
|
|
}
|
|
|
// 先判断是否登录
|