Commit 04013f83 authored by 朱璇's avatar 朱璇

弹窗接口

parent 4b531f2a
......@@ -18,12 +18,16 @@ class DiscussLowPricePopView {
static void showPopView(
BuildContext content, String planId, String hospitalId, String doctorId) {
BaseCenterPicker()
..setPicker(_PopView())
..setPicker(_PopView(planId, hospitalId, doctorId))
..show(content);
}
}
class _PopView implements ICenterPicker {
String planId;
String hospitalId;
String doctorId;
_PopView(this.planId, this.hospitalId, this.doctorId);
VoidCallback dismissCallback;
double contentWidth;
DiscussLowPriceModel _model = new DiscussLowPriceModel();
......@@ -179,6 +183,6 @@ class _PopView implements ICenterPicker {
@override
void initState(VoidCallback dismissCall, BuildContext context) {
this.dismissCallback = dismissCall;
_model.fetchPopviewData('1', '', '3');
_model.fetchPopviewData(this.planId, this.hospitalId, this.doctorId);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment