mycourse.html 13.5 KB
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_782635_cvxdd8r2ec.css"/>
    <link rel="stylesheet" href="css/mycourse.css"/>
    <script src="js/base.js"></script>
    <title>已购课程</title>
</head>
<body>
<div class="container">
    <div class="head">
        <p class="all active">全部</p>
        <p class="unpay">待支付</p>
        <p class="unevalute">待评价</p>
        <p class="finishorder">已完成</p>
    </div>
    <div class="line"></div>
    <!--全部课程-->
    <div class="courselist">
        <!--待支付-->
       <div class="course">
            <div class="courselist_head waitpaydetail">
                <div class="course_status">
                    <p class="iconfont icon-dengdai"></p>
                    <p class="order_status">待支付</p>
                </div>
                <div class="courseorder">
                    <p class="order_num">订单编号 1828 3999 4788</p>
                    <p class="iconfont icon-arrow"></p>
                </div>
            </div>
           <div class="courselist_body">
               <p class="courselist_name">初一升初二物理暑假直播班</p>
               <div class="courselist_order">
                   <p class="ordercoursenum">NO.123456</p>
                   <p class="ordercoursemoney">¥299.0</p>
               </div>
               <div class="orderstate">
                   <div class="canceltime">
                       <span>还有</span>
                       <span>23:22:34</span>
                       <span>自动取消订单</span>
                   </div>
                   <div class="payornot">
                       <p class="cancelpay">取消支付</p>
                       <p class="surepay">去付款</p>
                   </div>
               </div >
           </div>

        </div>
        <!--待评价-->
        <div class="course ">
            <div class="courselist_head waitevalutedetail">
                <div class="course_status">
                    <p class="iconfont icon-31daipingjia"></p>
                    <p class="order_status">待评价</p>
                </div>
                <div class="courseorder">
                    <p class="order_num">订单编号 1828 3999 4788</p>
                    <p class="iconfont icon-arrow"></p>
                </div>
            </div>
            <div class="courselist_body">
                <p class="courselist_name">初一升初二物理暑假直播班</p>
                <div class="courselist_order">
                    <p class="ordercoursenum">NO.123456</p>
                    <p class="ordercoursemoney">¥299.0</p>
                </div>
                <div class="orderstate">
                    <div class="canceltime">
                        <span>还有</span>
                        <span>23:22:34</span>
                        <span>自动取消订单</span>
                    </div>
                    <div class="payornot">
                        <p class="surepay gocomment">去评价</p>
                    </div>
                </div >
            </div>

        </div>
        <!--已完成-->
        <div class="course">
            <div class="courselist_head finishdetail">
                <div class="course_status">
                    <p class="iconfont icon-wanchengyunda"></p>
                    <p class="order_status">已完成</p>
                </div>
                <div class="courseorder">
                    <p class="order_num">订单编号 1828 3999 4788</p>
                    <p class="iconfont icon-arrow"></p>
                </div>
            </div>
            <div class="courselist_body">
                <p class="courselist_name">初一升初二物理暑假直播班</p>
                <div class="courselist_order">
                    <p class="ordercoursenum">NO.123456</p>
                    <p class="ordercoursemoney">¥299.0</p>
                </div>
                <div class="orderstate">
                    <div class="canceltime">
                        <span>还有</span>
                        <span>23:22:34</span>
                        <span>自动取消订单</span>
                    </div>

                </div >
            </div>

        </div>
    </div>
    <!--待支付-->
    <div class="waitpay" style="display:none">
        <div class="course">
            <div class="courselist_head waitpaydetail">
                <div class="course_status">
                    <p class="iconfont icon-dengdai"></p>
                    <p class="order_status">待支付</p>
                </div>
                <div class="courseorder">
                    <p class="order_num">订单编号 1828 3999 4788</p>
                    <p class="iconfont icon-arrow"></p>
                </div>
            </div>
            <div class="courselist_body">
                <p class="courselist_name">初一升初二物理暑假直播班</p>
                <div class="courselist_order">
                    <p class="ordercoursenum">NO.123456</p>
                    <p class="ordercoursemoney">¥299.0</p>
                </div>
                <div class="orderstate">
                    <div class="canceltime">
                        <span>还有</span>
                        <span>23:22:34</span>
                        <span>自动取消订单</span>
                    </div>
                    <div class="payornot">
                        <p class="cancelpay">取消支付</p>
                        <p class="surepay">去付款</p>
                    </div>
                </div >
            </div>

        </div>
        <div class="course ">
            <div class="courselist_head waitpaydetail">
                <div class="course_status">
                    <p class="iconfont icon-dengdai"></p>
                    <p class="order_status">待支付</p>
                </div>
                <div class="courseorder">
                    <p class="order_num">订单编号 1828 3999 4788</p>
                    <p class="iconfont icon-arrow"></p>
                </div>
            </div>
            <div class="courselist_body">
                <p class="courselist_name">初一升初二物理暑假直播班</p>
                <div class="courselist_order">
                    <p class="ordercoursenum">NO.123456</p>
                    <p class="ordercoursemoney">¥299.0</p>
                </div>
                <div class="orderstate">
                    <div class="canceltime">
                        <span>还有</span>
                        <span>23:22:34</span>
                        <span>自动取消订单</span>
                    </div>
                    <div class="payornot">
                        <p class="cancelpay">取消支付</p>
                        <p class="surepay">去付款</p>
                    </div>
                </div >
            </div>

        </div>
    </div>

    <!--待评价-->
    <div class="waitevalute" style="display:none">
        <div class="course ">
            <div class="courselist_head waitevalutedetail">
                <div class="course_status">
                    <p class="iconfont icon-31daipingjia"></p>
                    <p class="order_status">待评价</p>
                </div>
                <div class="courseorder">
                    <p class="order_num">订单编号 1828 3999 4788</p>
                    <p class="iconfont icon-arrow"></p>
                </div>
            </div>
            <div class="courselist_body">
                <p class="courselist_name">初一升初二物理暑假直播班</p>
                <div class="courselist_order">
                    <p class="ordercoursenum">NO.123456</p>
                    <p class="ordercoursemoney">¥299.0</p>
                </div>
                <div class="orderstate">
                    <div class="canceltime">
                        <span>还有</span>
                        <span>23:22:34</span>
                        <span>自动取消订单</span>
                    </div>
                    <div class="payornot">
                        <p class="surepay gocomment">去评价</p>
                    </div>
                </div >
            </div>

        </div>
        <div class="course ">
            <div class="courselist_head waitevalutedetail">
                <div class="course_status">
                    <p class="iconfont icon-31daipingjia"></p>
                    <p class="order_status">待评价</p>
                </div>
                <div class="courseorder">
                    <p class="order_num">订单编号 1828 3999 4788</p>
                    <p class="iconfont icon-arrow"></p>
                </div>
            </div>
            <div class="courselist_body">
                <p class="courselist_name">初一升初二物理暑假直播班</p>
                <div class="courselist_order">
                    <p class="ordercoursenum">NO.123456</p>
                    <p class="ordercoursemoney">¥299.0</p>
                </div>
                <div class="orderstate">
                    <div class="canceltime">
                        <span>还有</span>
                        <span>23:22:34</span>
                        <span>自动取消订单</span>
                    </div>
                    <div class="payornot">
                        <p class="surepay gocomment">去评价</p>
                    </div>
                </div >
            </div>

        </div>
    </div>
    <!--已完成-->
    <div class="alreadyfinish" style="display:none">
        <div class="course">
            <div class="courselist_head finishdetail">
                <div class="course_status">
                    <p class="iconfont icon-wanchengyunda"></p>
                    <p class="order_status">已完成</p>
                </div>
                <div class="courseorder">
                    <p class="order_num">订单编号 1828 3999 4788</p>
                    <p class="iconfont icon-arrow"></p>
                </div>
            </div>
            <div class="courselist_body">
                <p class="courselist_name">初一升初二物理暑假直播班</p>
                <div class="courselist_order">
                    <p class="ordercoursenum">NO.123456</p>
                    <p class="ordercoursemoney">¥299.0</p>
                </div>
                <div class="orderstate">
                    <div class="canceltime">
                        <span>还有</span>
                        <span>23:22:34</span>
                        <span>自动取消订单</span>
                    </div>

                </div >
            </div>

        </div>
        <div class="course">
            <div class="courselist_head finishdetail">
                <div class="course_status">
                    <p class="iconfont icon-wanchengyunda"></p>
                    <p class="order_status">已完成</p>
                </div>
                <div class="courseorder">
                    <p class="order_num">订单编号 1828 3999 4788</p>
                    <p class="iconfont icon-arrow"></p>
                </div>
            </div>
            <div class="courselist_body">
                <p class="courselist_name">初一升初二物理暑假直播班</p>
                <div class="courselist_order">
                    <p class="ordercoursenum">NO.123456</p>
                    <p class="ordercoursemoney">¥299.0</p>
                </div>
                <div class="orderstate">
                    <div class="canceltime">
                        <span>还有</span>
                        <span>23:22:34</span>
                        <span>自动取消订单</span>
                    </div>

                </div >
            </div>

        </div>
    </div>
