(function () { var page = { isScroll: true, init: function ($page) { //$page.find('#picture1').slider({ data: ['images/tubiao1.png'], indicator: true });// $page.find('#picture1').attr('src','images/tubiao.png'); $page.find('.call-baojing').on('tap', function () { renlian.tab.go('demo/baojing'); }); $page.find('.auto-baojing').on('tap', function () { renlian.nav.go({ path: 'baojing', title: '自助报警', type: 'right' }); }); $page.find('#phone-call-110').on('tap', function () { window.location.href = "tel:110"; }); } }; return page; })();