@media only screen and (max-width: 1500px){ .chenges{ position: absolute; top: 2rem; left: 1.7rem; display: block; } } @media only screen and (max-width: 1250px) { .wrap { width: 90%; } .header .main-nav .logo { margin-right: 0.3rem; } .header .main-nav ul li a { margin-right: 0.18rem; } .header .main-nav ul li:last-child a { margin-right: 0; } .chenges{ top: 2rem; left: 1.55rem; } .backbox{ top: 30%; left: 22%; } .popup{ left: 18%; top: 20%; } } @media only screen and (max-width: 1100px){ .chenges{ top: 2rem; left: 1.2rem; } } @media only screen and (max-width: 1024px){ .paper { width: 75%; } .practice-choose { width: 20%; margin-right: 2%; } .put-box { padding-left: 30%; } .banbox{ width: 100%; } .container .test-box ul { width: 98%; padding: 0 3%; } .banbox h3 { margin-left: 6%; } .container .test-box ul { width: 94%; } .test-box { width: 94%; } .pagingbox { padding-left: 5%; width: auto; } .test-box ul li .r-color { margin-left: 0.1rem; } } @media only screen and (max-width: 1000px) { .header .login-success .username, .header .login-success .logout { font-size: 0; width: auto; margin-left: 0.1rem; } .chenges{ top: 2rem; left: 1.2rem; } .pagingbox { padding-left: 0; } } @media only screen and (max-width: 900px) { .container .index-top .login-form .content { padding: 0.2rem 0.1rem; display: none; } .container .index-top .notice .content { padding: 0 0.1rem 0.1rem; } } @media only screen and (max-width: 800px) { .wrap { width: 100%; overflow: hidden; } /*修改*/ .chenges { top: 1.2rem; left: 6.8rem; } .header .main-nav { overflow: inherit; height: auto; } .header .main-nav .btn-menu { display: block; float: left; } .header .main-nav .logo { margin: 0 } .header .main-nav .logo img { width: 0; height: 0; } .header .main-nav ul { height: auto; padding: 0; margin-top: 0.1rem; width: 100%; border-bottom: 1px solid #eee; background-color: #fff; clear: both; display: none; } .header .main-nav ul li { float: none; } .header .main-nav ul li a { display: block; margin: 0; box-sizing: border-box; padding-left: 0.1rem; line-height: 0.3rem; } .header .main-nav ul li a:hover { background-color: #4095ce; color: #fff; } .header .main-nav .login-box, .header .main-nav .login-success { position: absolute; right: 0.1rem; top: 0; } .header .stu-nav { margin: 0 0 0.1rem 0; } .header .stu-nav ul li { margin: 0.1rem 0.08rem; } .header .stu-nav ul li a { font-size: 0.14rem; } .container .index-top { height: auto; } .container .index-top .login-form { display: none; } .container .index-top .login-success { width: 100%; padding: 0; } .container .index-top .login-success .content { height: auto; padding: 0.1rem; } .container .index-top .login-success .user-pic { width: 20%; } .container .index-top .login-success .user-text { width: 80%; } .container .index-top .login-success .user-text p { -webkit-line-clamp: 1; } .container .index-top .login-success .btns { margin: 0; } .container .index-top .contact { margin-top: 0.1rem; } .container .index-top .banner { width: 100%; height: auto; } .owl-carousel .owl-item img { height: auto; } .container .index-top .notice { width: 100%; margin-top: 0.1rem; padding: 0; height: 2rem; overflow: hidden; } .container .star .tab-body ul li { width: 100%; margin-bottom: 0.1rem; } .container .star .tab-body .star-pic img { height: 1.1rem; } .container .star .tab-body .star-info p { -webkit-line-clamp: 2; } .container .star .tab-body { margin-bottom: 0.1rem; } .container .stu-resource { margin-bottom: 0.1rem; } .container .stu-resource .weike, .container .stu-resource .activity { width: 100%; margin: 0 0 0.1rem 0; } .container .stu-resource .content { padding: 0.2rem 0.1rem; } .alert-box { position: fixed; box-sizing: border-box; width: 100%; height: 100%; top: 0; left: 0; margin: 0; } /*在线学习*/ .container .study-box .stage { height: auto; } .study-box .position { padding-left: 0.1rem; } .study-box .stage .item { width: 100%; float: none; margin: 0 0.1rem; border-bottom: 0.01rem solid #eee; } .study-box .stage .name { border-bottom: 0.01rem solid #eee; } .study-box .stage .item .tool { position: static; border: 0; } .stage .item .tool .trigon-box { height: 0; width: 0; } .stage .item .tool ul li { height: 0.4rem; } .study-box .content { padding: 0.1rem; margin-bottom: 0.2rem; } .study-box .content .task .claim, .study-box .content .task .result { width: 100%; float: none; margin: 0 0 0.1rem 0; } .study-box .content .search .search-group { margin-bottom: 0.1rem; } .study-box .content .search .btn-search { float: left; } .study-box .content .search .btn-add { margin: 0; clear: both; float: none; } .study-box .content .search .btn-add a { width: 100%; display: block; padding: 0.05rem 0; } .study-box .content-list .label span { padding: 0.05rem 0.15rem; margin-right: 0.1rem; } .study-box .content-list .video-box ul li { width: 100%; height: auto; margin-bottom: 0.1rem; border-color: #ddd; box-shadow: 1px 1px 2px 1px #ececec; } .study-box .content-list ul li .video-pic { width: 40%; float: left; box-sizing: border-box; } .study-box .content-list .video-box ul li .video-pic img { height: 1.4rem; } .study-box .content-list ul li .video-info { width: 60%; float: left; box-sizing: border-box; margin-top: 0.05rem; } .study-box .content-list ul li .video-info a { margin-bottom: 0.65rem; } /*course-player*/ .course-player .position { padding-left: 0.05rem; } .course-player .video-box .title { padding-left: 0.05rem; } .course-player .player-tab .tab-head span { padding: 0 0.12rem; font-size: 0.16rem; } .course-player .player-tab .tab-body { padding: 0.1rem; } .course-comment .comment-list .user-pic { width: 0.5rem; height: 0.5rem; } .course-comment .comment-list .comment-text { padding-left: 0.6rem; } /*requirements*/ .study-box .requirements .schedule { height: auto; } .study-box .requirements .schedule p { line-height: 0.3rem; } .study-box .requirements .item .stage-info { padding-left: 0.4rem; height: auto; overflow: hidden; position: relative; } .study-box .requirements .item .stage-info .stage-img{ background: #eee url(../img/锁开.png) no-repeat 0.1rem 0.1rem; background-size: 0.35rem; } .study-box .requirements .item .stage-info p { font-size: 0.12rem; width: auto; float: none; line-height: 0.25rem; } .study-box .requirements .item .stage-info .switch { position: absolute; top: 0.1rem; right: 0.1rem; } /*资源上传*/ .study-box .upload-file { margin-left: 0; } .study-box .upload-file .form-group input[type=text], .study-box .upload-file .form-group textarea { width: 95%; } .study-box .upload-file .form-group .select-box { margin-bottom: 0.1rem; display: block; padding-top: 0.1rem; } .study-box .upload-file .form-group .tips { margin-left: 0; display: block; margin-top: 0; clear: left; white-space: normal; } /*微课上传*/ .study-box .upload-file .form-group .txt-r { width: auto; } .study-box .upload-file .form-group .upload-yq { padding-left: 0; } .study-box .upload-file .form-group input[type=button] { margin-right: 0.1rem; width: 1rem; } .study-box .upload-file .form-group .back { width: 1rem; } /*作业列表*/ .study-box .stagetask-box .task-name p { padding: 0 0.1rem; } .study-box .stagetask-box .task-intro { padding: 0.1rem; } .study-box .stagetask-box .task-intro .claim { width: 100%; margin-bottom: 0.1rem; border-right: 0; padding-right: 0; border-bottom: 0.01rem solid #ddd; } .study-box .stagetask-box .task-intro .mine { width: 100%; padding: 0; } .study-box .stagetask-box .task-intro .mine .task-submit { margin: 0 auto; width: 100%; } .study-box .stagetask-box .task-intro .mine .btns a { margin: 0 10% 0 0; width: 45%; float: left; height: 0.34rem; line-height: 0.34rem; } .study-box .stagetask-box .task-intro .mine .btns a:last-child { margin: 0; } /*查看作业*/ .show-content .position { padding-left: 0.05rem; } .show-content .task-intro { padding: 0.1rem; } .show-content .task-intro .author span { margin-right: 0.2rem; white-space: nowrap; } .show-content .task-intro .author span:last-child{ display: block; } .show-content .comment-box { padding: 0.1rem; } /*在线学习-资源*/ .study-box .resource-box ul li .res-intro .star .com-number { font-size: 0.12rem; } .study-box .resource-box ul li .res-intro .edit { margin-top: 0.05rem; width: 0.4rem; } /*发布话题*/ .study-box .upload-file .tab-head .label span { padding: 0.05rem 0.15rem; margin-right: 0.1rem; } .upload-file .tab-body .form-group .video-mode { width: 100%; } .upload-file .form-group input[type=url] { width: 95%; padding: 0.06rem; border: 0.01rem solid #999; outline: none; } /*activity*/ .study-box .activity-box ul li { width: 100%; margin-right: 0; margin-bottom: 0.1rem; } /*show activity*/ .show-content .activity { padding: 0.1rem; } .show-content .activity .act-top .act-pic { display: none; } .show-content .activity .act-top .act-text { width: 100%; padding-left: 0; } .show-content .activity .act-top .act-text .float-r { float: none; display: block; margin: 0.05rem 0; } .show-content .activity .act-main { padding: 0; border: 0; } .show-content .activity .act-top{ border-bottom: 0.01rem solid #ddd; margin-bottom: 0.1rem; } .show-content .activity .act-main .box { display: block; margin-bottom: 0.1rem; } .show-content .activity .act-main .box > span { display: block; margin-bottom: 0.1rem; } .show-content .activity .act-main .box .content { display: block; } .show-content .activity .act-main .box .content .step-l { display: block; padding-right: 0; border: 0; } .show-content .activity .act-main .box .content .step-r { display: block; width: 100%; padding-left: 0; } /*activity detail*/ .container .activity .act-box{ margin-bottom: 0rem; } .act-box .nav { width: 100%; float: none; margin-bottom: 0.1rem; border: 0; } .act-box .nav .title a{ display: inline-block; margin:0.05rem 0; font-size: 0.14rem; padding: 0.05rem 0.1rem; border: 0.01rem solid #ddd; border-radius: 0.03rem; color: #fff; height: auto; line-height: inherit; background-color: #06c; } .act-box .nav .title .mobile-menu{ display: block; } .act-box .nav ul{ display: none; } .act-box .content{ margin-left: 0; border: 0; padding: 0; min-height: auto; } .act-box .content .list-box .tab-head span{ width: auto; padding: 0 0.12rem; } .act-box .content .list-box .tab-head a{ width: 0.8rem; } .act-box .content .list-box .tab-body ul li{ margin-top: 0.1rem; } /*activity task*/ .act-box .content .list-box .task-name p { padding: 0 0.1rem; } .act-box .content .list-box .task-intro { padding: 0.1rem; } .act-box .content .list-box .task-intro .claim { width: 100%; margin-bottom: 0.1rem; border-right: 0; padding-right: 0; border-bottom: 0.01rem solid #ddd; } .act-box .content .list-box .task-intro .mine { width: 100%; padding: 0; } .act-box .content .list-box .task-intro .mine .task-submit { margin: 0 auto; width: 100%; } .act-box .content .list-box .task-intro .mine .btns a { margin: 0 10% 0 0; width: 45%; float: left; height: 0.34rem; line-height: 0.34rem; } .act-box .content .list-box .task-intro .mine .btns a:last-child { margin: 0; } /*activity weike*/ .act-box .tab-body .act-weike ul li{ width: 100%; height: auto; border-color: #ddd; box-shadow: 1px 1px 2px 1px #ececec; } .act-box .tab-body .act-weike .video-pic{ width: 40%; float: left; box-sizing: border-box; } .act-box .tab-body .act-weike .video-pic img { height: 0.8rem; } .act-box .tab-body .act-weike .video-info { width: 60%; float: left; box-sizing: border-box; margin-top: 0.05rem; } .act-box .tab-body .act-weike .video-info a { margin-bottom: 0.15rem; } .study-box .upload-file { margin-left: 0; } .study-box .upload-file .form-group input[type=text], .study-box .upload-file .form-group textarea { width: 95%; } .study-box .upload-file .form-group .select-box { margin-bottom: 0.1rem; display: block; padding-top: 0.1rem; } .study-box .upload-file .form-group .tips { margin-left: 0; display: block; margin-top: 0; clear: left; white-space: normal; } /*activity upload file*/ .act-box .content .upload-file{ margin-left: 0; min-height: inherit; } .act-box .content .upload-file .form-group .txt-r { width: auto; } .act-box .content .upload-file .form-group .upload-yq { padding-left: 0; } .act-box .content .upload-file .form-group input[type=button] { margin-right: 0.1rem; width: 1rem; } .act-box .content .upload-file .form-group .back { width: 1rem; } .act-box .content .upload-file .form-group input[type=text], .act-box .content .upload-file .form-group textarea{ width: 95%; } .act-box .content .upload-file .tab-head .label span{ padding: 0.05rem 0.15rem; margin-right: 0.1rem; } .act-box .content .upload-file .form-group .select-box { margin-bottom: 0.1rem; display: block; padding-top: 0.1rem; } .act-box .content .upload-file .form-group .tips{ margin-left: 0; display: block; margin-top: 0; clear: left; white-space: normal; } .practice-choose button { padding: 0.05rem 0.41rem; } .practice-choose label { padding: 0.06rem 0.25rem; } .put-box { padding-left: 10%; } .buts ,.overturn button{ margin-top: 0rem; } .c-lis-box{ width: 90%; } .test-box { width: 92%; } } @media only screen and (max-width: 425px){ .backbox{ top: 30%; left: 3%; } .popup{ width: 4rem; left: 3%; top: 20%; } .worn { padding-left: 1.8rem; } .worn span{ padding-right: 1.3rem; } .worn img{ padding-left: 0; } .po-count{ padding-left: 0.2rem; padding-top: 0.12rem; } .po-count p{ width: 2.6rem; margin-top: 0.2rem; margin-bottom: 0.01rem; font-size: 0.16rem; } .po-count img{ width: 0.7rem; vertical-align: top; margin-top: 0.13rem; } .but-box{ margin-top: 0.1rem; margin-left: 2.4rem; } .but-box a{ padding: 0 0.15rem; font-size: 0.17rem; } .backbox span{ top:0.6rem; font-size: 0.16rem; } } @media only screen and (max-width: 420px){ .chenges{ position: absolute; top: 0.65rem; left: 3.4rem; display: block; } .study-box .content-list ul li .video-info a { margin-bottom: 0.15rem; } .study-box .content-list .video-box ul li .video-pic img { height: 0.9rem; } .backbox{ width: 3.2rem; top: 55%; left: 7%; } .popup{ left: 5%; top: 20%; width: 3.4rem; height: 2rem; } .worn{ line-height: 0.45rem; padding-left: 1.4rem; } .worn span{ padding-right: 1.2rem; } .worn img{ padding-left: 0; } .po-count{ padding-left: 0.2rem; padding-top: 0.12rem; } .po-count p{ width: 1.8rem; margin-top: 0.01rem; margin-bottom: 0.01rem; font-size: 0.16rem; } .po-count img{ width: 0.8rem; vertical-align: top; } .but-box{ margin-left: 1.9rem; } .but-box a{ padding: 0 0.13rem; font-size: 0.17rem; } .backbox span{ top:0.4rem; } .backbox{ top: 30%; left: 11%; } .popup{ left: 9%; top: 20%; } .times .put-paper{ display: block; } .put-paper{ border: none; border-radius: 0.05rem; padding: 0rem 0.1rem; color: #FFFFFF; background-color: #f0ad4e; margin-bottom: 0.2rem; } .put-box { padding-left: 0; } .practice-choose { width: 90%; margin-right: 2%; } .paper { width: 100%; } .practice-choose ul li{ color: #FFFFFF; margin-top: 0.2rem; } .practice-choose button { border: none; border-radius: 0.05rem; padding: 0.05rem 0.25rem; color: #FFFFFF; background-color: #f0ad4e; margin-top: 0.2rem; margin-left: 1rem; } .put-box{ width: 380px; } .abbr { margin-right: 0.3rem; } .banbox p { margin: 0; line-height: 0.1rem; /* padding: 0 0.3rem; */ } .d-choice { width: 45%; margin-right: 0.1rem; text-align: center; } .banbox, .test-box{ width: auto; } } @media only screen and (max-width: 375px){ .chenges{ position: absolute; top: 0.67rem; left: 3rem; display: block; } .backbox{ top: 30%; left: 7%; } .popup{ left: 5%; top: 20%; height: 2rem; } .paper { width: 100%; } body { min-width: 375px; } .cbox img { width: 350px; } .put-box { width: 350px; } } @media only screen and (max-width: 360px) { .login-success a { font-size: 0; } /*course-player*/ .course-player .player-tab .tab-head span { padding: 0 0.1rem; font-size: 0.14rem; } .act-box .content .list-box .tab-head span{ padding: 0 0.08rem; } .act-box .content .list-box .tab-head a{ width: 0.7rem; } .chenges{ position: absolute; top: 0.67rem; left: 2.9rem; display: block; } /* 弹出验证框代码*/ .backbox{ width: 2.8rem; top: 30%; left: 11%; } .popup{ left: 10%; top: 20%; width: 2.9rem; height: 1.7rem; } .worn{ line-height: 0.3rem; padding-left: 1.2rem; padding-right: 0.2rem; } .worn span{ padding-right: 0.8rem; } .worn img{ padding-left: 0; } .po-count{ padding-left: 0.2rem; padding-top: 0.12rem; } .po-count p{ width: 1.8rem; margin-top: 0.01rem; margin-bottom: 0.05rem; font-size: 0.16rem; } .po-count img{ width: 0.5rem; vertical-align: top; margin-top: 0.13rem; } .but-box{ margin-left: 1.5rem; } .but-box a{ padding: 0 0.13rem; font-size: 0.17rem; } .backbox span{ top:0.5rem; font-size: 0.16rem; } /* 弹出验证框代码*/ body { min-width: 360px; } .cbox img { width: 300px; } .banbox { width: 90%; } .put-box { width: 320px; } .buts, .overturn button{ margin:0.15rem 0 0.1rem 0rem ; } } @media only screen and (max-width: 320px){ .chenges{ position: absolute; top: 0.67rem; left: 2.5rem; display: block; } .backbox{ width: 2.8rem; top: 30%; left: 7%; } .popup{ left: 5%; top: 20%; width: 2.9rem; height: 1.7rem; } .show-content .task-intro .author span { margin-right: 0.1rem; white-space: nowrap; } body { min-width: 320px; } .put-paper { position: absolute; right: 0.3rem; top: 0.9rem; } .put-box { width: 300px; text-align: left; } .buts, .overturn button{ margin:0.15rem 0 0.1rem 0rem ; } .practice-choose button{ margin-top: 0.18rem; margin-left: 0.35rem; } .c-lis-box { width: 96%; } .banbox{ margin-left: 0; } .banbox p{ width: 320px; padding: 0; } .container .test-box ul li a { width: 0.45rem; } }