_coupons.scss 2.97 KB
.my-coupon-page {
    .employ{
    	width: 100%;
    	height: 90rem / $pxConvertRem;

    	border-bottom:1px solid #e0e0e0;
    	position: relative;
    	span{
    		width: 49%;
    		height: 48rem / $pxConvertRem;
    		line-height: 48rem / $pxConvertRem;
    		overflow: hidden;
    		border-right: 2px solid #e0e0e0;
    		margin: 21rem / $pxConvertRem 0;
    		float: left;
    		text-align: center;
    		font-size: 48em / $pxConvertRem;
    		color: #b0b0b0;
    		&:last-of-type{
    			border:none;
    		}
    		&.active{
    			color: #444444;
    		}
    	}
    }
    .coupon-list{
    	width:100%;
    	height: auto;
    	overflow:hidden;
    	.employ-main{
            display: block;
    		width: 90.625%;
    		height: 180rem / $pxConvertRem;
    		overflow: hidden;
    		margin: 30rem / $pxConvertRem auto;
    		background-image: image-url('me/employ/employ.jpg');
    		background-position: top center;
    		background-repeat:no-repeat;
    		background-size: 100% 100%;
    		color: #fff;
    		position: relative;
            &.focus {
                background-image: image-url('me/employ/employ-red.jpg');
            }
    		span{
    			width: 34.482759%;
    			height: 100%;
    			float: left;
    			text-align: center;
    			line-height: 180rem / $pxConvertRem;
    			font-size: 50px;
    		}
    		p{
    			width: 61.517241%;
    			height: auto;
    			margin: 0 2% 16em / $pxConvertRem;
    			float: left;
    			&:first-of-type{
    				margin-top: 0.75rem;
    				font-size: 16px;
    				height: auto;
    				min-height: 42px;
    				display: -webkit-box;
        			-webkit-line-clamp: 2;
        			-webkit-box-orient: vertical;
        			overflow: hidden;
    			}
    		}
    		i{
    			width: 100%;
    			height: 100%;
    			overflow: hidden;
    			display: block;
    			position: absolute;
    			top: 0;
    			left: 0;
    			background: image-url('me/employ/employsy.png') right top no-repeat;
    			background-size:auto 100%;
    		}
    	}
    	.null{
    		width: 100%;
    		height:auto;
    		overflow: hidden;
    		position: absolute;
    		left: 0;
    		top:50%;
    		@include transform(translateY(-50%));
    		i{
    			width: 100%;
    			height: 120rem / $pxConvertRem;
    			overflow: hidden;
    			display: block;
    			background: image-url('me/employ/not.png') center top no-repeat;
    			background-size:auto 100%;
    		}
    		p{
    			width: 100%;
    			height: auto;
    			overflow: hidden;
    			padding:20rem / $pxConvertRem 0 0;
    			font-size: 48em / $pxConvertRem;
    			text-align: center;
    			color: #444;
    		}
    		a{
    			width: 73.75%;
    			height: 80rem / $pxConvertRem;
    			overflow: hidden;
    			font-size: 56em / $pxConvertRem;
    			line-height: 80rem / $pxConvertRem;
    			display: block;
    			background: #444444;
    			color: #fff;
    			text-align: center;
    			margin: 60rem / $pxConvertRem auto 0;
    			@include border-radius(.2rem);

    		}
    	}

    }
    .none{
    	display: none;
    }
}