baojingindex.js 560 B

123456789101112131415161718
  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. learun.tab.go('demo/baojing');
  9. });
  10. $page.find('.auto-baojing').on('tap', function () {
  11. learun.nav.go({ path: 'baojing', title: '自助报警', type: 'right' });
  12. });
  13. }
  14. };
  15. return page;
  16. })();