ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 加载时初始化 ~~~ 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(''); } ~~~