wx399182c36706169c-sheng.xi.../pages/pair_astro/index.wxss

519 lines
8.7 KiB
Plaintext

.container {
align-items: center;
box-sizing: border-box;
display: flex;
flex-direction: column;
height: 100%;
justify-content: space-between;
padding: 200rpx 0;
}
navigator {
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.clear:after {
clear: both;
content: " ";
display: block;
font-size: 0;
height: 0;
overflow: hidden;
visibility: hidden;
}
button::after {
border: 0;
}
.inpbox {
background: #fff;
border-radius: 82rpx;
margin: 60rpx auto 0;
width: 446rpx;
}
.inpbox,.inpbox .text {
height: 82rpx;
overflow: hidden;
}
.inpbox .text {
background: none;
box-sizing: border-box;
color: #a9a9a9;
display: block;
font-size: 36rpx;
line-height: 82rpx;
padding: 0 30rpx;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}
.inpbox .notempty,.notempty {
color: #5088eb;
}
.bg_t {
background: url(http://api.xzw.com/static/image/xcx/qq/bg_t.png) no-repeat 0 0;
background-size: 100% 447rpx;
height: 447rpx;
position: fixed;
top: 0;
}
.bg,.bg_t {
width: 100%;
}
.bg {
background-attachment: fixed;
background-size: cover;
height: 100%;
}
.b_cloud {
background-size: 100% 130rpx;
bottom: 0;
height: 130rpx;
left: 0;
position: fixed;
width: 100%;
}
.mainbox {
background: rgba(0,0,0,.15);
border-radius: 25rpx;
margin-top: 10rpx;
padding: 20rpx;
}
.star1,.star1 .star_on {
background: url(https://m.xzw.com/static/public/images/icon_star_sx.png) repeat 0 0;
background-size: 60rpx 120rpx;
height: 60rpx;
}
.star1 {
width: 300rpx;
}
.star1 .star_on {
background-position: 0 -60rpx;
}
.star2,.star2 .star_on {
background: url(https://m.xzw.com/static/public/images/icon_star_ap.png) repeat-x 0 0;
background-size: 35rpx 70rpx;
height: 35rpx;
}
.star2 {
width: 175rpx;
}
.star2 .star_on {
background-position: 0 -35rpx;
}
.layer {
background: rgba(0,0,0,.6);
height: 100%;
left: 0;
top: 0;
z-index: 99;
}
.float_box,.layer {
position: fixed;
width: 100%;
}
.float_box {
bottom: -100%;
z-index: 9999;
}
.float_box .f_title {
height: 80rpx;
}
.float_box .f_title .f_titleimg {
height: 80rpx;
width: 100%;
}
.float_box .f_main {
background: #fff;
position: relative;
}
.float_box .f_main .f_ul {
padding: 20rpx 20rpx 0;
}
.float_box .f_main .f_ul .f_li {
float: left;
margin-bottom: 30rpx;
text-align: center;
width: 25%;
}
.float_box .f_main .f_ul .f_li .f_libg {
background: #f3f3ff;
border-radius: 140rpx;
display: block;
height: 110rpx;
margin: 0 auto 5rpx;
padding: 10rpx;
width: 110rpx;
}
.float_box .f_main .f_ul .f_li .f_libg .f_liimg {
height: 110rpx;
width: 110rpx;
}
.float_box .f_main .f_ul .f_li .f_litxt {
color: #888;
font-size: 28rpx;
}
.float_box .f_main .ico {
height: 52rpx;
padding: 10rpx;
position: absolute;
top: -50rpx;
width: 52rpx;
}
.float_box .f_main .ico_no {
left: 10rpx;
}
.float_box .f_main .ico_yes {
right: 10rpx;
}
.float_box .f_main .ico_img {
height: 52rpx;
width: 52rpx;
}
.float_box .f_main .pair_con {
float: left;
overflow-x: hidden;
padding: 10rpx 0;
position: relative;
width: 180rpx;
}
.float_box .f_main .pair_con .swiper-wrapper {
box-sizing: border-box;
height: 600rpx;
padding: 0 12rpx;
width: 204rpx;
}
.float_box .f_main .pair_con .swiper-slide {
height: 180rpx;
padding: 16rpx 0;
text-align: center;
transition: .4s;
width: 180rpx;
}
.float_box .f_main .pair_con .swiper-slide .pair_conbg {
background: #eee;
border-radius: 130rpx;
display: inline-block;
height: 100rpx;
padding: 15rpx;
width: 100rpx;
}
.float_box .f_main .pair_con .swiper-slide .pair_conbg .pair_conimg {
height: 100rpx;
opacity: .5;
width: 100rpx;
}
.float_box .f_main .pair_con .swiper-slide .pair_context {
color: #999;
display: block;
font-size: 28rpx;
margin-top: 10rpx;
}
.float_box .f_main .pair_con .swiper-slide-active {
transform: scale(1.2);
}
.float_box .f_main .pair_con .swiper-slide-active .pair_conbg .pair_conimg {
opacity: 1;
}
.float_box .f_main .male_con .swiper-slide-active .pair_conbg {
background: #e2eaff;
}
.float_box .f_main .female_con .swiper-slide-active .pair_conbg {
background: #ffe9e9;
}
.float_box .f_main .male_con .swiper-slide-active .pair_context {
color: #6d96f0;
}
.float_box .f_main .female_con .swiper-slide-active .pair_context {
color: #f65170;
}
.float_box .f_main .pair_female,.float_box .f_main .pair_male {
color: #aaa;
font-size: 32rpx;
margin-top: 270rpx;
padding: 0 18rpx;
}
.float_box .f_main .pair_male {
float: left;
}
.float_box .f_main .pair_female {
float: right;
}
.float_box .f_main .pair_line {
float: left;
margin: 260rpx 20rpx;
}
.float_box .f_main .pair_line .pair_lineimg {
height: 72rpx;
width: 150rpx;
}
.tip_box {
border-radius: 14rpx;
box-shadow: 0 2px 8px rgba(0,0,0,.3);
height: 238rpx;
left: 50%;
margin: -119rpx 0 0 -205rpx;
text-align: center;
top: 50%;
width: 410rpx;
}
.tip_box .ico_tip {
display: block;
height: 90rpx;
margin: 0 auto 30rpx;
width: 90rpx;
}
.tip_box .text_tip {
color: #555;
display: block;
font-size: 34rpx;
}
.slidedown {
bottom: -100%;
}
.slideup {
bottom: 0;
}
@-webkit-keyframes slidedown {
from {
bottom: 0;
}
to {
bottom: -100%;
}
}
@keyframes slidedown {
from {
bottom: 0;
}
to {
bottom: -100%;
}
}
@-webkit-keyframes slideup {
from {
bottom: -100%;
}
to {
bottom: 0;
}
}
@keyframes slideup {
from {
bottom: -100%;
}
to {
bottom: 0;
}
}
.bg {
background: url(http://api.xzw.com/static/image/xcx/qq/bg5.png) no-repeat 0 0;
background-size: 100% 346rpx;
width: 100%;
}
.b_cloud {
background-image: url(http://api.xzw.com/static/image/xcx/qq/bg5_cloud.png);
}
.pair {
padding-top: 100rpx;
position: relative;
z-index: 1;
}
.pair .pair_title {
text-align: center;
}
.pair .pair_title .pair_timg {
height: 120rpx;
width: 340rpx;
}
.pair .pair_ul {
margin-top: 100rpx;
}
.pair .pair_ul .pair_li {
float: left;
margin: 0 75rpx;
width: 222rpx;
}
.pair .pair_ul .pair1 .pair_bg {
background: url(http://api.xzw.com/static/image/xcx/qq/pair_boy.png) no-repeat 0 0;
}
.pair .pair_ul .pair2 .pair_bg {
background: url(http://api.xzw.com/static/image/xcx/qq/pair_girl.png) no-repeat 0 0;
}
.pair .pair_ul .pair_li .pair_bg {
background-size: 226rpx;
box-sizing: border-box;
height: 226rpx;
padding: 10rpx;
width: 226rpx;
}
.pair .pair_ul .pair_li .pair_bg .pair_img {
height: 206rpx;
width: 206rpx;
}
.pair .pair_ul .pair_li .pair_text {
border-radius: 56rpx;
color: #fff;
font-size: 32rpx;
height: 56rpx;
line-height: 56rpx;
margin: 12rpx auto 0;
padding: 0 10rpx;
text-align: center;
width: 160rpx;
}
.pair .pair_ul .pair1 .pair_text {
background: linear-gradient(-5deg,#74a3ef,#8ec9fa);
box-shadow: 0 2px 10px rgba(44,93,174,.3);
}
.pair .pair_ul .pair2 .pair_text {
background: linear-gradient(-5deg,#f56d7d,#ff92b3);
box-shadow: 0 2px 10px rgba(174,44,44,.3);
}
.pair .pair_ul .pair_li .pair_text .ico_arrow {
border: 15rpx solid transparent;
border-top-color: #fff;
float: right;
margin: 22rpx 10rpx 0 0;
}
.pair .pair_btn {
background: -webkit-gradient(linear,72% 100%,68% 0,from(#f95d77),to(#ff81ad));
border-radius: 82rpx;
box-shadow: 0 2px 6px rgba(213,27,58,.25);
color: #fff;
font-size: 36rpx;
height: 82rpx;
line-height: 82rpx;
margin: 120rpx auto 0;
text-align: center;
width: 360rpx;
}
.pair .pairtop {
border-radius: 62rpx;
box-shadow: 0 2px 6px rgba(44,93,174,.3);
display: block;
margin: 50rpx auto 0;
}
.pair .pairtop,.pair .pairtop image {
height: 124rpx;
width: 356rpx;
}
.b_bg {
background: linear-gradient(0,#fec2d6,#fff);
bottom: 0;
height: 200px;
position: fixed;
width: 100%;
}
.float_box .f_main {
padding-top: 50rpx;
}
.float_box .f_main .pair_con swiper {
height: 1800rpx;
}
.float_box .f_main .pair_con swiper-item {
height: 180rpx;
}
::-webkit-scrollbar {
color: transparent;
height: 0;
width: 0;
}
@media screen and (min-height:700px) {
.pair {
padding-top: 150rpx;
}
.pair .pair_ul {
margin-top: 120rpx;
}
.pair .pair_btn {
margin: 136rpx auto 0;
}
}