提交 dc7cabeb authored 作者: lhh's avatar lhh

update

上级 26f46413
...@@ -25,4 +25,14 @@ export default { name: 'AppHeader' } ...@@ -25,4 +25,14 @@ export default { name: 'AppHeader' }
background-color: #fff; background-color: #fff;
color: #fff; color: #fff;
} }
@media screen and (max-width: 767px) {
img {
width: 280px;
}
.app-header {
justify-content: center;
padding: 0;
height: 60px;
}
}
</style> </style>
...@@ -22,6 +22,11 @@ const activeIndex = ref(index) ...@@ -22,6 +22,11 @@ const activeIndex = ref(index)
function handleTabChange(index: number) { function handleTabChange(index: number) {
activeIndex.value = index activeIndex.value = index
} }
// const isMobile = function () {
// const userAgent = navigator.userAgent.toLowerCase()
// return /ipad|iphone|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile/.test(userAgent)
// }
</script> </script>
<template> <template>
<div class="home"> <div class="home">
...@@ -110,4 +115,20 @@ function handleTabChange(index: number) { ...@@ -110,4 +115,20 @@ function handleTabChange(index: number) {
} }
} }
} }
@media screen and (max-width: 767px) {
.home {
min-height: calc(100vh - 60px);
background: url(https://webapp-pub.oss-cn-beijing.aliyuncs.com/project_online/fdc/%20fdc_bg.png) no-repeat;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
}
.home_box{
width: 95%;
}
.home_box_line{
width: 99% !important;
}
}
</style> </style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论