jiemeng/pages/fortune_sx/index.wxss

417 lines
6.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-attachment: scroll;
background-image: url(http://api.xzw.com/static/image/xcx/qq/bg4.jpg);
position: fixed;
}
.b_cloud {
background-image: url(http://api.xzw.com/static/image/xcx/qq/bg4_cloud.png);
}
.fortune {
padding: 0 20rpx;
position: relative;
}
.fortune .li {
display: inline-block;
margin: 60rpx 33rpx 0;
text-align: center;
width: 170rpx;
}
.fortune .li .li_bg {
background: url(https://m.xzw.com/static/public/images/pao.png) no-repeat 0 0;
background-size: 170rpx;
box-sizing: border-box;
height: 170rpx;
margin-bottom: 10rpx;
padding: 20rpx;
width: 170rpx;
}
.fortune .li .li_img {
height: 130rpx;
width: 130rpx;
}
.fortune .li .name {
color: #fff;
font-size: 30rpx;
}
@media screen and (min-height:700px) {
.fortune .li {
margin: 100rpx 32rpx 0;
}
}