修改字体
This commit is contained in:
parent
4125873ada
commit
c3159cf7d4
|
|
@ -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',
|
||||||
|
|
|
||||||
|
|
@ -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, // 完成率
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue