ke_junjie
2025-06-04 84620534eb627e95811b971a4b552b6a177829bf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<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>