zoukankan      html  css  js  c++  java
  • 从列表页跳转到详情定位

    //列表页
    $(function(){ $(".mean-item").on("tap","a",function(){ // $.cookie("activeIndex",$(this).data("index")); var data=$(this).data("index"); sessionStorage.setItem('Key',data); window.location.href = '{:url('info/info')}' })
        //详情页
    $(function(){ // // if ($(".listTim ").length > 0 ) // { // if ($.cookie("activeIndex") && $.cookie("activeIndex") != 0) // { // $($(".tabMe .listTim")[$.cookie("activeIndex")]).trigger("tap"); // }else{ // eval($(".itactive.active").data("func")); // } // bindStockSuggest(); // } ------------------------------------------------------------------------------------- if ($(".listTim").length>0) { if (sessionStorage['Key'] && sessionStorage['Key']!= 0) { $($(".tabMe .listTim")[sessionStorage['Key']]).trigger("tap"); }else{ eval($(".itactive.active").data("func")); } } }); </script>

      

     

  • 相关阅读:
    轻时代来临 资深架构师分享手游五大设计要点
    Netty 介绍
    Socket编程与线程
    java多线程并发访问解决方案
    throws 和throw 的区别
    JRE
    Servlet的生命周期
    页面介绍
    项目技术介绍
    软件开发环境
  • 原文地址:https://www.cnblogs.com/qq735675958/p/7239570.html
Copyright © 2011-2022 走看看