.action-sheet { position:fixed; bottom: -1000px; right:0; left: 0; z-index: 1000; background: white; box-shadow: 0 2px 4px 0 rgba(0,0,0,0.10); border-radius: 6px 6px 0 0; transition: bottom 0.5s; } .action-sheet img { width: 24px; height: 24px; } .action-sheet p { line-height: 22px; font-size: 15px; font-weight: 600; font-family: Arial, Helvetica, sans-serif; color: #333333; padding-left: 20px; } .setting { display: flex; padding-left: 5.3%; /* padding-bottom: 2%; */ } .setting.hint { margin-top: 18px; margin-bottom: 15px; } .hint-list { width: 83%; margin: 0 auto; white-space: nowrap; /*控制不要换行*/ overflow: auto; /* Firefox hide scrollbar*/ scrollbar-width: none; } /*webkit browser hide scrollbar*/ .hint-list::-webkit-scrollbar { display: none; } .hint-item { display: inline-block; width: 34px; height: 34px; border: 2px solid #EFEFF4; border-radius: 50%; margin-left: 5px; } .line { width: 89.4%; height: 1px; background: #EFEFF4; margin: 0 auto; margin-top: 8px; margin-bottom: 8px; } .setting.autonext { margin-bottom: 10px; } /* The switch - the box around the slider */ .switch { position: absolute; display: inline-block; width: 40px; height: 22px; right: 6%; -webkit-tap-highlight-color:transparent; /*消除移动端的灰色背景闪烁*/ } /* Hide default HTML checkbox */ .switch input { opacity: 0; width: 0; height: 0; } /* The slider */ .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #E5E5EA; -webkit-transition: .4s; transition: .4s; } .slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 1px; bottom: 1px; top: 1px; background-color: white; -webkit-transition: .4s; transition: .4s; } input:checked + .slider { background-color: #FF9500; } input:focus + .slider { box-shadow: 0 0 1px #FF9500; } input:checked + .slider:before { -webkit-transform: translateX(18px); -ms-transform: translateX(18px); transform: translateX(18px); } /* Rounded sliders */ .slider.round { border-radius: 10px; } .slider.round:before { border-radius: 50%; } /**************************** AD 灯泡 *************************/ .buld-circle-wrap { position: absolute; left: -100px; top: 40%; width: 50px; height: 50px; background: #C4C4C4; z-index: 300; /* background: transparent; */ border-radius: 50%; /* border: 1px solid #cdcbd0; */ border: 1px solid transparent; transition: left 0.5s; animation: buld-scale 2s ease-in-out infinite; } @keyframes buld-scale{ 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } @-webkit-keyframes buld-scale{ 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } .buld-circle-wrap .buld-circle .buld-mask, .buld-circle-wrap .buld-circle .buld-fill { width: 50px; height: 50px; position: absolute; border-radius: 50%; } .buld-mask .buld-fill { clip: rect(0px, 25px, 50px, 0px); /*rect (top, right, bottom, left) 左半边能看到 */ background-color: #1b9619; } .buld-circle-wrap .buld-circle .buld-mask { clip: rect(0px, 50px, 50px, 25px); /*mask只能看到右半边*/ } .buld-mask.buld-full, .buld-circle .buld-fill { transition: transform 10s ease-in-out; /* animation: buld-fill ease-in-out 10s; transform: rotate(180deg); */ } @keyframes buld-fill{ 0% { transform: rotate(0deg); } 100% { transform: rotate(180deg); } } @-webkit-keyframes buld-fill{ 0% { transform: rotate(0deg); } 100% { transform: rotate(180deg); } } .buld-circle-wrap .buld-inside-circle { position: absolute; width: 42px; height: 42px; border-radius: 50%; background: #EEB422; line-height: 42px; text-align: center; margin-top: 4px; margin-left: 4px; color: black; z-index: 500; font-weight: 500; font-size: 20px; font-family: Arial, Helvetica, sans-serif; box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.16); } .buld-wrapper { position: absolute; width: 78%; height: 78%; left: 50%; top: 50%; transform: translate(-50%, -45%); z-index: 1000; animation: buld-wrapper 2s ease-in-out infinite; } @keyframes buld-wrapper{ 0% { top: 50%; } 50% { top: 40%; } 100% { top: 50%; } } @-webkit-keyframes buld-wrapper{ 0% { top: 50%; } 50% { top: 40%; } 100% { top: 50%; } } .buld-bgimg { position: absolute; width: 100%; height: 100%; } .buld-wrapper p { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -75%); font-size: 15px; font-weight: 600; font-family: Arial, Helvetica, sans-serif; } .shinning-mask { position: absolute; width: 78%; height: 78%; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: #EEB422; z-index: 600; } /* 光线 */ .shinning { position: absolute; left:50%; top: 50%; width: 30px; height: 1px; margin: 0 auto; background: #fcff62; transform-origin: 0%; z-index: 500; animation: shinning 2s infinite; } @keyframes shinning{ 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } } @-webkit-keyframes shinning{ 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } } #shinning2 { transform: rotate(-20deg); } #shinning3 { transform: rotate(-40deg); } #shinning4 { transform: rotate(-60deg); } #shinning5 { transform: rotate(-80deg); } #shinning6 { transform: rotate(-100deg); } #shinning7 { transform: rotate(-120deg); } #shinning8 { transform: rotate(-140deg); } #shinning9 { transform: rotate(-160deg); } #shinning10 { transform: rotate(-180deg); } .adtext { position: absolute; color: darkgray; left: 50%; top: 100%; margin-top: 3px; transform: translate(-50%); font-size: 12px; font-weight: 600; font-family: Arial, Helvetica, sans-serif; } .remind { position: absolute; display: none; right: 20px; top: 5%; width: 40px; height: 40px; z-index: 150; transform: scale(0.1); } .remind-bg { width: 100%; height: 100%; } .remind p { position: absolute; left: 50%; top: 43%; transform: translate(-50%, -50%); font-size: 15px; font-weight: 600; font-family: Arial, Helvetica, sans-serif; } .remind.animation { /* transform-origin: 0; */ animation: reminder 2s; } @keyframes reminder{ 0% { right: 50%; top: 50%; transform: scale(3); } 40% { right: 50%; top: 50%; transform: scale(1.5); } 65% { right: 50%; top: 50%; transform: scale(1.5); } 100% { right: 20px; top: 5%; transform: scale(0.1); } } @-webkit-keyframes reminder{ 0% { right: 50%; top: 50%; transform: scale(3); } 40% { right: 50%; top: 50%; transform: scale(1.5); } 65% { right: 50%; top: 50%; transform: scale(1.5); } 100% { right: 20px; top: 5%; transform: scale(0.1); } }