spell-list.wxss 7.5 KB
/* pages/spell-list/spell-list.wxss */
@import "../../templates/templates.wxss";
@import "../../pages/css/modal.wxss";


@keyframes content_box {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.no-data {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 200rpx;
    font-size: 28rpx;
    color: #cccccc;
}
.fix-box {
  width:100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background: #fff;
}
.position {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20rpx;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1rpx solid #f2f2f2;
}
.position .left {
    display: flex;
    align-items: center;
}
.position .left .icon-location {
    font-size: 44rpx;
    color: #000000;
    margin-right: 14rpx;
}
.position .left .icon-arrow-down {
    font-size: 36rpx;
    color: #000000;
    margin-left: 18rpx;
}
.position text {
    color: #000000;
    font-size: 28rpx;
}
.position .right {
    width: 70%;
    height: 52rpx;
    position: relative;
    background-color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10rpx;
    padding: 0 20rpx;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.position .right image {
    width: 34rpx;
    height: 34rpx;
    position: absolute;
    right: 36rpx;
    top: 8rpx;
}
.position .input {
    width: 100%;
    height: 54rpx;
    color: #000000;
    padding-left: 20rpx;
    font-size: 28rpx;
    border: 1rpx solid #e5e5e5;
    border-radius: 26rpx;
}
.tab_box {
    padding: 0 100rpx;
    height: 90rpx;
    line-height: 90rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 20rpx solid #f5f5f5;
    overflow: hidden;
    white-space: nowrap;
    flex-wrap: nowrap;
}
.tab_item {
    display: inline-block;
    width: 160rpx;
    font-size: 32rpx;
    color: #0E050A;
    position: relative;
    text-align: center;
    /* border: 1rpx solid red; */
}
.active {
    color: #0E050A;
}

.tab_box .active::after {
    content: "";
    /*border: 2rpx solid #DB4E2A;*/
    position: absolute;
    bottom: 0rpx;
    left: 50%;
    transform: translateX(-50%);
    width: 120rpx;
    height: 4rpx;
    background: #DB4E2A;
}
.sort-select-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24rpx 20rpx;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.sort-box, .select-box {
    display: flex;
    align-items: center;
}
.sort-btn {
    color: #333333;
    font-size: 24rpx;
    margin-right: 10rpx;
}
.select-btn {
    color: #666666;
    font-size: 24rpx;
    margin-right: 10rpx;
}
.sort-select-box .icon-arrow-down {
    font-size: 30rpx;
    color: #666666;
}
.rent_mask {
    width: 100%;
    height: 100%;
    background: RGBA(0, 0, 0, 0.2);
    position: fixed;
    top: 282rpx;
    left: 0;
    z-index: 10;
    overflow: hidden;
}

.rent_popup {
    background: #fafafa;
    padding: 0 30rpx;
}
.time-box {
    padding: 20rpx 30rpx;
}
.rent_item {
    width: 100%;
    height: 73rpx;
    border-bottom: 1rpx solid #ebebeb;
    font-size: 30rpx;
    color: #b3b3b3;
    text-align: center;
    line-height: 73rpx;
}

.rent_item.active {
    color: #DB4E2A;
}

.rent_item:last-child {
    border-bottom: 0;
}
.picker-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20rpx 0;
}
.picker-box picker {
    width: 50%;
    height: 50rpx;
    line-height: 50rpx;
    border: 1rpx solid #e5e5e5;
    border-radius: 40rpx;
}
.time-select-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.select-picker {
    width: 90%;
    text-align: center;
}
.select-picker .picker {
    color: #666666;
    font-size: 28rpx;
}
.time-box .title {
    font-size: 30rpx;
    color: #333333;
}
.time-select-box .arrow {
    margin-right: 20rpx;
}
.time-box .type {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10rpx 0;
}
.time-box .type text {
    color: #666666;
    font-size: 28rpx;
    padding: 10rpx 10rpx;
}
.time-box .type .change-color{
    color: #DB4E2A;
}
.content_box {
    background: #fff;
    animation: content_box 1s both;
    margin-top: 284rpx;
    padding: 10rpx 20rpx 120rpx 20rpx;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.content_item {
    padding: 16rpx;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    box-shadow: 2rpx 8rpx 38rpx rgba(89, 89, 89, 0.14);
    border-radius: 8rpx;
    margin-bottom:22rpx;
}
.content_item  image {
    width: 100%;
    height: 340rpx;
}
.content_item .title, .content_item .user {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.content_item .user {
    justify-content: flex-start;
    margin-top: 10rpx;
}
.content_item .title .area {
    flex:1;
    color: #333333;
    font-size: 24rpx;
}
.content_item .title .num {
    color: #666666;
    font-size: 22rpx;
}
.content_item .user image {
    width: 40rpx;
    height: 40rpx;
    border-radius: 50%;
    margin-right: 10rpx;
}
.content_item .user text {
    color: #666666;
    font-size: 22rpx;
}
/*弹框样式*/
.modal_box {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background: rgba(0,0,0,0.3);
}
.input-box {
    width: 80%;
    /* height: 1100rpx; */
    background: #ffffff;
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index:999;
    position: fixed;
    top: 48%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 46rpx 78rpx;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 40rpx;
}
.input-box image {
    width: 110rpx;
    height: 110rpx;
    border-radius: 50%;
    margin-bottom: 34rpx;
}
.input-box .title {
    color: #333333;
    font-size: 36rpx;
    margin-bottom: 16rpx;
}
.input-box .tips {
    color: #333333;
    font-size: 24rpx;
    margin-bottom: 26rpx;
}
.input-box .answer-btn {
    width: 100%;
    height: 66rpx;
    background-color: #323232;
    border-radius: 6rpx;
    color: #E2C8B1;
    font-size: 30rpx;
    text-align: center;
    line-height: 66rpx;
    margin-top: 16rpx;
}
.score-box {
    height:696rpx;
    /* top:68%; */
    background-image: url('http://qiniuyun.wmatchrd.com/dsdfhgfhfdh@2x.png');
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    background-size: 100%;
    background-color: transparent;
    border-radius: 0;
    /* top:29%; */
}
.score-box .gold-img {
    width: 212rpx;
    height: 212rpx;
    margin-top: -56rpx;
    margin-bottom: 0;
}
.share-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.share-box .close, .share-box .share {
    width: 200rpx;
    height: 66rpx;
    margin-top: 0;
}
.share-box .close {
    margin-right: 20rpx;
}
.share-box .share {
    padding: 0;
}
.share-box .share::after {
    border:0;
}
.score-box .share-text {
    margin: 56rpx 0 26rpx 0;
}
.score-box .text {
    margin-bottom: 10rpx;
    font-size: 36rpx;
    color:#343434;
}
.score-box .img {
    width: 106rpx;
    height: 106rpx;
}
.margin {
    margin-top: 30rpx;
}
.normal-box {
    height: 540rpx;
    background-image: url('http://qiniuyun.wmatchrd.com/safsfdsghk@2x.png');
}
.normal-box .close-btn {
    margin-top: 52rpx;
}