修改字体

This commit is contained in:
ljx 2025-03-21 16:05:18 +08:00
parent 4125873ada
commit c3159cf7d4
3 changed files with 26 additions and 9 deletions

View File

@ -5,8 +5,8 @@
</template> </template>
<script> <script>
//import datav from './components/baozuo-demo/index.vue' import datav from './components/baozuo-demo/index.vue'
import datav from './components/datav/index.vue' // import datav from './components/datav/index.vue'
export default { export default {
name: 'app', name: 'app',

View File

@ -99,7 +99,11 @@ export default {
// eslint-disable-next-line no-const-assign // eslint-disable-next-line no-const-assign
newDataItem = [ newDataItem = [
`PS-${formattedDate2}${String(i).padStart(3, '0')}`, // `PS-${formattedDate2}${String(i).padStart(3, '0')}`, //
title, // `
<div style="font-weight:bold;font-size:35px;">
${title}
</div>
`, // 固定值
formattedDate, // formattedDate, //
orderQuantity, // orderQuantity, //
completionRate, // completionRate, //
@ -118,7 +122,11 @@ export default {
// eslint-disable-next-line no-const-assign // eslint-disable-next-line no-const-assign
newDataItem = [ newDataItem = [
`PS-${formattedDate2}${String(i).padStart(3, '0')}`, // `PS-${formattedDate2}${String(i).padStart(3, '0')}`, //
title, // `
<div style="font-weight:bold;font-size:35px;">
${title}
</div>
`, // 固定值
formattedDate, // formattedDate, //
orderQuantity, // orderQuantity, //
completionRate, // completionRate, //
@ -128,9 +136,14 @@ export default {
completedQuantity // completedQuantity //
]; ];
}else if(title === 'U1机芯2'){ }else if(title === 'U1机芯2'){
// eslint-disable-next-line no-const-assign
newDataItem = [ newDataItem = [
`PS-${formattedDate2}${String(i).padStart(3, '0')}`, // `PS-${formattedDate2}${String(i).padStart(3, '0')}`, //
title, // `
<div style="font-weight:bold;font-size:35px;">
${title}
</div>
`, // 固定值
formattedDate, // formattedDate, //
orderQuantity, // orderQuantity, //
completionRate, // completionRate, //
@ -145,7 +158,11 @@ export default {
// eslint-disable-next-line no-const-assign // eslint-disable-next-line no-const-assign
newDataItem = [ newDataItem = [
`PS-${formattedDate2}${String(i).padStart(3, '0')}`, // `PS-${formattedDate2}${String(i).padStart(3, '0')}`, //
title, // `
<div style="font-weight:bold;font-size:35px;">
${title}
</div>
`, // 固定值
formattedDate, // formattedDate, //
orderQuantity, // orderQuantity, //
completionRate, // completionRate, //

View File

@ -72,9 +72,9 @@ export default {
this.dataType = ''; // '1' this.dataType = ''; // '1'
} }
// setInterval(() => { setInterval(() => {
// this.switchType = this.switchType == 1 ? 2 : 1 this.switchType = this.switchType == 1 ? 2 : 1
// }, 15000); // 10000 = 10 }, 15000); // 10000 = 10
}, },
data() { data() {
return { return {