/**
 * Created by Administrator on 2015/2/10.
 */
/**  slidePage part **/
define(function(){
    function pageTools(){
        var $tools_list = $(".tools_list"),$tools_mng = $(".tools_mng"),times= 1,
            $tools_mngDiv = $(".tools_mng>div");
        $(".tools_list>div,.tools_mng").on('click',function(){
            if(times % 2){
                $tools_list.css("display","block").addClass('opacity1');
                $tools_mngDiv.addClass("turnRedBtn");
            }else{
                $tools_list.removeClass('opacity1');
                $tools_mngDiv.removeClass("turnRedBtn");
                setTimeout(function(){
                    $tools_list.css("display","none");
                },300);
            }
            times ++;
        });
    }
    $(".tls_selfInfo").on("click",function(){
        window.location.href = "userinfo.html";
    });
    $(".tls_history").on("click",function(){
        window.location.href = "recently.html";
    });
    $(".tls_stay").on("click",function(){
        window.location.href = "collection.html";
    });
    return pageTools;
});



/**
 * Created by Administrator on 2015/2/10.
 */
/**  slidePage part **/
define(function(){
    function pageTools(){
        var $tools_list = $(".tools_list"),$tools_mng = $(".tools_mng"),times= 1,
            $tools_mngDiv = $(".tools_mng>div");
        $(".tools_list>div,.tools_mng").on('click',function(){
            if(times % 2){
                $tools_list.css("display","block").addClass('opacity1');
                $tools_mngDiv.addClass("turnRedBtn");
            }else{
                $tools_list.removeClass('opacity1');
                $tools_mngDiv.removeClass("turnRedBtn");
                setTimeout(function(){
                    $tools_list.css("display","none");
                },300);
            }
            times ++;
        });
    }
    $(".tls_selfInfo").on("click",function(){
        window.location.href = "userInfo.html";
    });
    $(".tls_history").on("click",function(){
        window.location.href = "recently.html";
    });
    $(".tls_stay").on("click",function(){
        window.location.href = "collection.html";
    });
    return pageTools;
});



add new pages