/***** 这里放页面样式 *****/ // 登录页 padding-bottom: env(safe-area-inset-bottom); box-sizing: unset; .ezy-login-page { width:100%;height:100vh; background-color: #80dfff;position: relative; .ezy-login-wrap{width:100%;height: 1623.08rpx;background-image: url("@/static/images/login/login-bj.jpg");@include ezy-no-repeat-cover(top);} .login-body-box{ display: flex;flex-direction: column;display: flex;box-sizing: border-box; position: absolute;top:690rpx;left: 50%;transform: translateX(-50%); } .index-title-img{ width: 411rpx;height: 73rpx;@include ezy-no-repeat-cover;margin-right: auto; background-image: url("@/static/images/login/login-tel.png"); } .login-btn{width: 644rpx;height: 106rpx;margin-top: 84rpx;@include ezy-no-repeat-cover;} /***** 输入手机号页面*****/ .phone-input-box{ width: 644rpx;height: 144rpx;box-sizing: border-box;padding-bottom: 20rpx; display: flex;align-items: center;margin-top: 50rpx; background-image: url("@/static/images/login/login-tel-bj.png");@include ezy-no-repeat-cover; .phone-prefix { width: 90rpx;margin-left:18rpx;font-size: 38rpx;color: #ffffffd9; font-weight: normal;display: flex;align-items: center;justify-content: space-between;flex-shrink: 0; } .phone-prefix::after{content: '';width: 1rpx;height: 40rpx;display: inline-block;background-color: #ffffffd9;} .phone-input {font-size: 38rpx;padding: 0 22rpx;box-sizing: border-box;color: #fff;flex: 1;} .uni-input-placeholder {font-size: 34rpx;color: #ffffffd9; } .close-btn{width: 42rpx;height: 42rpx;margin-right: 30rpx;@include ezy-no-repeat-cover; background-image: url("@/static/images/login/login-close-icon.png");flex-shrink: 0;} } .agreement-checkbox-box { display: flex;justify-content: center;margin-top: 10rpx; uni-checkbox-group{font-size: 0;} .agreement-checkbox-input{width: 40rpx;height: 40rpx;border: 0;margin-right: 4rpx;font-size: 0;} .uni-checkbox-input{ width: 40rpx;height: 40rpx;border: 0;background-color: unset;@include ezy-no-repeat-cover; background-image: url("@/static/images/login/login-checked-bj.png"); svg {width: 28;height: 28rpx;top: 48%;left: 50%;} } .agreement-text-box { color: #ffffffd9;font-size: 27rpx; flex-direction: row;display: flex;align-items: center; .agreement-text{color: #e3f524;display: contents;} } } .tel-btn-disabled{background-image: url("@/static/images/login/login-zym-bj-disabled.png");} .tel-btn-normal{background-image: url("@/static/images/login/login-zym-bj.png");} .bottom-btn-box{ position: absolute;bottom:5%;left: 50%;transform: translateX(-50%);display: flex; .wx-btn,.yk-btn{ width: 125rpx;height: 144rpx;@include ezy-no-repeat-cover;margin: 0 20rpx; } .wx-btn{background-image: url("@/static/images/login/login-wx-btn.png");} .yk-btn{background-image: url("@/static/images/login/login-yk-btn.png");} } /***** 输入验证码页面*****/ .login-title-img{ width: 317rpx;height: 77rpx;@include ezy-no-repeat-cover;margin-right: auto; background-image: url("@/static/images/login/login-yzm.png"); } .yzm-btn{margin-top: 42rpx;} .yzm-show{font-size: 28rpx;color: #ffffffd9;margin: 24rpx 0 0 20rpx;} .login-btn-disabled{background-image: url("@/static/images/login/login-btn-bj-disabled.png");} .login-btn-normal{background-image: url("@/static/images/login/login-btn-bj.png");} .cxfs-btn{font-size: 30rpx;color: #3257b9;display: inline-block;margin: 20rpx auto 60rpx;} .cxfs-btn-disabled{color: #777;} .login-text{font-size: 28rpx;color: #3257b9;margin: 16rpx 0 0 20rpx;} /* 针对小屏幕设备 */ @media (max-height: 800px) { .login-body-box{top:660rpx;} .bottom-btn-box{bottom:2%;} .login-btn{margin-top: 64rpx;} // 输入验证码页面 .yzm-btn{margin-top: 32rpx;} .cxfs-btn{margin: 16rpx auto 30rpx;} } @media (max-height: 700px) { .login-body-box{top:640rpx;} .login-btn{margin-top: 46rpx;} .phone-input-box{margin-top: 24rpx;} // 输入验证码页面 .yzm-btn{margin-top: 24rpx;} .cxfs-btn{margin: 12rpx auto 20rpx;} } @media (max-height: 600px) { .login-btn{margin-top: 36rpx;} .ezy-login-wrap{height: 1360rpx;position: relative;} } } // 用户协议弹窗 .agree-sections-dialog{ width: 635rpx;height: 702rpx;padding: 360rpx 36rpx 42rpx;box-sizing: border-box;text-align: center; background-image: url("@/static/images/login/agree-dialog-bj.png");@include ezy-no-repeat-cover; .agree-title{color:#666;font-size: 32rpx;font-weight: 600;} .agree-tip{color:#777;font-size: 28rpx;margin-top: 30rpx;} .confirm-btn{width: 538rpx;height: 85rpx;@include ezy-no-repeat-cover;margin: 46rpx auto 0; background-image: url("@/static/images/login/agree-confirm-btn.png");} .not-confirm-btn{color:#888;font-size: 32rpx;padding: 16rpx 0;display: inline-block;} } // 用户协议详情弹窗 .agree-content-dialog{ width: 100%;height: 100vh;overflow: auto; .agree-content-box{ width: 684rpx;height: 1308rpx;@include ezy-no-repeat-cover; background-image: url("@/static/images/login/agree-content-bj.png"); padding: 120rpx 0 64rpx;box-sizing: border-box;margin-top: 36%; position: relative;text-align: justify; display: flex;flex-direction: column; } .agree-title{font-size: 42rpx;text-align: center;margin-bottom: 42rpx;flex-shrink: 0;} .agree-close-btn{width: 62rpx;height: 62rpx;@include ezy-no-repeat-cover; position: absolute;top: 64rpx;right: 44rpx; background-image: url("@/static/images/login/agree-sections-close.png");} .agree-section-box{font-size: 30rpx;line-height: 1.8;overflow: auto;flex: 1;padding: 0 46rpx;} @media (max-height: 800px) { .agree-content-box{margin-top: 18%;} } @media (max-height: 700px) { .agree-content-box{margin-top: var(--status-bar-height);} } } // 滑块校验弹窗 .slider-check-dialog{ background-color: rgba(255, 255, 255, 0.6); position: fixed;display: flex;flex-direction: column;top: 0;left: 0;bottom:0;right: 0; justify-content: center;align-items: center; .slider-check-content{ width: 635rpx;height: 702rpx;padding: 360rpx 36rpx 42rpx;box-sizing: border-box;text-align: center; background-image: url("@/static/images/login/agree-dialog-bj.png");@include ezy-no-repeat-cover; } .slider-check-title{color:#666;font-size: 32rpx;font-weight: 600;} .slider-check-tip{color:#777;font-size: 28rpx;margin-top: 30rpx;} .slider-check-btn{color:#888;font-size: 32rpx;padding: 16rpx 0;display: inline-block;} .btn-click{color:#666;} #yzm-slider{ margin: 32rpx 0;position: unset; // #nc_1_wrapper{width: 100%;} } .slider-tip-red{color: red;} } // 选择年级和学期 .grades-terms-page{ width:100%;height:100vh; background-color: #43c1f6; background-image: url("@/static/images/grade/grades-terms-bj.png");@include ezy-no-repeat-cover(top); // padding-top: 52%; position: relative;min-height: 1212rpx; .grades-body{ width: 752rpx;max-width: 100%;height: 1212rpx;display: flex;flex-direction: column;margin: 0 auto; background-image: url("@/static/images/grade/grades-border.png");@include ezy-no-repeat-cover(top); position: absolute;left: 50%;transform: translateX(-50%);top: 24%; } .grades-change-title{ width: 577rpx;height: 92rpx;margin: 10% auto 0; background-image: url("@/static/images/grade/grades-title.png");@include ezy-no-repeat-cover; } .grades-title-desc{font-size: 28rpx;color: #777;text-align: center;margin-top: 10rpx;} .grades-terms-title{width: 692rpx;height: 92rpx;margin: 3% auto 0;@include ezy-no-repeat-cover;} .grades-title-img{background-image: url("@/static/images/grade/grade-title.png");} .terms-title-img{background-image: url("@/static/images/grade/term-bj.png");} .grade-item-box{display: flex;flex-wrap: wrap;justify-content: space-evenly;box-sizing: border-box;padding: 3% 4% 1%;} .grade-item { width: 277rpx;height: 87rpx;line-height: 82rpx;margin: 2% 0; background-image: url("@/static/images/grade/grades-bj.png");@include ezy-no-repeat-cover; text-align: center;font-size: 36rpx;color: #fff;font-weight: 800; } // -webkit-text-stroke: 1.6rpx #ac5300;text-stroke: 1.6rpx #ac5300; .grade-item.active{ color: #fff;-webkit-text-stroke: 1.6rpx #ac5300;text-stroke: 1.6rpx #ac5300; background-image: url("@/static/images/grade/grades-a-bj.png"); } .grade-line{width: 90%;height: 4rpx;border-top: 4rpx dashed #7cbeee;margin: 5% auto 4%;} .grade-confirm-btn{ width: 644rpx;height: 108rpx;background-image: url("@/static/images/grade/confirm-btn.png");@include ezy-no-repeat-cover; } .grade-confirm-btn:after{display: none;} /* 针对小屏幕设备 */ @media (max-height: 800px) { min-height: 1300rpx; .grades-body{zoom:0.9;bottom: 1%;top: unset;} } @media (max-height: 700px) { min-height: 1200rpx; .grades-body{zoom:0.8;} } @media (max-height: 480px) { min-height: 1200rpx; .grades-body{zoom:0.75;} } } // 蛋 .study-egg-dialog{ .egg-content-box{display: flex;display: flex;flex-direction: column;align-items: center;} .egg-title{ width: 606rpx;height: 85rpx; @include ezy-no-repeat-cover;background-image: url("@/static/images/study/egg-title.png"); } .egg-img{width: 692rpx;height: 615rpx;margin-top: 20%; @include ezy-no-repeat-cover;background-image: url("@/static/images/study/egg-img.png"); } .egg-btn{ width: 644rpx;height: 106rpx;margin-top: 10%; @include ezy-no-repeat-cover;background-image: url("@/static/images/study/egg-btn.png"); } @media (max-height: 800px) { .egg-img{margin-top: 10%;} .egg-btn{margin-top: 6%;} } @media (max-height: 700px) { .egg-img{margin-top: 6%;} .egg-btn{margin-top: 4%;} } } //地图页 .ezy-study-page{ width:100%;height:100vh; background-color: #43c1f6; background-image: url("@/static/images/study/study-page-bj.png");@include ezy-no-repeat-cover(top); position: relative;min-height: 1394rpx;padding-top:calc(1% + var(--status-bar-height)); box-sizing: border-box;z-index: 1; .study-school-year{ width: 237rpx;height: 73rpx;line-height:68rpx;background-image: url("@/static/images/study/school-year-bj.png"); color: #fff;@include ezy-no-repeat-cover;padding-left: 75rpx;margin: 1% 0 0 3%; font-size: 32rpx; } .ezy-study-wrap{ width:100%;height:1394rpx;background-image: url("@/static/images/study/study-wrap-bj.png");@include ezy-no-repeat-cover; position: absolute;bottom: 4%;z-index: 2; } .chapter-box{ width: 150rpx;text-align: center;font-weight: 800;color: #5c1a11; position: absolute;top: 126rpx;left: 330rpx;font-size: 32rpx; } .chapter-title-box{ width: 268rpx;text-align: center;font-weight: 800;color: #fbb030; position: absolute;top: 180rpx;left: 270rpx;font-size: 32rpx; } .brand-item{position: absolute;box-sizing: border-box;font-size: 28rpx;color: #fff;text-align: center;font-weight: 600;} .brand-content{width: 100%;@include single-line-ellipsis;} .brand-icon,.brand-lock{ width: 70rpx;height: 70rpx;@include ezy-no-repeat-cover; position: absolute;top: -30rpx;left: 50%;transform: translateX(-50%);} .brand-icon{ font-size: 36rpx;font-weight: 600;color: #ff6501;line-height: 70rpx; background-image: url("@/static/images/catalog/number-bj.png"); } .brand-lock{background-image: url("@/static/images/catalog/lock-bj.png"); display: flex;justify-content: center;} .brand-lock::before{ content: '';width: 38rpx;height: 45rpx;display: block;@include ezy-no-repeat-cover; background-image: url("@/static/images/catalog/lock-img.png");margin-top: 10rpx; } .brand-item:nth-child(1){ width: 298rpx;height: 144rpx;@include ezy-no-repeat-cover; right: 60rpx;top: 320rpx;padding: 40rpx 4rpx 10rpx 12rpx; background-image: url("@/static/images/catalog/chang-pai-disabled.png"); } .brand-item.brand-active:nth-child(1){background-image: url("@/static/images/catalog/chang-pai-active.png");} .brand-item:nth-child(2){ width: 231rpx;height: 147rpx;@include ezy-no-repeat-cover; left: 55rpx;top: 512rpx;padding: 40rpx 0 10rpx 16rpx; background-image: url("@/static/images/catalog/duan-pai-disabled.png"); } .brand-item:nth-child(3){ width: 298rpx;height: 144rpx;@include ezy-no-repeat-cover; right: 85rpx;bottom: 560rpx;padding: 40rpx 4rpx 10rpx 12rpx; background-image: url("@/static/images/catalog/chang-pai-disabled.png"); } .brand-item:nth-child(4){ width: 185rpx;height: 121rpx;@include ezy-no-repeat-cover; right: 160rpx;bottom: 160rpx;padding: 16rpx 16rpx 10rpx 24rpx; background-image: url("@/static/images/catalog/ceshi-pai.png"); .brand-lock{left: 0;top: -30rpx;} } } // 考试页 .ezy-exam-page{ width: 100%;height: 100vh;background-color: #0ab2f0;position: relative; padding-top:var(--status-bar-height);display: flex;flex-direction: column; .ezy-exam-swiper{ width: 615rpx;flex: 1;z-index: 2;margin: 0 auto; uni-swiper-item{overflow: auto;} } .exam-submit-btn{ width: 87rpx;height: 125rpx;@include ezy-no-repeat-cover;z-index: 2; background-image: url("@/static/images/exam/submit-btn.png");margin: 10rpx 42rpx 0 auto; } .exam-tip-box{ width: 750rpx;height: 355.77rpx;@include ezy-no-repeat-cover; background-image: url("@/static/images/exam/exam-tip-bj.png"); color: #036f6f;font-size: 32rpx;z-index: 3;padding: 180rpx 0 0 100rpx; position: absolute;left: 0;right: 0;bottom: var(--window-bottom); } } // 成绩页 .ezy-result-page{ width: 100%;height: 100vh;background-color: #0ab2f0;position: relative; padding-top:var(--status-bar-height);display: flex;flex-direction: column; .result-exam-swiper{ width: 615rpx;flex: 1;z-index: 2;margin: 0 auto; uni-swiper-item{overflow: auto;} .flex-center{ height: 100%; .body{height: 100%;display: flex;flex-direction: column;} .ezy-danxuan-box{flex: 1;overflow-y: auto;} } } .answer-content-box{ margin-top: 24rpx; .answer-title{width: 150rpx;height: 62rpx;flex-shrink: 0; background-image: url("@/static/images/exam/answer-title.png");@include ezy-no-repeat-cover; } .answer-btn-box{ display: flex;height: 135rpx; margin: 20rpx 0 20rpx 10rpx;} .answer-item-left,.answer-item-right{ width: 100%;flex: 1;align-items: center;justify-content: center; display: flex;flex-direction: column;background-color: rgba(255, 255, 255, 0.3); .answer-item-title{font-size: 32rpx;color: #333;margin-bottom: 4rpx;} .answer-item-error{font-size: 32rpx;color: #ef1417;} .answer-item-correct{font-size: 32rpx;color: #15ab2e;} } .answer-item-left{border-radius: 4px 0 4px 0;position: relative;} .answer-item-right{border-radius: 0 4px 4px 0;} .answer-line{width: 1px;position: absolute;top: 16rpx;right: 0;bottom: 16rpx;background: #d1e9f5;} .answer-btn{width: 144rpx;height: 135rpx;@include ezy-no-repeat-cover; background-image: url("@/static/images/exam/answer-btn.png"); margin: 0 32rpx;flex-shrink: 0; } } } // 得分页 .exam-score-dialog{ width: 750rpx;height: 1250rpx;margin-bottom: 24%;position: relative; background-image: url("@/static/images/exam/score-bj.png");@include ezy-no-repeat-cover; // -webkit-text-stroke: 0.6rpx #fff;text-stroke: 0.6rpx #fff; .score-content-box{ position: absolute;top: 746rpx;left: 200rpx;word-spacing: 18rpx; font-size: 38rpx;font-weight: 800; color: #000; .text-red{color: #ff6500;margin: 0 8rpx;} .text-score{ width: 160rpx;font-size: 82rpx;weight: 800;color: #ff6701; -webkit-text-stroke: 0.6rpx #fff;text-stroke: 0.6rpx #fff; margin: 110rpx 0 0 160rpx;text-align: center;} } .ckst-btn,.jxxx-btn{width: 115rpx;height: 135rpx;@include ezy-no-repeat-cover;margin: 0 36rpx;} .score-btn-box{position: absolute;bottom: 0;display: flex;left: 50%;transform: translateX(-50%);} .ckst-btn{background-image: url("@/static/images/exam/ckst-btn.png");} .jxxx-btn{background-image: url("@/static/images/exam/jxxx-btn.png");} @media (max-height: 700px) {zoom: 0.9;} @media (max-height: 600px) {margin-bottom: 40%;} } // 答案解析 .ezy-dajx-page{ width: 100%;height: 100vh;background-color: #0ab2f0;position: relative; padding-top:var(--status-bar-height);display: flex;flex-direction: column; .shiti-frame-box{overflow-y: auto;} .dajx-content-box{ width: 615rpx;flex: 1;z-index: 2;margin: 0 auto;overflow-y: auto; .slfx-title,.spjj-title{ width: 231rpx;height: 63rpx;@include ezy-no-repeat-cover;margin-bottom: 16rpx; } .slfx-title{background-image: url("@/static/images/exam/slfx-title.png");} .spjj-title{background-image: url("@/static/images/exam/spjj-title.png");} .slfx-content{ font-size: 32rpx;color: #333;line-height: 1.6;margin-bottom: 42rpx; box-sizing: border-box;padding: 0 20rpx;word-wrap: break-word;word-break: break-all; } } .spjj-video-box{ width: 606rpx;height: 394rpx;@include ezy-no-repeat-cover;margin: 0 auto 42rpx; background-image: url("@/static/images/exam/video-frame-bj.png");position: relative; box-sizing: border-box;padding: 18rpx; .play-btn{ width: 90rpx;height:90rpx;position:absolute;left: 50%;top: 50%;transform: translate(-50%, -50%); @include ezy-no-repeat-cover;background-image: url("@/static/images/exam/video-play-btn.png"); } .scale-btn{ width: 29rpx;height:29rpx;position:absolute;right: 30rpx;bottom: 24rpx; @include ezy-no-repeat-cover;background-image: url("@/static/images/exam/video-zoom-btn.png"); } .spjj-video{ width: 100%;height: 100%;background-color: blue; } } } // height:$titleBar-tabBar-page; .lli-develop-expect-page{ display: flex;flex-direction: column;justify-content: space-between;align-items: center; background-color: blue;position: relative; .page-content{ background-color: #9ed5cf;width: 100%;text-align: center;display: block; margin-top: 44px;flex: 1; span{ font-size: 24px;padding: 20px 0;display: block;font-weight: 900;color: #09539a; -webkit-text-stroke: 1rpx #fff; /* 文字描边(仅webkit内核浏览器支持) */ text-stroke: 1rpx #fff; /* 未来可能的标准属性,目前支持有限 */ text-shadow: 4px 4px 4px rgba(110, 229, 249, 0.5); /* 文字阴影 */ } } .bottom-word{position: absolute;bottom: 0;margin-top: 0;} }