/* pages/home/home.wxss */ page { position: absolute; width: 100vw; height: 100vh; bottom: 0; overflow: hidden; } .container{ position: relative; width: 100vw; height:100vh; background: transparent; } /* 箭头 //上右边下左 */ .arrow-left{ width: 0; height: 0; border: 20px solid; border-color: transparent transparent transparent rgb(255,255,255); position: relative; opacity: .8; cursor: pointer; } .arrow-left::after{ content: ''; position: absolute; top: -20px; left: -23px; border: 20px solid; opacity: .8; border-color: transparent transparent transparent rgb(0, 183, 255); } .arrow-right{ float: right; width: 0; height: 0; border: 20px solid; border-color: transparent rgb(255,255,255) transparent transparent; position: relative; opacity: .8; cursor: pointer; } .arrow-right::after{ content: ''; position: absolute; top: -20px; right: -23px; border: 20px solid; opacity: .8; border-color: transparent rgb(0, 183, 255) transparent transparent; } /* 左侧的菜单 */ .container-menu{ position: absolute; left: 0; z-index: 1; width:50%; font-size: 12px; height:100%; background-color: rgba(0, 0, 0,.8); overflow-y: auto; } .menu-box{ margin-bottom: 80px; } /* mask */ .container-menu-mask{ position: absolute; right: 0; z-index: 1; width:50%; height:100%; background-color: rgba(0, 0, 0,.5); overflow: hidden; margin-bottom: 60px; } .container-menu-expand{ position: absolute; left: 0; z-index: 1; } .btn-ul{ position: relative; margin-top:40px; margin-left:10px; } .blog-title { margin-left:10px; margin-top:5px; } .blog-title:hover{ cursor: pointer; color:#1c92d2; } .title-actived{ color:#1c92d2 !important; } .caontainer-header{ height:150px; display: flex; } /* .swiper-design:active,.swiper:active{ background-color: #ffffff !important; } */ /* 嵌入表头图案 */ .swiper{ position: relative; height:150px; width: 100vw; background-color: rgb(49, 28, 3); } .swiper-item{ position: relative; width: 100%; text-align: center; line-height: 150px; font-weight: bold; height: 100%; background-color: rgba(0, 183, 255,.9) } .header-swiper-one{ background-repeat: no-repeat; background-size: cover; /* background-color: rgba(0, 183, 255,.9); */ } .header-swiper-two{ background-repeat: no-repeat; background-size: cover; /* background-color: rgba(0, 183, 255,.9); */ } .header-swiper-three{ background-repeat: no-repeat; background-size: cover; /* background-color:rgba(0, 183, 255,.9); */ } .caontainer-header content-title{ text-align: center; } .container-content{ position: relative; height: 50vh; } .home-content-class{ position: relative; width: 100%; height:100%; } .container-footer{ position: absolute; width:100vw; bottom: 0; left:0; right:0; padding: 0; } .container-footer-btn-menu{ position: relative; display: flex; flex-wrap: nowrap; width:100vw; background-color: white; /* border:1px solid rgb(255, 136, 0); */ bottom:0; } .default-btn{ position: relative; width:25%; font-size: 1em; color: #000000; border:1px dotted transparent; /* border-right:1px solid rgb(255, 136, 0); */ text-align: center; height:60px; line-height: 60px; } .default-btn:active,default-btn:active:hover{ background-color:rgb(8, 183, 252); color:#ffffff; } .btn-actived{ color:#ffffff; font-weight: bold; background-color: rgb(8, 183, 252); border:1px solid rgb(8, 183, 252); box-shadow: 0 5px 5px 5px rgba(8, 183, 252,.5); } /* loading */ .loader-child { position: absolute; width: 100px; height: 100px; box-sizing: border-box; border-radius: 50%; } .loader-child:nth-of-type(1) { left: 0%; top: 0%; animation: rotate-one 1.15s linear infinite; border-bottom: 3px solid #1c92d2; } .loader-child:nth-of-type(2) { right: 0%; top: 0%; animation: rotate-two 1.15s linear infinite; border-right: 3px solid #1c92d2; } .loader-child:nth-of-type(3) { right: 0%; bottom: 0%; animation: rotate-three 1.15s linear infinite; border-top: 3px solid #1c92d2; } @keyframes rotate-one { 0% { transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg); } 100% { transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg); } } @keyframes rotate-two { 0% { transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg); } 100% { transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg); } } @keyframes rotate-three { 0% { transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg); } 100% { transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg); } }