ios的:参照 https://www.cnblogs.com/loserof/p/5808763.html android:window.prompt()方法。 转载于:https://www.cnblogs.com/azterzmshan/p/8657122.html