手机浏览器扫描二维码访问
}
从大到小排序
functionbigtosmall(){
allarr.sort(function(a,b){returnb.name-a.name});
appenddom()
}
取出所有li的data-num属性放进数组
getdom()
functiongetdom(){
$(#catalogulli).each(function(m){
domarr[m]=$(this).attr("data-num");
htmlarr[m]=$(this).html();
})
for(vari=0;i<domarr.length;i++){
varactivesubjectsobject={};
for(varj=0;j<htmlarr.length;j++){
if(i==j){
activesubjectsobject.name=domarr[i];
activesubjectsobject.value=htmlarr[j];
allarr.push(activesubjectsobject);
}
}
}
console.log(allarr.length)
}
铺数据
functionappenddom(){
$("#catalogul").html("")
for(i=0;i<allarr.length;i++){
$(#catalogul).append(
<lidata-num=${allarr[i].name}>${allarr[i].value}<li>
);
}
}
<script>
<body>
<html>
...
...
2008年,华尔街金融才俊郑凡,在金融危机的过程中破产,遭遇谋杀身亡。车祸之后,郑凡带着比别人多出十二年的经验回档1996年,面对上一世种种遗憾,恰逢这自家境况转折点,他下定决心要改变上一世的种种郁闷与悔恨,重新让家族振作,享受不一样的人生。华夏改革开放大潮波澜壮阔,伴随着市场经济的发展,作为有着丰富金融领域知识的郑凡,毅然选择在资本市场发展,从此以后,郑凡开始了走上了资本大鳄的财权之路。...
...
...
...