You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
471 B

  1. /*页面js模板,必须有init方法*/
  2. (function () {
  3. var page = {
  4. isScroll: true,
  5. init: function ($page) {
  6. $('#demolist .lr-nav-right').on('tap', function () {
  7. var $this = $(this);
  8. var path = 'demo/' + $this.attr('data-value');
  9. var title = $this.text();
  10. learun.nav.go({ path: path, title: title, type: 'right' });
  11. });
  12. }
  13. };
  14. return page;
  15. })();