</div>
</body>
<script src="js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script>
    $(".head p").click(function(){
        $(this).addClass("active");
        $(this).siblings("p").removeClass("active")
    })
    //全部
    $(".all").click(function(){
        $(".courselist").css("display","block");
        $(".waitpay").css("display","none");
        $(".waitevalute").css("display","none");
        $(".alreadyfinish").css("display","none");
    })
    $(".unpay").click(function(){
        $(".courselist").css("display","none");
        $(".waitpay").css("display","block");
        $(".waitevalute").css("display","none");
        $(".alreadyfinish").css("display","none");
    })
    $(".unevalute").click(function(){
        $(".courselist").css("display","none");
        $(".waitpay").css("display","none");
        $(".waitevalute").css("display","block");
        $(".alreadyfinish").css("display","none");
    })
    $(".finishorder").click(function(){
        $(".courselist").css("display","none");
        $(".waitpay").css("display","none");
        $(".waitevalute").css("display","none");
        $(".alreadyfinish").css("display","block");
    })
    //待支付详情
    $(".waitpaydetail").click(function(){
        window.location.href='waitpaymentdetail.html'
    })
    //待评价详情
    $(".waitevalutedetail").click(function(){
        window.location.href='waitevaluateddetail.html'
    })
    //已完成详情页
    $(".finishdetail").click(function(){
        window.location.href='finishorderdetail.html'
    })
    //进入课程详情页
    $(".courselist_body").click(function(){
        window.location.href='introducecourse.html'
    })
    //去评价
    $(".gocomment").click(function(){
        window.event.stopPropagation();
        window.location.href='evalute.html'
    })
</script>
</html>