2

这是示例 JavaScript 小工具代码以及如何加载它UIWebview

<script src="//gadgets.example.com/gadgets.jsz?key=keystring" type="text/javascript">

</script><script type="text/javascript">

$w(function() {

    BE.gadget.search('#search-example',{

        vvciID:85,
        Mode:true,
        period:3,
        adults:5,
        children:6,
        hybridMode:true,
        hybridOptions:{
            'accom': { tabName:'Stay', adults:3 },
            'events':{ tabName:'Play', adults:4 }
        },
        minDaysFromToday:10,
        searchLocation:'./11-gadget.html'
    });
});
4

0 回答 0