改太多
This commit is contained in:
1 parent
be5352efed
commit
1cb2a7a35e
48 files changed
+17970
-485
No files matched your search
@@ -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 + ";";
|
||||
|
||||
//字少時, 加空間
|
||||
|
||||
Reference in new issue
Block a user