合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
# 加载时初始化 ~~~ var para = []; para.push({'id':'box0','down_back':'down0','up_back':'up0','down_auto':0}); para.push({'id':'box1','down_back':'down1','up_back':'up1','down_auto':0}); para.push({'id':'box2','down_back':'down2','up_back':'up2','down_auto':0}); ref(para); ~~~ # 多个列表内容函数 ~~~ function list_template0(o){ var html = []; var list = o.list; for(var i in list){ for(var j in list[i]){ eval(j + ' = list[i].' + j + ';'); } html.push(''); } return html.join(''); } function list_template1(o){ var html = []; var list = o.list; for(var i in list){ for(var j in list[i]){ eval(j + ' = list[i].' + j + ';'); } html.push(''); } return html.join(''); } function list_template2(o){ var html = []; var list = o.list; for(var i in list){ for(var j in list[i]){ eval(j + ' = list[i].' + j + ';'); } html.push(''); } return html.join(''); } ~~~