封装的alert,confirm