样式调整

This commit is contained in:
huangge1199 2024-05-20 15:07:50 +08:00
parent 0102fe6a59
commit 57f7d89817
6 changed files with 22 additions and 12 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@ -4,7 +4,7 @@
<img src="@/assets/img/logo.png" width="50px" height="50px" /> <img src="@/assets/img/logo.png" width="50px" height="50px" />
</div> </div>
<div class="header-text"> <div class="header-text">
<h3>津港科技</h3> <h3>启航云汇科技</h3>
<h4>为您在线解答售前售后服务</h4> <h4>为您在线解答售前售后服务</h4>
</div> </div>
</div> </div>

View File

@ -46,14 +46,26 @@ import Right from '@/views/RightView.vue'
background-color: #e9e9e9; background-color: #e9e9e9;
height: calc(100% - 70px); height: calc(100% - 70px);
} }
.main {
width: calc(70% - 1px);
}
.aside {
width: calc(30% - 1px);
}
:deep(.el-main) { :deep(.el-main) {
padding: 0; padding: 0;
} }
@media screen and (min-width: 600px) {
.main {
width: calc(70% - 1px);
}
.aside {
width: calc(30% - 1px);
}
}
@media screen and (max-width: 599px) {
.main {
width: 100%;
}
.aside {
display: none;
}
}
</style> </style>

View File

@ -53,7 +53,7 @@
</el-tabs> </el-tabs>
</div> </div>
<div class="right-slider-img"> <div class="right-slider-img">
<img src="@/assets/img/about.png" /> <img src="@/assets/img/about.png"/>
</div> </div>
</div> </div>
</template> </template>
@ -152,8 +152,6 @@ const { activeName, hots } = toRefs(data)
.right-slider-img img { .right-slider-img img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover;
object-position: center;
} }
:deep(.el-tabs) { :deep(.el-tabs) {

View File

@ -23,14 +23,14 @@ export default defineConfig(({ mode, command }) => {
host: true, host: true,
proxy: { proxy: {
'/api': { '/api': {
// target: 'http://117.62.238.129:10050', // target: 'http://192.168.50.101:10050',
target: 'http://192.168.50.101:10050', target: 'http://192.168.50.101:10050',
// target: 'http://10.70.132.177:11002', // target: 'http://10.70.132.177:11002',
ws: false, ws: false,
changeOrigin: true changeOrigin: true
}, },
'/poll': { '/poll': {
// target: 'http://117.62.238.129:6066', // target: 'http://192.168.50.101:6066',
target: 'http://192.168.50.101:6066', target: 'http://192.168.50.101:6066',
// target: 'http://10.70.132.177:11002', // target: 'http://10.70.132.177:11002',
pathRewrite: { '^/poll': '' }, pathRewrite: { '^/poll': '' },