introducecourse.html 23.3 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_782635_cvxdd8r2ec.css"/>
    <!--<link rel="stylesheet" href="http://at.alicdn.com/t/font_647640_rgou3w6dip.css"/>-->

    <link rel="stylesheet" href="css/iconfont.css"/>
    <link rel="stylesheet" href="css/introducecourse.css"/>

    <script src="js/base.js"></script>
    <!--<script src="//at.alicdn.com/t/font_782635_cvxdd8r2ec.js"></script>-->
    <title>课程简介</title>
</head>
<body>
<!--播放视频遮罩层-->
<div class="playvideo">
    <p class="iconfont icon-bofang"></p>
</div>
<!--购买课程遮罩层-->
<div class="coursewrapper" style="display:none">
    <div class="coursepopup" >
        <div class="coursesign">
            <p class="signbuy">报名购买</p>
            <p class="iconfont icon-quxiao coursecancel"></p>
        </div>
        <div class="course_kind">
            <p class="course_kind_name">八年级数学全部课程</p>
            <div class="total">
                <p class="total_part">共五节</p>
                <p class="total_price">¥500</p>
            </div>
        </div>
        <div class="coupon">
            <p class="coupon_name">优惠券</p>
            <div class="coupon_chose">
                <p class="nochose">暂不选择</p>
                <p class="iconfont icon-xiangxia chose_kind"></p>
                <p class="iconfont icon-xiangshang chose_kind_list" style="display:none"></p>
            </div>
        </div>
        <div class="actpay">
            <p class="actpaymoney">实付金额</p>
            <p class="paymoney">¥500</p>
        </div>
      <p class="buyrightnow">立即购买</p>
    </div>
    <div class="chosecoupon">
        <div class="choselist">
            <p class="update">到期时间:2018-09-25</p>
            <div class="chosecoupon_list">
                <p class="coupon_money">50元优惠券</p>
                <p class="chose_coupon iconfont icon-weixuanzhongyuanquan"></p>
                <p class="chose_coupon_list iconfont icon-xuanzhong" style="display:none"></p>

            </div>
        </div>
        <div class="choselist">
            <p class="update">到期时间:2018-09-25</p>
            <div class="chosecoupon_list">
                <p class="coupon_money">50元优惠券</p>
                <p class="chose_coupon iconfont icon-weixuanzhongyuanquan"></p>
                <p class="chose_coupon_list iconfont icon-xuanzhong" style="display:none"></p>
            </div>
        </div>
        <div class="choselist">
            <p class="update">到期时间:2018-09-25</p>
            <div class="chosecoupon_list">
                <p class="coupon_money">50元优惠券</p>
                <p class="chose_coupon iconfont icon-weixuanzhongyuanquan"></p>
                <p class="chose_coupon_list iconfont icon-xuanzhong" style="display:none"></p>
            </div>
        </div>
        <div class="choselist">
            <p class="update">到期时间:2018-09-25</p>
            <div class="chosecoupon_list">
                <p class="coupon_money">暂不选择</p>
                <p class="chose_coupon iconfont icon-weixuanzhongyuanquan"></p>
                <p class="chose_coupon_list iconfont icon-xuanzhong" style="display:none"></p>
            </div>
        </div>


    </div>
</div>
<!--流量体醒-->
<div class="flow" style="display:none">
    <!--弹层-->
    <div class="flowpopup" >
        <p class="iconfont icon-quxiao cancel"></p>
        <div class="flow_text">
            <p>您当前处于非WiFi网络环境下</p>
            <p>继续使用可能产生费用</p>
            <p>是否继续观看?</p>
        </div>
        <div class="notify">
            <p class="chose iconfont icon-weixuanzhongyuanquan"></p>
                <!--<input type="radio" class="choose"/>-->
            <p class="chose_active iconfont icon-xuanzhong" style="display:none"></p>
            <p class="nevernotify">不再提示此信息</p>
        </div>
        <div class="yesorno">
            <p class="yes"></p>
            <p class="no"></p>
        </div>

    </div>
</div>
<!--遮罩层 提醒购买课程-->
<div class="wrapper">
    <!--弹层-->
    <div class="popup">
        <p class="iconfont icon-quxiao"></p>
        <p class="buy_text">请先购买课程</p>
        <p class="gobuy">去购买</p>
    </div>
