全局交互框

### 全局交互框 #### 使用方法 `SDK.alert(msg);` `SDK.alert({msg, type, title, yesText, success});` `SDK.confirm({msg, type, title, yesText, noText, success, error, cancel});` `SDK.prompt({msg, type, title, yesText, value, success, cancel});` #### 参数解释 |参数名|类型|作用| |-|-|-| |msg|String|提示内容| |type|String|弹窗样式 success / warning / danger| |title|String|弹窗标题| |yesText|String|确定按钮文本| |noText|String|否定按钮文本| |success|Function|确定回调方法| |error|Function|否定回调方法| |cancel|Function|取消回调方法(×号)| |value|String|默认值(prompt)| #### 备注 alert可以只传一个参数。