fd-gulp-convert-encoding
Version:
convert file to assigned charset
238 lines (228 loc) • 4.16 kB
text/less
/**
* 评价
*/
.arrow(@w,@color,@top,@left){
width: 0;
height: 0;
border: @w solid transparent;
border-bottom-color: @color;
position: absolute;
top:@top;
left: @left;
}
.icon-star{
background: url('../imgs/star.png') no-repeat;
background-size: 100% auto;
width: rem(236);
height: rem(42);
display: inline-block;
vertical-align: text-bottom;
}
.icon-level(@pos:0 0){
background: url('../imgs/level.png') no-repeat;
background-size: 100%;
background-position: @pos;
width: rem(26);
height: rem(27);
display: inline-block;
margin:0 4px 0 10px;
}
.star(@w:0,@h:0){
background-position: @w @h;
}
.icon-star.star50{
.star(0,rem(-285));
}
.icon-star.star40{
.star(0,rem(-229));
}
.icon-star.star30{
.star(0,rem(-172));
}
.icon-star.star20{
.star(0,rem(-109));
}
.icon-star.star10{
.star(0,rem(-54));
}
.icon-star.star0{
.star(0,0);
}
.icon-star.star5{
.star(0,rem(-349));
}
.icon-star.star15{
.star(0,rem(-403));
}
.icon-star.star25{
.star(0,rem(-457));
}
.icon-star.star35{
.star(0,rem(-521));
}
.icon-star.star45{
.star(0,rem(-578));
}
.@{module}-offer-remark {
.default-padding();
.clearfix();
// max-width: 100%;
// min-height: 540px;
font-size: 1rem;
color: #444;
padding:0;
.satisfaction{
.baseinfo{
display: block;
margin: rem(32);
.round-rectangle(100);
.num{
color: #ff7300;
padding-right: 5px;
}
.icon-star{
}
}
.moreinfo{
display: none;
.hd{
padding: rem(32);
background-color: #fff;
}
.remark-detail{
.flexbox();
text-align: center;
background-color: #fff;
.star-level{
padding: 0 rem(32) rem(32);
.flex(2);
.level{
font-size: rem(128);
display: block;
color: #ff7300;
}
}
.description{
.flex(3);
padding-top: rem(16);
line-height: 2;
text-align: left;
.icon-up{
.icon-level(0 rem(-142));
}
.icon-down{
.icon-level();
}
.icon-average {
.icon-level(0 rem(-68));
}
}
}
.buyer-impression{
background-color: #f5f5f5;
border-top: 1px solid #d9d9d9;
padding:rem(50) 0;
dl{
.flexbox();
padding:rem(25);
dt{
.flex(1);
text-align: right;
}
dd{
.flex(3);
padding-top: 8px;
ul{
.flexbox();
li{
position: relative;
height:rem(16);
background-color: #d8a47d;
span.arrow{
.arrow(rem(6),#d8a47d,rem(-12),50%);
margin-left: rem(-6);
}
span.text{
position: absolute;
top: rem(-46);
left: 50%;
margin-left: rem(-36);
font-size: rem(24);
width: rem(180);
}
}
li.level-2{
background-color: #dcd3cc;
span.arrow{
border-bottom-color: #dcd3cc;
display: none;
}
span.text{
display: none;
}
}
li.level-3{
background-color: #ece2dd;
span.arrow{
border-bottom-color: #ece2dd;
display: none;
}
span.text{
display: none;
}
}
li:first-child{
border-top-left-radius: 5px ;
border-bottom-left-radius:5px
}
li:last-child{
border-top-right-radius:5px;
border-bottom-right-radius:5px;
}
}
}
}
}
}
}
.satisfaction.showmore{
.baseinfo{
display: none;
}
.moreinfo{
display: block;
}
}
.level-filter{
background-color: #fff;
border-top: 1px solid #d9d9d9;
padding:rem(32);
padding-bottom: 0;
ul{
.flexbox();
border: 1px solid #ccc;
background-color: #e6e6e6;
border-radius: 5px;
overflow: hidden;
text-align: center;
li{
.flex(2);
.flexbox();
.justify-content(center, center);
font-size: rem(28);
border-left: 1px solid #ccc;
padding:rem(12) 0;
margin-left: -1px;
line-height: 1;
color: #666;
}
:nth-child(1){
.flex(1);
}
.curr{
background-color:#999;
color:#fff;
}
}
}
}