fix
无故事王国
2024-03-04 54c6ef0be42d9f2e49a344fd69f231cb6df43797
WanPai/Root/Activity/View/StoresInfoView.swift
@@ -80,6 +80,23 @@
        }
    }
            static func show(model: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: model.storeCoverDrawing))
                        storesView.label_title.text = model.name
                        storesView.label_address.text = model.address
                        storesView.label_distance.text = String(format: "距你%.2lfkm", model.distance)
                        storesView.clouse = clouse
                        sceneDelegate?.window?.addSubview(storesView)
                        UIView.animate(withDuration: 0.4) {
                                    storesView.view_container.transform = CGAffineTransform(scaleX: 1.0, y: 1.0)
                                    storesView.alpha = 1
                        }
            }
    
    @IBAction func cancelAction(_ sender: UIButton) {
        close()