</div>
<div class="container">
    <div class="head_title">
        <!--<div class="video">
            <!--<img src="img/indexhead.png" alt="" style="width:100%;height:100%"/>-->
            <!--<video id="video" style="width:100%;height:100%;object-fit: fill" onclick="playPause()" controls>
                <source src="video/movie.ogg" type="video/ogg">
                <source src="video/movie.mp4" type="video/mp4">
                <source src="video/movie.webm" type="video/webm">-->
                <!--<object data="movie.mp4" width="350" height="240">
                    <embed width="350" height="200" src="movie.swf">
                </object>-->
              
            <!--</video>
        </div>-->
        <div class="bod">
            <div class="course_head">
                <p class="course_name">高三数学</p>
                <div class="retract">
                    <div class="hide">
                        <p style="float:left">收起</p>
                        <p style="float:left">
                            <i class="iconfont icon-xiangshang hide" ></i>
                        </p>
                    </div>
                   <div style="display:none" class="show">
                       <p style="float:left" >展开</p>
                       <p style="float:left">
                           <i class="iconfont icon-xiangxia show" ></i>
                       </p>
                   </div>
                </div>
            </div>
        </div>
        <!--<div class="line"></div>-->
        <div class="courselist">
            <p class="course_list active" id="0">课程简介</p>
            <p class="course_list coursecontent" id="1">课程目录</p>
            <p class="course_list coursenote" id="2">课程讲义</p>
            <p class="course_list" id="3">课程答疑</p>
        </div>
    </div>
   <div class="container_body">

        <!--&lt;!&ndash;课程简介&ndash;&gt;-->
       <div  class="course_text" >

           <div class="course_intro">
               本节数学课主要讲图形的认知,本节课的重点在于如何认识理解图形,难点在于把握图形的处理。
           </div>
           <div class="line"></div>
           <div class="commentcontent">
               <div class="commentlist">
                   <p class="comment_course">课程评价</p>
                   <p class="comment_text">由于评论的人数过多只显示部分评论</p>
               </div>
           </div>
           <div style="overflow: hidden;padding-bottom: 1.5rem;padding-right: 0.15rem;padding-left: 0.15rem">
               <div class="comment_content">
                   <div class="head">
                       <img src="img/head.png" alt="" style="width:100%"/>
                   </div>
                   <div class="content">
                       <div class="cotent_name">
                           <p class="name">王艺谋</p>
                           <p class="date">2018年6月6日</p>
                       </div>
                       <div class="comment_star">
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xingxing1" style="height:0.5rem"></p>
                       </div>
                       <p class="text_comment">
                           关注学生学习状况,督促学生学习。深入了解
                           学员学习需求。
                       </p>
                   </div>
               </div>
               <div class="comment_content">
                   <div class="head">
                       <img src="img/head.png" alt="" style="width:100%"/>
                   </div>
                   <div class="content">
                       <div class="cotent_name">
                           <p class="name">王艺谋</p>
                           <p class="date">2018年6月6日</p>
                       </div>
                       <div class="comment_star">
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xingxing1" style="height:0.5rem"></p>
                       </div>
                       <p class="text_comment">
                           关注学生学习状况,督促学生学习。深入了解
                           学员学习需求。
                       </p>
                   </div>
               </div>
               <div class="comment_content">
                   <div class="head">
                       <img src="img/head.png" alt="" style="width:100%"/>
                   </div>
                   <div class="content">
                       <div class="cotent_name">
                           <p class="name">王艺谋</p>
                           <p class="date">2018年6月6日</p>
                       </div>
                       <div class="comment_star">
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xingxing1" style="height:0.5rem"></p>
                       </div>
                       <p class="text_comment">
                           关注学生学习状况,督促学生学习。深入了解
                           学员学习需求。
                       </p>
                   </div>
               </div>
               <div class="comment_content">
                   <div class="head">
                       <img src="img/head.png" alt="" style="width:100%"/>
                   </div>
                   <div class="content">
                       <div class="cotent_name">
                           <p class="name">王艺谋</p>
                           <p class="date">2018年6月6日</p>
                       </div>
                       <div class="comment_star">
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xing" style="height:0.5rem"></p>
                           <p class="iconfont icon-xingxing1" style="height:0.5rem"></p>
                       </div>
                       <p class="text_comment">
                           关注学生学习状况,督促学生学习。深入了解
                           学员学习需求。
                       </p>
                   </div>
               </div>

           </div>

       </div>
        <!--课程目录-->
       <div class="course_Catalog" style="display:none">
            <div class="Catalog_list">
                <p class="number">第一节 高三数学讲义(免费试听)</p>
                <p class="time">45:00</p>
            </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div><div class="Catalog_list">
           <p class="number">第一节 高三数学讲义</p>
           <p class="time">45:00</p>
       </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第一节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
           <div class="Catalog_list">
               <p class="number">第er节 高三数学讲义</p>
               <p class="time">45:00</p>
           </div>
       </div>
       <!--课程讲义-->
       <div class="course_introduce" style="display:none">
            <div class="please">请在课程目录中点击相关章节查看讲义</div>
           <div style="font-size: 0.3rem">
               <img src="" alt=""/>
           </div>
       </div>
       <!--课程答疑-->
       <div class="course_question"  style="display:none">
           <div class="answer"  style="display:none" >
               购买课程后可提交问题和查看课程答疑
           </div>
           <div class="course_answer">

                   <textarea placeholder="请输入你的疑问" name="" id="entry" cols="40" rows="10" ></textarea>
                   <span class="limit">0/800</span>
           </div>
           <div class="submit">
              <p class="sub">提交</p>
           </div>
           <div class="normalquestion">
               <p class="normalquestion_title">常见问题</p>
               <div class="normalquestion_text">
                   <p >1&nbsp&nbspQ:什么是传统一轮复习的两大问题?</p>
                   <P>&nbsp&nbsp&nbsp A:匆匆一边过和复习不同步。</P>
               </div>
               <div class="normalquestion_text">
                   <p >2&nbsp&nbspQ:辅导老师如何督促孩子学习?</p>
                   <P>&nbsp&nbsp&nbsp A:随时针对性管理。</P>
               </div>
               <div class="normalquestion_text">
                   <p >2&nbsp&nbspQ:辅导老师如何督促孩子学习?</p>
                   <P>&nbsp&nbsp&nbsp A:随时针对性管理。</P>
               </div>
               <div class="normalquestion_text">
                   <p >2&nbsp&nbspQ:辅导老师如何督促孩子学习?</p>
                   <P>&nbsp&nbsp&nbsp A:随时针对性管理。</P>
               </div>
               <div class="normalquestion_text">
                   <p >2&nbsp&nbspQ:辅导老师如何督促孩子学习?</p>
                   <P>&nbsp&nbsp&nbsp A:随时针对性管理。</P>
               </div>
               <div class="normalquestion_text">
                   <p >2&nbsp&nbspQ:辅导老师如何督促孩子学习?</p>
                   <P>&nbsp&nbsp&nbsp A:随时针对性管理。</P>
               </div>
               <div class="normalquestion_text">
                   <p >2&nbsp&nbspQ:11辅导老师如何督促孩子学习?</p>
                   <P>&nbsp&nbsp&nbsp A:随时针对性管理。</P>
               </div>
           </div>
       </div>

   </div>
   <div class="payment">
        <p class="money">¥363</p>
        <p class="sign">报名购买</p>
    </div>
    <div class="comment" style="display:none" >
        <p class="commentcourse">评价课程</p>
    </div>
