| | |
| | | } |
| | | } |
| | | |
| | | static func show(_ activityModel:ActivityDetailModel,clouse:@escaping (Bool)->Void){ |
| | | static func show(_ activityModel:ActivityDetailStoreModel,clouse:@escaping (Bool)->Void){ |
| | | let storesView = StoresInfoView.jq_loadNibView() |
| | | storesView.frame = sceneDelegate?.window?.frame ?? .zero |
| | | storesView.label_topTitle.text = "请确认预约门店" |
| | | storesView.img_logo.sd_setImage(with: URL(string: activityModel.storeCoverDrawing)) |
| | | storesView.label_title.text = activityModel.storeName |
| | | storesView.label_address.text = activityModel.storeAddress |
| | | storesView.label_title.text = activityModel.name |
| | | storesView.label_address.text = activityModel.address |
| | | storesView.label_distance.text = String(format: "距你%.2lfkm", activityModel.distance) |
| | | storesView.clouse = clouse |
| | | sceneDelegate?.window?.addSubview(storesView) |