.clearfix { zoom: 1; display: block; &:before { display: table; content: " "; } &:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } } a:link, a:visited { color: #333333; text-decoration: none; } .sld_look_log { float: left; margin-left: 10px; width: 957px; .log_banner { position: relative; } .log_option { position: absolute; right: 30px; top: 11px; padding: 5px 15px 5px; background-color: #fff; border: 1px solid #cccccc; border-radius: 5px; cursor: pointer; &:hover { background-color: $colorMain; border: 1px solid $colorMain; color: #fff; } } .breadcrumb span { margin: 0 3px; //font-family: "微软雅黑"; } .breadcrumb { //font-family: "MicroSoft yahei"; width: 1007px; background-color: #f7f7f7; height: 28px; padding: 0 0 0 11px; margin-top: 10px; margin-bottom: 10px; overflow: hidden; line-height: 28px; vertical-align: baseline; a { text-decoration: none; color: #666; font-size: 14px; } span { margin: 0 3px; font-family: "\5b8b\4f53"; } } .sld_footprint { //font-family: "微软雅黑"; overflow: hidden; padding: 0 17px 0 0; background-color: #fff; border: 1px solid #eeeeee; & > ul { padding-top: 23px; padding-bottom: 150px; margin-top: 0; } .sld_foot_goods { margin-top: 15px; li { float: left; width: 24.5%; border: 1px solid #e5e5e5; margin: 0 0.5% 23px 0; .img { position: relative; width: 100%; height: 240px; border-bottom: 1px solid #e5e5e5; display: flex; align-items: center; justify-content: center; overflow: hidden; img { width: 100%; height: 100%; } /* 遮罩层 */ .mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(153, 153, 153, 0.6); /* 灰色透明遮罩 */ display: flex; justify-content: center; align-items: center; z-index: 1; } /* 白色圆圈 */ .circle { background-color: white; width: 100px; height: 100px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 15px; color: black; text-align: center; } } .sld_foot_price { line-height: 20px; padding: 0 7px; .fl { font-size: 14px; color: $colorMain2; } .fr { float: left; font-size: 12px; color: #333333; width: 100%; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; /* 限制2行 */ overflow: hidden; text-overflow: ellipsis; padding: 5px 0; &:hover { color: $colorMain2; } } } } } } } .block { margin-top: 25px; margin-left: 25px; } .el-pager li.active { color: $colorMain; cursor: default; } .el-pager li:hover { color: $colorMain; } .el-button--primary { color: #fff; background-color: $colorMain; border-color: $colorMain; } .el-button:hover { background-color: $colorMain; border-color: $colorMain; color: #fff; }