Home  >  Q&A  >  body text

javascript - The app made by hbuilder can jump to the page when changing the mode while viewing it. Why can't it jump on the mobile phone?

What is the correct page jump mode? My approach is to jump directly to the price href on the a tag. It can jump on the IDE but not a single page can jump on the mobile phone. Please give me some advice!

天蓬老师天蓬老师2712 days ago853

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-05-16 13:37:15

    //Open page B in page A and set autoShow of show to false, then page B will not be automatically displayed after its loaded event occurs;

    mui.openWindow({

    url: 'B.html', 
    show:{
      autoShow:false
    }

    });

    You can jump in IDE because it can parse HTML, and the mobile version must follow the rules of mui. It is recommended to browse the official documentation of mui before starting the project.

    reply
    0
  • Cancelreply