body{ background: rgba(166, 166, 166, 1); } a,a:hover,a:link,a:visited{ color:#fff; text-decoration: none; } .header{ position: fixed; top:0; left:0; width: 100%; height: 36px; text-align: center; color:#fff; font-size: 20px; line-height: 36px; z-index: 100; background: rgba(60, 55, 121, 1); } .main-container .background{ position: absolute; top: 0; left: 0; right: 0; padding-top: 181px; z-index: -1; overflow: hidden; background: linear-gradient(360deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 100%), url('../images/doorHeader.jpg') center center / cover no-repeat; } .main-container{ max-width: 768px; margin:0 auto; box-sizing: border-box; padding-bottom: 3rem; overflow-y: auto; height: 100%; /* position: relative; */ } .topInfo{ width: 100%; /* 4.4rem */ height: 50vw; background: #28e2a4; background-image: url('../images/back.jpg'); background-size: 100% auto; } .infoBar{ width: 90%; margin:0 5%; height: 7rem; margin:0 auto; margin-top:-5rem; background: #fff; border-radius: 6px; box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.4); box-sizing: border-box; padding:0.6rem; padding-left:1.2rem; } .infoBar .companyInfo{ display: flex; align-items: center; } .infoBar .companyInfo>img{ width: 36px; height: 36px; border-radius: 50%; margin-right: 20px; } .infoBar .moreInfo{ display: flex; align-items: center; margin-top:15px; text-align: center; font-size: 10px; position: relative; } .infoBar .moreInfo .visited>div:first-child{ margin-bottom: 5px; } .infoBar .moreInfo .btn-area{ display: flex; position: absolute; right: 0; bottom:5px; } .my-btn{ border-radius: 0.4rem; padding:0 0.6rem; height: 1.4rem; line-height: 1.4rem; margin:0 10px; color:#fff; font-weight: bold; } .btn-28a{ background: #2a82e4; } .btn-red{ background: rgba(255, 87, 51, 1); } .btn-green{ background: rgba(67, 207, 124, 1); } .page{ width: 100%; min-height: 400px; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; background: #fff; padding-bottom: 1rem; padding-top:0.6rem; } .page .logo{ width: 100%; box-sizing: border-box; padding:0 1rem; z-index: 5; } .page .logo-icon{ width: 2.8rem; height: 2.8rem; } .page .wx-code{ width: 1.5rem; height: 1.5rem; } .page .today-recommend{ padding-top:0.4rem; width: 100%; } .title .name{ font-size: 1rem; margin-left: 1rem; } .page .recommend-icon{ width: 1.8rem; height: 1.8rem; } .page .title{ display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; padding:0 1rem; font-size: 14px; font-weight: bold; margin-bottom:12px; } .title .all-icon{ width: 1.8rem; height: 1.8rem; } .container{ width: 100%; box-sizing: border-box; padding:0 1rem; } .swiper-container-live { width: 100%; height: 95px; overflow: hidden; } .swiper-container-rewatch { width: 100%; height: 60px; overflow: hidden; position: relative; } .swiper-container-live .swiper-slide { font-size: 10px; background: #fff; /* Center slide text vertically */ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; overflow: hidden; flex-direction: column; width: 48%; /* margin-right: 0.8rem; */ } .swiper-container-rewatch .swiper-slide{ font-size: 10px; background: #fff; /* Center slide text vertically */ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; overflow: hidden; flex-direction: column; width: 100%!important; height: 3.6rem!important; } .tag{ margin-top:5px; margin-left:80px; color:#fff; height: 18px; line-height: 18px; padding: 0 12px; font-size: 8px; background: #FF0000; display: inline-block; border-radius: 5px; } .recommend{ font-size: 10px; width: 100%; display: flex; flex-direction: row; justify-content:space-between; } .per-live{ width: 48%; display: flex; flex-direction: column; justify-content:space-between; background: #eee; } .per-live .recommend_img{ width:100%; float:left; } .per-live .live-name{ width: 100%; height: 24px; line-height: 24px; background: #D02090; color:#fff; z-index:100; } /* 轮播定制化 --begin*/ .column{ width: 100%; margin-top:1rem; } .column .per-course{ margin-top:5px; width: 100%; display: flex; position: relative; } .column .per-course>img{ width: 125px; height: 125px; border-radius: 5px; background: #28e2a4; } .column .per-course>div{ flex: 1; height: 74px; border-radius: 6px; margin-left:12px; } .column .per-course .name{ text-align: left; width: 100%; height: 37px; font-size: 0.8rem; line-height: 19px; font-weight: bold; color: #2f3742; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; word-break: break-all; margin-bottom: 40px; } .column .per-course .count{ color:#687583; display: flex; justify-content: space-between; font-size: 0.8rem; } .column .per-course .count .time{ font-size: 0.7rem; font-weight: bold; color: rgba(255, 87, 51, 1); } .column .container{ display: none; } .column .on{ display: block; } .column .tab{ width: 100%; box-sizing: border-box; padding-left:8px; display: flex; margin:0.4rem 0; } .column .tab .cur{ font-weight: bold; color:rgba(42, 130, 228, 1); border-bottom: 2px solid rgba(42, 130, 228, 1); } .column .tab>li{ padding:6px; margin:0 1rem; } .popUp-mask{ position: fixed; top:0; left:0; width: 100%; height: 100%; background: rgba(0,0,0,0.2); z-index: 999; display: flex; /* align-items: center; justify-content: center; */ } .popUp-wrap{ position: absolute; left:50%; top:50%; width: 90vw; min-height: 20vw; background: #fff; border-radius: 8px; padding-bottom:20px; display: flex; flex-direction: column; align-items: center; max-width: 400px; } .popUp-header{ width: 100%; height: 50px; line-height: 50px; font-size: 18px; background: rgba(42, 130, 228, 1); border-top-left-radius: 8px; border-top-right-radius: 8px; box-sizing: border-box; padding:0 20px; color:#fff; } .popUp-wrap .input-phone{ width: 100%; height: 100%; border:none; outline: none; text-align: center; } .popUp-wrap .input-phone-wrap{ width: 174px; height: 46px; box-sizing: border-box; padding:0 20px; margin:0 auto; border:1px solid #ddd; border-radius: 8px; margin-top:30px; } .popUp-wrap .tips{ width: 250px; word-break: break-all; text-align: center; margin:0 auto; margin-top:20px; color:rgba(166, 166, 166, 1); font-size: 12px; } .popUp-wrap .wx-name{ text-align: center; margin-top:20px; color:rgba(80, 80, 80, 1); font-size: 14px; } .popUp-wrap .wx-code{ width: 150px; height: 150px; margin:0 auto; margin-top:20px; } .normal-btn{ width: 174px; height: 46px; border:1px solid rgba(166, 166, 166, 1); border-radius: 8px; line-height: 46px; text-align: center; margin:0 auto; margin-top:20px; cursor: pointer; user-select: none; } .normal-btn:hover,.normal-btn:active{ background: #2a82e4; border-color: #2a82e4; color:#fff; } /* 跑马灯 */ .scroll-tab{ width: 100%; height: 2rem; background: rgba(255, 141, 26, 1); overflow: hidden; } .scroll-tab .move-text{ color: #fff; min-width: 800px; height: 2rem; line-height: 2rem; font-size: 0.8rem; box-sizing: border-box; padding-left:100%; animation: moveText 8s linear infinite; } @keyframes moveText{ 0%{ transform: translateX(0) } 100%{ transform: translateX(-100%) } } .dfr{ display: flex; align-items: center; } .dfc{ display: flex; flex-direction: column; } .dfrc{ align-items: center; justify-content: center; } /* 我的 */ .page-mine{ width: 100%; min-height: 100%; background: #fff; position: relative; } /* 我的按钮栏 */ .per-mine-btn{ width: 100%; padding-left: 2rem; box-sizing: border-box; height: 3.2rem; line-height: 3.2rem; border-bottom: 2px solid rgba(229, 229, 229, 1); font-size: 1rem; } .per-mine-btn>img{ width: 2rem; height: 2rem; margin-right: 1rem; } .mine-info{ position: absolute; bottom:3.3rem; width: 100%; text-align: center; font-size: 0.8rem; color:rgba(166, 166, 166, 1); } .bottom-tabbar{ width: 100%; height: 3rem; position: fixed; bottom:0; left:0; background: #fff; z-index: 100; font-size: 0.6rem; border-top:1px solid rgba(166, 166, 166, 0.27); } .index-btn,.mine-btn{ width: 50%; height: 2rem; } .index-icon,.mine-icon{ width: 2rem; height: 2rem; } .tabbar{ color:rgba(128, 128, 128, 1); } .tabbar-select{ color: rgba(140, 95, 243, 1); } .swiper-container-page{ height: 100%; }