/**index.wxss**/ page { /* background: #00416A; */ background: -webkit-linear-gradient(to top, #E4E5E6, #00416A); background: linear-gradient(to bottom, rgb(119, 119, 119), #076585); /* fallback for old browsers */ /* background: -webkit-linear-gradient(to top, #fff, #076585); */ /* Chrome 10-25, Safari 5.1-6 */ /* background: linear-gradient(to top, rgb(255, 255, 255), #076585); */ /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ background-image: url('https://yongma16.xyz/staticFile/common/img/scene.png'); background-repeat: no-repeat; background-size: cover; padding-bottom: 60rpx; } .l-avatar-text{ color:#ffffff !important; } .login-container{ position: absolute; top:50%; transform: translateY(50%); } .user-login { width:120px !important; color: #fff !important; border-color: #fff !important; } .user-info { color: #fff; } .user-nick-name { height: 30px; } .user-image-box { width: 200px; height: 140px; text-align: center; align-items: center; } .user-image { width: 100px; height: 100px; border-radius: 50%; border: 2px solid #fff; } .title { font-family: PingFang SC; margin-top:50px; font-weight: 500; font-size: 22px; margin-bottom: 40rpx; } .top_tip { font-size: 28rpx; font-family: PingFang SC; font-weight: 400; color: #888888; margin-bottom: 28rpx; } .power { margin-top: 30rpx; border-radius: 5px; background-color: white; width: 93%; padding-bottom: 1rpx; } .power_info { display: flex; padding: 30rpx 25rpx; align-items: center; justify-content: space-between; } .power_info_more { width: 30rpx; height: 30rpx; transform: rotate(90deg); } .power_info_less { width: 30rpx; height: 30rpx; transform: rotate(270deg); } .power_info_text { display: flex; flex-direction: column; } .power_info_text_title { margin-bottom: 10rpx; font-weight: 400; font-size: 35rpx; } .power_info_text_tip { color: rgba(0, 0, 0, 0.4); font-size: 25rpx; } .power_item { padding: 30rpx 25rpx; display: flex; justify-content: space-between; } .power_item_title { font-size: 30rpx; } .power_item_icon { width: 30rpx; height: 30rpx; } .line { width: 95%; margin: 0 auto; height: 2rpx; background-color: rgba(0, 0, 0, 0.1); } .environment { color: rgba(0, 0, 0, 0.4); font-size: 24rpx; margin-top: 25%; } .detail-info{ position: absolute; bottom:0; width: 100vw; height:40px; text-align: center; font-size: 12px; font-weight: bold; color: #ffffff; } .loading-container{ position: absolute; height: 100px; height:100px; left:50%; bottom: 60px; transform: translate(-50%); } .loading{ position: absolute; width: 100px; height: 100px; perspective: 780px; position: relative; top:25%; left:50%; transform: translate(-50%,-25%); bottom: 80px; } /* 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 #fff; } .loader-child:nth-of-type(2) { right: 0%; top: 0%; animation: rotate-two 1.15s linear infinite; border-right: 3px solid #fff; } .loader-child:nth-of-type(3) { right: 0%; bottom: 0%; animation: rotate-three 1.15s linear infinite; border-top: 3px solid #fff; } @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); } } /* 底层 */ .text-magic{ position: relative; transform:scale(2.4); font-size: 10px; text-align: center; color:#fff; } /* 扫描线条黑色 顶层*/ .white{ position: relative; left:0px; width:100%; text-align: center; height: 1px; background: rgba(255,255,255,.8); z-index: 4; animation: whiteMove 2s ease-out infinite; } @keyframes whiteMove{ 8%{ top:-10px; } 14%{ top:-5px; } 18%{ top:-2px; } 20%{ top:-8px; } 32%{ top:-3px; } 60%{ top:-5px; } 80%{ top:-8px; } 99%{ top:-1px; } } /* 红色阴影左移0.5px 第二层*/ .text-magic::before{ position: absolute; /* 文字内容传递 */ content: attr(data-word); width: 100%; top:0; left:1px; height:36px; color:rgba(255,255,255,.9); z-index: 6; /* 羽化 */ filter: contrast(200%); text-shadow: 1px 0 0 rgba(255,255,255,.3); overflow: hidden; animation: redShadow 2s ease-in infinite; } @keyframes redShadow{ 20%{ height: 32px; } 60%{ height:6px; } 100%{ height: 42px; } } /* 左移错位-3px 第三层*/ .text-magic::after { content: attr(data-word); position: absolute; top: 0; left: -0.5px; height: 36px; color: rgba(255, 255, 255, 0.5); overflow: hidden; z-index: 3; /* background: rgba(0, 0, 0, 0.9); */ animation: redHeight 2s ease-out infinite; filter: contrast(200%); text-shadow: -1px 0 0 rgba(255,255,255,.3); mix-blend-mode: darken; } @keyframes redHeight { 20% { height: 42px; } 35% { height: 12px; } 50% { height: 40px; } 60% { height: 20px; } 70% { height: 34px; } 80% { height: 22px; } 100% { height: 0px; } }