<template>
|
<div class="screen-page2">
|
<div class="test-size" :style="{width:$config.base.screen.testWidth+'px',height:$config.base.screen.testHeight+'px'}">
|
<p>改变config.js中的testWidth和testHeight的值,</p>
|
<p>刷新页面并全屏,</p>
|
<p>观察屏幕显示,</p>
|
<p>当没有白色部分,</p>
|
<p>但能看到右边和下边的红色边看,</p>
|
<p>表示testWidth和testHeight的值合适!</p>
|
</div>
|
</div>
|
</template>
|
|
<script>
|
export default {
|
name:'screenPage2'
|
}
|
</script>
|
|
<style lang="scss" scoped>
|
.screen-page2{
|
height: 100%;
|
width: 100%;
|
background-color: #f2f2f2;
|
.test-size{
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
background-color: #333333;
|
flex-direction: column;
|
color: #f2f2f2;
|
font-size: 20px;
|
line-height: 25px;
|
box-sizing: border-box;
|
border-style: solid;
|
border-color: red;
|
border-width: 0 2px 2px 0;
|
}
|
}
|
</style>
|