隐藏滚动条
::-webkit-scrollbar{
width: 0;
height: 0;
color: transparent;
}
文字超出隐藏
overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
打乱数字
var arr = [4, 1, 67, 12, 45, 121, 3];
this.data.list.sort(function () {
return (0.5 - Math.random());
});
console.log(arr)