/* 静态资源地址 */ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; outline: 0; -webkit-tap-highlight-color: transparent; } .clearfix::after { content: " "; visibility: hidden; display: block; font-size: 0; line-height: 0; height: 0; clear: both; } html, body { width: 100%; height: 100%; } html { -webkit-text-size-adjust: none; -webkit-font-smoothing: antialiased; } body { font-size: 14px !important; } .animated { display: block !important; } .app-mask { display: none; position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 100; background-color: rgba(0, 0, 0, 0.4); } .app-mask.white { background-color: rgba(0, 0, 0, 0); } .app-alert { display: none; -webkit-animation-duration: .3s; animation-duration: .3s; -webkit-animation-delay: .3s; animation-delay: .3s; position: fixed; width: 80vw; left: 50%; top: 25%; margin-left: -40vw; border-radius: 12px; z-index: 101; background: #fff no-repeat center 10%; background-size: 20%; } .app-alert.timeout { background-image: url("../images/icon/used-timeout.png"); } .app-alert.stop { background-image: url("../images/icon/used-stop.png"); } .app-alert.used { background-image: url("../images/icon/used.png"); } .app-alert.error { background-image: url("../images/icon/error.png"); } .app-alert.fail { background-image: url("../images/icon/fail.png"); } .app-alert.timeout .btns a:last-child, .app-alert.stop .btns a:last-child, .app-alert.used .btns a:last-child { color: #3EAFFF; } .app-alert.error .btns a:last-child, .app-alert.fail .btns a:last-child { color: #F5615F; } .app-alert .tips { margin-top: 30%; margin-bottom: 5%; text-align: center; color: #888; line-height: 1.5; font-size: 16px; } .app-alert .btns { width: 100%; font-size: 0; border: solid 1px #efefef; background: #fff; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; } .app-alert .btns a { display: inline-block; width: 50%; padding: 5%; color: #666; text-decoration: none; text-align: center; font-size: 16px; border-right: solid 1px #efefef; } .app-view { display: none; padding: 16px; -webkit-animation-duration: .3s; animation-duration: .3s; -webkit-animation-delay: .3s; animation-delay: .3s; position: fixed; width: 86vw; height: 36vh; left: 50%; top: 35%; margin-left: -43vw; margin-top: -18vh; background-color: #fff; border-radius: 12px; z-index: 101; } .app-view.vertical { width: 32vh; height: 53vh; top: 25%; margin-left: -16vh; } .app-view.vertical .tip { top: 53vh; } .app-view.vertical .tip .close { bottom: 10vh; } .app-view .img, .app-view img { width: 100%; height: 100%; } .app-view .tip { position: absolute; top: 36vh; left: 0; height: 40vh; line-height: 40vh; width: 100%; background: url("../images/icon/touch-save.png") no-repeat center 5%; background-size: 20%; text-align: center; color: #fff; } .app-view .tip > div { display: inline-block; line-height: 1.5; font-size: 16px; } .app-view .tip .close { width: 26px; height: 26px; position: absolute; left: 50%; margin-left: -13px; bottom: 5vh; background: url("../images/icon/touch-close.png") no-repeat center center; background-size: 100% 100%; } .app-action-tips { -webkit-animation-duration: .3s; animation-duration: .3s; -webkit-animation-delay: .3s; animation-delay: .3s; display: none; position: fixed; width: 66vw; height: 28vh; left: 50%; top: 40%; margin-left: -33vw; margin-top: -14vh; z-index: 101; } .app-action-tips .content { display: none; position: relative; width: 100%; height: 100%; color: #fff; background-color: rgba(0, 0, 0, 0.7); border-radius: 12px; background-repeat: no-repeat; background-position: 50% 25%; } .app-action-tips .content .tips { font-size: 18px; position: absolute; left: 0; bottom: 15%; width: 100%; text-align: center; } .app-action-tips .content.face-1 { background-image: url("../images/icon/face-1.png"); background-size: 30%; } .app-action-tips .content.face-1 .tips { font-size: 16px; bottom: 10%; } .app-action-tips .content.face-2 { background-image: url("../images/icon/face-2.png"); background-size: 30%; } .app-action-tips .content.face-3 { background-image: url("../images/icon/face-3.png"); background-size: 30%; } .app-action-tips .content.face-4 { background-image: url("../images/icon/face-4.png"); background-size: 30%; } .app-action-tips .content.loading { background-color: rgba(255, 255, 255, 0.9); } .app-action-tips .content.loading .tips { font-size: 15px; color: #999999; } .app-action-tips .content.loading .lds-spinner { position: absolute; left: 50%; top: 30%; -webkit-transform: translate(-50%, -30%); -ms-transform: translate(-50%, -30%); transform: translate(-50%, -30%); } .app-action-tips .content.loading-switch .tips { font-size: 15px; color: #ffff; } .app-action-tips .content.loading-switch .lds-spinner { position: absolute; left: 50%; top: 30%; -webkit-transform: translate(-50%, -30%); -ms-transform: translate(-50%, -30%); transform: translate(-50%, -30%); } .app-main { width: 100%; height: 55vh; } .app-main .ads-swiper { height: 4.5rem; } .app-main .ads-swiper .swiper-slide { text-align: center; font-size: 18px; background: #fff; /* Center slide text vertically */ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; } .app-main .ads-swiper .swiper-slide img { width: 100%; height: 100%; } .app-main .ads-swiper .swiper-pagination-bullet-active { background: #fff; } .app-main .nav-menu { box-shadow: 0 0.03rem 10px #efefef; } .app-main .nav-menu ul { padding: 0.3rem 0; list-style: none; font-size: 0; } .app-main .nav-menu li { display: inline-block; width: 50%; font-size: 12px; text-align: center; } .app-main .nav-menu li:first-child { border-right: solid 1px #DFDFDF; } .app-main .nav-menu li a { display: inline-block; width: 1.3rem; height: 1.52rem; background-repeat: no-repeat; background-position: center center; background-size: contain; } .app-main .nav-menu li a.btn-pic-take { background-image: url("../images/btn-pic-take.png"); } .app-main .nav-menu li a.btn-pic-list { background-image: url("../images/btn-pic-list.png"); } .app-switch { width: 100%; height: 45vh; } .app-switch .swt-style { padding-top: 10%; } .app-switch .swt-style a { float: left; width: 1.8rem; height: 0.7rem; background-repeat: no-repeat; background-position: center center; background-size: contain; } .app-switch .swt-style a:last-child { float: right; } .app-switch .swt-style a.switch { margin-left: 0.14rem; background-image: url("../images/switch1.png"); } .app-switch .swt-style a.active { background-image: url("../images/switch1_active.png"); } .app-switch .swt-style a.switch2 { margin-left: 0.24rem; background-image: url("../images/switch2.png"); } .app-switch .swt-style a[data-id="2"].active { background-image: url("../images/switch2_active.png"); } .app-switch .swt-style a.logo { margin-right: 0.1rem; background-image: url("../images/logo.png"); } .app-switch .stl-swiper { height: 70%; } .app-switch .stl-swiper .swiper-slide { text-align: center; font-size: 18px; /* Center slide text vertically */ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; background-repeat: no-repeat; background-position: center center; background-size: contain; } .app-switch .stl-swiper .style-1 { background-image: url("../images/styles/1.png"); } .app-switch .stl-swiper .style-1.active { background-image: url("../images/styles/1-active.png"); } .app-switch .stl-swiper .style-2 { background-image: url("../images/styles/2.png"); } .app-switch .stl-swiper .style-2.active { background-image: url("../images/styles/2-active.png"); } .app-switch .stl-swiper .style-3 { background-image: url("../images/styles/3.png"); } .app-switch .stl-swiper .style-3.active { background-image: url("../images/styles/3-active.png"); } .app-switch .stl-swiper .style-4 { background-image: url("../images/styles/4.png"); } .app-switch .stl-swiper .style-4.active { background-image: url("../images/styles/4-active.png"); } .app-switch .stl-swiper .style-5 { background-image: url("../images/styles/5.png"); } .app-switch .stl-swiper .style-5.active { background-image: url("../images/styles/5-active.png"); } /* 风景 */ .app-switch .stl-swiper1 .style-1 { background-image: url("../images/styles1/1.png"); } .app-switch .stl-swiper1 .style-1.active { background-image: url("../images/styles1/1-active.png"); } .app-switch .stl-swiper1 .style-2 { background-image: url("../images/styles1/2.png"); } .app-switch .stl-swiper1 .style-2.active { background-image: url("../images/styles1/2-active.png"); } .app-switch .stl-swiper1 .style-3 { background-image: url("../images/styles1/3.png"); } .app-switch .stl-swiper1 .style-3.active { background-image: url("../images/styles1/3-active.png"); } .app-switch .stl-swiper1 .style-4 { background-image: url("../images/styles1/4.png"); } .app-switch .stl-swiper1 .style-4.active { background-image: url("../images/styles1/4-active.png"); } .app-switch .stl-swiper1 .style-5 { background-image: url("../images/styles1/5.png"); } .app-switch .stl-swiper1 .style-5.active { background-image: url("../images/styles1/5-active.png"); } .my-pic-list { display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #fff; z-index: 10; } .my-pic-list header { padding-top: 0.16rem; padding-left: 0.27rem; padding-right: 0.27rem; position: absolute; left: 0; top: 0; height: 1.2rem; width: 100%; } .my-pic-list header .home-nav { background-image: url("../images/mypic.png"); background-repeat: no-repeat; background-position: center right; background-size: auto 100%; } .my-pic-list header .home-nav .btn-back { display: block; width: 1.12rem; height: 0.68rem; background-image: url("../images/back.png"); background-repeat: no-repeat; background-position: center center; background-size: 100% 100%; } .my-pic-list header .tips { font-size: 10px; text-align: right; color: #00b3ec; } .my-pic-list article { position: absolute; left: 0; top: 1.21rem; bottom: 0; width: 100%; } .my-pic-list article ul { list-style: none; } .my-pic-list .pic-swiper { width: 100%; height: 100%; padding-left: 0.27rem; padding-right: 0.27rem; } .my-pic-list .pic-swiper .swiper-slide { height: 2.52rem; text-align: center; background: #fff; /* Center slide text vertically */ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; background-repeat: no-repeat; background-position: center center; background-size: contain; border-bottom: solid 1px #e9e9e9; padding-top: 0.21rem; padding-bottom: 0.21rem; } .my-pic-list .pic-swiper .swiper-slide .img { width: 40%; height: 100%; } .my-pic-list .pic-swiper .swiper-slide .img.vertical { padding: 0 8%; } .my-pic-list .pic-swiper .swiper-slide .img img { width: 100%; height: 100%; } .my-pic-list .pic-swiper .swiper-slide .info { width: 60%; height: 100%; } .my-pic-list .pic-swiper .swiper-slide .time { margin-top: 12%; color: #686868; font-weight: 500; font-size: 14px; text-align: center; } .my-pic-list .pic-swiper .swiper-slide .style { margin-top: 2%; height: 0.7rem; background-position: center center; background-size: auto 100%; background-repeat: no-repeat; } .my-pic-list .pic-swiper .swiper-slide .style-1 { background-image: url("../images/styles-flag/1.png"); } .my-pic-list .pic-swiper .swiper-slide .style-2 { background-image: url("../images/styles-flag/2.png"); } .my-pic-list .pic-swiper .swiper-slide .style-3 { background-image: url("../images/styles-flag/3.png"); } .my-pic-list .pic-swiper .swiper-slide .style-4 { background-image: url("../images/styles-flag/4.png"); } .my-pic-list .pic-swiper .swiper-slide .style-5 { background-image: url("../images/styles-flag/5.png"); } .my-pic-list .pic-swiper .swiper-slide .style-6 { background-image: url("../images/styles-flag/6.png"); } .my-pic-list .pic-swiper .swiper-slide .style-7 { background-image: url("../images/styles-flag/7.png"); } .my-pic-list .pic-swiper .swiper-slide .style-8 { background-image: url("../images/styles-flag/8.png"); } .my-pic-list .pic-swiper .swiper-slide .style-9 { background-image: url("../images/styles-flag/9.png"); } .my-pic-list .pic-swiper .swiper-slide .style-10 { background-image: url("../images/styles-flag/10.png"); } .my-pic-list .pic-swiper .swiper-scrollbar { right: 0px !important; width: 4px !important; } .my-pic-list .pic-swiper .swiper-scrollbar-drag { background: rgba(0, 0, 0, 0.3) !important; } .lds-spinner { color: official; display: inline-block; position: relative; width: 64px; height: 64px; } .lds-spinner div { -webkit-transform-origin: 32px 32px; -ms-transform-origin: 32px 32px; transform-origin: 32px 32px; -webkit-animation: lds-spinner 1.2s linear infinite; animation: lds-spinner 1.2s linear infinite; } .lds-spinner div:after { content: " "; display: block; position: absolute; top: 3px; left: 29px; width: 5px; height: 14px; border-radius: 20%; background: #999999; } .lds-spinner div:nth-child(1) { -webkit-transform: rotate(0deg); -ms-transform: rotate(0deg); transform: rotate(0deg); -webkit-animation-delay: -1.1s; animation-delay: -1.1s; } .lds-spinner div:nth-child(2) { -webkit-transform: rotate(30deg); -ms-transform: rotate(30deg); transform: rotate(30deg); -webkit-animation-delay: -1s; animation-delay: -1s; } .lds-spinner div:nth-child(3) { -webkit-transform: rotate(60deg); -ms-transform: rotate(60deg); transform: rotate(60deg); -webkit-animation-delay: -0.9s; animation-delay: -0.9s; } .lds-spinner div:nth-child(4) { -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); -webkit-animation-delay: -0.8s; animation-delay: -0.8s; } .lds-spinner div:nth-child(5) { -webkit-transform: rotate(120deg); -ms-transform: rotate(120deg); transform: rotate(120deg); -webkit-animation-delay: -0.7s; animation-delay: -0.7s; } .lds-spinner div:nth-child(6) { -webkit-transform: rotate(150deg); -ms-transform: rotate(150deg); transform: rotate(150deg); -webkit-animation-delay: -0.6s; animation-delay: -0.6s; } .lds-spinner div:nth-child(7) { -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); -webkit-animation-delay: -0.5s; animation-delay: -0.5s; } .lds-spinner div:nth-child(8) { -webkit-transform: rotate(210deg); -ms-transform: rotate(210deg); transform: rotate(210deg); -webkit-animation-delay: -0.4s; animation-delay: -0.4s; } .lds-spinner div:nth-child(9) { -webkit-transform: rotate(240deg); -ms-transform: rotate(240deg); transform: rotate(240deg); -webkit-animation-delay: -0.3s; animation-delay: -0.3s; } .lds-spinner div:nth-child(10) { -webkit-transform: rotate(270deg); -ms-transform: rotate(270deg); transform: rotate(270deg); -webkit-animation-delay: -0.2s; animation-delay: -0.2s; } .lds-spinner div:nth-child(11) { -webkit-transform: rotate(300deg); -ms-transform: rotate(300deg); transform: rotate(300deg); -webkit-animation-delay: -0.1s; animation-delay: -0.1s; } .lds-spinner div:nth-child(12) { -webkit-transform: rotate(330deg); -ms-transform: rotate(330deg); transform: rotate(330deg); -webkit-animation-delay: 0s; animation-delay: 0s; } .my-bullet{ width: 10px; height: 10px; display: inline-block; border-radius: 100%; margin: 0 4px; border: 1px solid #000; } .swiper-pagination-bullet-active{ background: #000!important; } @-webkit-keyframes lds-spinner { 0% { opacity: 1; } 100% { opacity: 0; } } @keyframes lds-spinner { 0% { opacity: 1; } 100% { opacity: 0; } } @media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) { .app-main { height: 58vh; } .app-main .nav-menu ul { padding: 1.2rem 0; } .app-switch { height: 42vh; } } @media only screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) { .app-main { height: auto; } .app-main .nav-menu ul { padding: 0.15rem 0; } .app-main .nav-menu li a { width: 1rem; height: 1.3rem; } .app-switch { height: 3.5rem; } .app-switch .swt-style { padding-top: 2%; } .app-switch .swt-style a { width: 1.5rem; height: 0.5rem; } } @media only screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) { .app-main { height: auto; } .app-main .nav-menu ul { padding: 0.5rem 0; } .app-main .nav-menu li a { width: 1.5rem; height: 2rem; } .app-switch { height: 4.5rem; } .app-switch .swt-style { padding-top: 5%; } } @media screen and (max-width: 320px) { .app-main .nav-menu ul { padding: 0.15rem 0; } }