Methods
-
createMiniApp()
-
创建sdk实例
Example
let frameId = "hifleet_iframe_id"; // 如果以iframe嵌入 let app = hifleet.createMiniApp({frameId})//initialize the miniApp SDK -
hfIFrameOpen(options)
-
打开 PSC\保险\证书\检验报告页面 示例
Parameters:
Name Type Description optionsObject Properties
Name Type Description keywordstring 搜索 查询IMO MMSI 拉起左侧船舶
entrystring openPSC openInsurance openCert openReport
Example
let options ={keyword:'123456',entry:'openPSC'} app.hfIFrameOpen(options); -
hfIFrameSearchBy(keyword)
-
搜索 查询IMO MMSI 拉起左侧船舶 示例
Parameters:
Name Type Description keywordstring 搜索 查询IMO MMSI 拉起左侧船舶
Example
app.hfIFrameSearchBy(keyword); -
hfOpen(options)
-
打开 PSC\保险\证书\检验报告页面 示例
Parameters:
Name Type Description optionsObject Properties
Name Type Description keywordstring 搜索 查询IMO MMSI 拉起左侧船舶
entrystring openPSC openInsurance openCert openReport
Example
let options ={keyword:'123456',entry:'openPSC'} app.hfOpen(options); -
hfSearchBy(keyword)
-
搜索 查询IMO MMSI 拉起左侧船舶 示例
Parameters:
Name Type Description keywordstring 搜索 查询IMO MMSI 拉起左侧船舶
Example
app.hfSearchBy(keyword);