body{
    background:#f5f5f5;
}

.block1{
    padding:10px;
}

/* 横幅 */
.adSlider{
	position: relative;
	overflow: hidden;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}
.adSlider a{
    display: block;
}
.adSlider .img{
	display:block;
	margin:0 auto;
    width: 100%;
}
.adSlider-pagination-center{
	text-align:center;
	position: absolute;
    bottom: 8px;
	width:100%;
	z-index:10;
}
.adSlider-pagination .swiper-pagination-bullet {
    border-radius: 0;
    opacity: 1;
    margin: 0 5px;
	height: 10px;
    width:10px;
	border-radius:10px;
    background-color: #000;
    opacity: 0.3;
	-webkit-transition: all .3s;-moz-transition: all .3s;-o-transition: all .3s;transition: all .3s;
}
.adSlider-pagination .swiper-pagination-bullet-active{
    opacity:0.9;
}

.block2{
    background-color: #fff;
    margin:0 10px 10px 10px;
    border-radius: 5px;
    padding:15px;
}
.block2 .site{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
.block2 .site .logo{
    margin-right: 10px;
}
.block2 .site .logo img{
    height: 40px;
}
.block2 .site .name{
    font-size:16px;
}
.block2 .btns{
    display: flex;
    justify-content: center;
    justify-items: center;
}
.block2 .btns .btn{
    background-color: #1eae53;
    color:#fff;
    margin:0 10px;
    padding:5px 15px;
    border-radius: 30px;
}
.block2 .btns .btn .iconfont{
    margin-right: 3px;
}
.block2 .wxImg{
    margin-top:10px;
}
.block2 .wxImg .title{
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.block2 .wxImg .title .text{
    font-size:14px;
    color:#666;
    padding-right: 7px;
}
.block2 .wxImg .title .line{
    flex: 1;
    border-bottom:1px dashed #ccc;
}
.block2 .wxImg .list{
    display: flex;
    flex-wrap: wrap;
    margin:0 -2px;
}
.block2 .wxImg .list .item{
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin:2px;
    overflow: hidden;
    border:1px solid #eee;
    border-radius: 5px;
}
.block2 .wxImg .list .item img{
    display: block;
    width:100%;
}



/* 块头部 */
.block_header {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    margin:0 10px;
    background-color: #fff;
    border-radius: 5px;
}

.block_header .title {
    position: relative;
    font-size: 16px;
    font-weight: bold;
    color: #4d4d4d;
}

.block_header .title .text {
    position: relative;
    z-index: 2;
}

.block_header .title .decoration {
    position: absolute;
    left: 0;
    bottom: -2px;
    z-index: 1;
    width: 100%;
    height: 10px;
    border-radius: 30px;
    background-color: #dcf4ee;
}

.block_header .more {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
}

.block_header .more .iconfont {
    font-size: 12px;
}

/* 产品推荐 */
.goods .content{
    padding:5px;
    display: flex;
    flex-wrap: wrap;
}
.goods .content .item{
    width:50%;
}
.goods .content .item:active{
    background-color: #f5f5f5;
}

/* 纱线卡片 */
.yarn{
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    overflow: hidden;
    margin:5px;
    background-color: #fff;
}
.yarn .img{
    margin-bottom: 5px;
}
.yarn .img img{
    display: block;
    width:100%;
}
.yarn .title{
    text-align: center;
    font-weight: 700;
}
.yarn .zs{
    text-align: center;
    font-size: 12px;
    word-break:break-all;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin:4px;
}
.yarn .cf{
    border-top:1px dashed #e5e5e5;
    text-align: center;
    color: #666;
    font-size: 12px;
     word-break:break-all;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin:4px;
    padding-top:4px;
    box-sizing: border-box;
}

.hit{
    text-align: center;
    padding:5px 15px 15px 15px;
    opacity: 0.7;
}