💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
~~~ /** * 蜂鸣提示音 * */ switch ( plus.os.name ) { case "iOS": if ( plus.device.model.indexOf("iPhone") >= 0 ) { plus.device.beep(); } else { mui.alert('此设备不支持蜂鸣'); } break; default: plus.device.beep(); break; } ~~~ ~~~ /** * 手机震动 * */ switch ( plus.os.name ) { case "iOS": if ( plus.device.model.indexOf("iPhone") >= 0 ) { plus.device.vibrate(); } else { mui.alert('此设备不支持震动'); } break; default: plus.device.vibrate(); break; } ~~~