</div>
<script src="js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script>
    //课程切换
  $(".course_list").click(function(){
     $(this).addClass("active");
     $(this).siblings(".course_list").removeClass("active");
      var courseid=$(this).attr("id");
      if(courseid==0){
          $(".course_text").css("display","block");
          $(".course_Catalog").css("display","none");
          $(".course_introduce").css("display","none");
          $(".course_question").css("display","none");
      }else if(courseid==1){
          $(".course_Catalog").css("display","block");
          $(".course_text").css("display","none");
          $(".course_introduce").css("display","none");
          $(".course_question").css("display","none");
      }else if(courseid==2){
          $(".course_introduce").css("display","block");
          $(".course_text").css("display","none");
          $(".course_Catalog").css("display","none");
          $(".course_question").css("display","none")
      }else if(courseid==3){
          $(".course_question").css("display","block");
          $(".course_text").css("display","none");
          $(".course_introduce").css("display","none");
          $(".course_Catalog").css("display","none");
      }

  })
    //收起和展开
    $(".hide").click(function(){
        $(this).parents(".hide").css("display","none");
        $(this).parents(".hide").siblings(".show").css('display','block');
        $(".video").css("display","none");
        $(".playvideo").css("display","none");
        $(".container_body").css("margin-top","2.5rem");


    });
    $(".show").click(function(){
        $(this).parents(".show").css("display","none");
        $(this).parents(".show").siblings(".hide").css('display','block');
        $(".video").css("display","block");
        $(".playvideo").css("display","block")
        $(".container_body").css("margin-top","5.97rem")
    });

    //隐藏遮罩层
    $(".wrapper").click(function(){
        $(this).css("display","none")
    })
    //隐藏显示流量的层
    $(".flow").click(function(){
        $(this).css("display","none")
    })
    $(".yes").click(function(){
        window.event.stopPropagation();
        $(this).css("color","RGBA(57, 144, 245, 1)");
        $(this).siblings(".no").css("color","RGBA(26, 26, 26, 1)")
    })
    $(".no").click(function(){
        window.event.stopPropagation();
        $(this).css("color","RGBA(57, 144, 245, 1)");
        $(this).siblings(".yes").css("color","RGBA(26, 26, 26, 1)")
    })

    //不再提示此信息
    $(".chose").click(function(){
        window.event.stopPropagation();
        $(this).css("display","none");
        $(this).siblings(".chose_active").css("display","block")
    })
    $(".chose_active").click(function(){
        window.event.stopPropagation();
        $(this).css("display","none");
        $(this).siblings(".chose").css("display","block")
    })
    //购买课程遮罩层隐藏
    $(".coursewrapper").click(function(){
        $(this).css("display","none");
        $("body").css("overflow","scroll")
    })

    //选择优惠券
    $(".chose_coupon").click(function(){
        window.event.stopPropagation();
        $(this).css("display","none");
        $(this).siblings(".chose_coupon_list").css("display","block");
        $(this).parents(".choselist").siblings(".choselist").children(".chosecoupon_list").children(".chose_coupon_list").css("display","none")
        $(this).parents(".choselist").siblings(".choselist").children(".chosecoupon_list").children(".chose_coupon").css("display","block")
    })
    $(".chose_coupon_list").click(function(){
        window.event.stopPropagation();
        $(this).css("display","none");
        $(this).siblings(".chose_coupon").css("display","block")
    })
    $(".chose_kind").click(function(){
        window.event.stopPropagation();
        $(".chosecoupon").css("display","block")
        $(this).css("display","none");
        $(this).siblings(".chose_kind_list").css("display","block")
    })
    $(".chose_kind_list").click(function(){

        window.event.stopPropagation();
        $(".chosecoupon").css("display","none")
        $(this).css("display","none");
        $(this).siblings(".chose_kind").css("display","block")
    })

    //报名购买
    $(".sign").click(function(){
        $(".coursewrapper").css("display","block");
        $("body").css("overflow","hidden")
    })
    //评价课程
    $(".commentcourse").click(function(){
        window.location.href='evalute.html'
    })
    //播放视频
    var myVideo=document.getElementById("video");
    $(".icon-bofang").click(function(){

        if (myVideo.paused){
            myVideo.play();
            $(this).parents(".playvideo").css("display","none");
        }else{
            myVideo.pause();
            $(this).parents(".playvideo").css("display","none");
        }
    });

    //播放视频
    function playPause(){
        if (myVideo.paused){
            myVideo.play();
            $(this).parents(".playvideo").css("display","none");
        }else{
            myVideo.pause();
            $(".playvideo").css("display","block");
        }
    }
//    setTimeout("playcame()",2000);
//    function playcame(){
//        var myVideo=document.getElementById("video");
//        if(myVideo.currentTime>=0){
//            myVideo.controls = true;
//        }
//    }
    //点击课程到讲义页面
    $(".Catalog_list").click(function(){
        $(".coursecontent").removeClass("active");
        $(".coursenote").addClass("active");
        $(".course_introduce").css("display","block");
        $(".course_Catalog").css("display","none")

    })

</script>
</body>
</html>