改太多

This commit is contained in:
minom committed 2026-10-30 17:47:01 +08:00
1 parent be5352efed
commit 1cb2a7a35e
48 files changed
+17970 -485

No files matched your search

+8 -3
View File
@@ -29,15 +29,20 @@ function init_print() {
}
//console.log(n,t,t.trim().length);
});
//console.log(i, $(this).html(),$(this).text());
//console.log(i, txt==htm);
//console.log(i, txt_arr, line, line_len);
console.log(i, $(this).html(),$(this).text());
console.log(i, txt==htm);
console.log(i, txt_arr, line, line_len);
line_len = Math.ceil(line_len / 3) * 3;
//if(line>1){
css = $(this).attr("style")||"";
if(css.length>0){
css += ";";
}
if (line_len > 20) {
line = Math.ceil( line_len / 20);
line_len = 20;
}
css += "--lines:" + line + ";--line_len:" + line_len + ";";
//字少時, 加空間