4960f1d2 by renchao@pashanhoo.com

style:预览

1 parent 4e002d60
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-22 17:12:09 4 * @LastEditTime: 2024-01-23 10:59:37
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
......
...@@ -677,18 +677,18 @@ ...@@ -677,18 +677,18 @@
677 arr.push(currentLine); 677 arr.push(currentLine);
678 if (i > 0) { 678 if (i > 0) {
679 arr.forEach((line, index) => { 679 arr.forEach((line, index) => {
680 context.fillText(line, 770, 610 + (25 * (i - 1)) + 5 * num + (index * 22)); // 调整行高 680 context.fillText(line, 770, 605 + (24 * (i - 1)) + 5 * num + (index * 17)); // 调整行高
681 }) 681 })
682 } else { 682 } else {
683 arr.forEach((line, index) => { 683 arr.forEach((line, index) => {
684 context.fillText(line, 770, 610 + (25 * (i - 1)) + (index * 22)); // 调整行高 684 context.fillText(line, 770, 605 + (24 * (i - 1)) + (index * 17)); // 调整行高
685 }) 685 })
686 } 686 }
687 } else { 687 } else {
688 if (i > 0) { 688 if (i > 0) {
689 context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + 5 * num + (24 * (i - 1))); 689 context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + 6 * num + (25 * (i - 1)));
690 } else { 690 } else {
691 context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + (24 * (i - 1))); 691 context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + (25 * (i - 1)));
692 } 692 }
693 } 693 }
694 } 694 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-18 11:25:39 4 * @LastEditTime: 2024-01-23 11:07:58
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;"> 7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;">
...@@ -606,18 +606,18 @@ ...@@ -606,18 +606,18 @@
606 arr.push(currentLine); 606 arr.push(currentLine);
607 if (i > 0) { 607 if (i > 0) {
608 arr.forEach((line, index) => { 608 arr.forEach((line, index) => {
609 context.fillText(line, 770, 610 + (25 * (i - 1)) + 5 * num + (index * 22)); // 调整行高 609 context.fillText(line, 770, 605 + (24 * (i - 1)) + 5 * num + (index * 17)); // 调整行高
610 }) 610 })
611 } else { 611 } else {
612 arr.forEach((line, index) => { 612 arr.forEach((line, index) => {
613 context.fillText(line, 770, 610 + (25 * (i - 1)) + (index * 22)); // 调整行高 613 context.fillText(line, 770, 605 + (24 * (i - 1)) + (index * 17)); // 调整行高
614 }) 614 })
615 } 615 }
616 } else { 616 } else {
617 if (i > 0) { 617 if (i > 0) {
618 context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + 5 * num + (24 * (i - 1))); 618 context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + 6 * num + (25 * (i - 1)));
619 } else { 619 } else {
620 context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + (24 * (i - 1))); 620 context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + (25 * (i - 1)));
621 } 621 }
622 } 622 }
623 } 623 }
......