baojingindex.js 722 B

1234567891011121314151617181920212223
  1. (function () {
  2. var page = {
  3. isScroll: true,
  4. init: function ($page) {
  5. //$page.find('#picture1').slider({ data: ['images/tubiao1.png'], indicator: true });//
  6. $page.find('#picture1').attr('src','images/tubiao.png');
  7. $page.find('.call-baojing').on('tap', function () {
  8. renlian.tab.go('demo/baojing');
  9. });
  10. $page.find('.auto-baojing').on('tap', function () {
  11. renlian.nav.go({ path: 'baojing', title: '自助报警', type: 'right' });
  12. });
  13. $page.find('#phone-call-110').on('tap', function () {
  14. window.location.href = "tel:110";
  15. });
  16. }
  17. };
  18. return page;
  19. })();