Authored by 张丽霞

浏览量超百万处理,review by redding

... ... @@ -34,7 +34,11 @@ export default class ProductListCell extends Component {
if (browse>10000) {
browse = browse/10000.0;
browse = Math.round(browse*10)/10;
if (browse >= 100) {
browse = Math.round(browse);
} else {
browse = Math.round(browse*10)/10;
}
show10K = true;
}
src = src.replace('{width}', rowWidth*2).replace('{height}',Math.ceil(214*width/750)*2).replace('{mode}',2);
... ...