feat: 修改边框样式, 移除vue-devtools

This commit is contained in:
Huangzhe
2025-05-24 15:19:42 +08:00
parent c4a91835de
commit 3917406d59
2 changed files with 14 additions and 17 deletions

View File

@@ -52,11 +52,23 @@ function handleCancelClick() {
position: relative; position: relative;
:deep(.van-search) { :deep(.van-search) {
padding: 0; padding: 0;
//margin: 0 10px;
border-radius: 0; border-radius: 0;
background-color: #fff; background-color: #fff;
} }
:deep(.van-search__content) {
background-color: #fff;
}
border-radius: 18px;
border: solid 1.5px var(--primary-color);
background-color: #fff;
display: grid;
grid-template-columns: 1fr 60px;
padding: 0 10px;
overflow: hidden;
.search { .search {
margin: 0 10px; margin: 0 10px;
cursor: pointer; cursor: pointer;
@@ -77,20 +89,5 @@ function handleCancelClick() {
pointer-events: none; // 确保不影响点击事件 pointer-events: none; // 确保不影响点击事件
} }
} }
:deep(.van-search__content) {
background-color: #fff;
}
border-radius: 18px;
border: solid 1px var(--primary-color);
background-color: #fff;
//width: 100vw;
display: grid;
grid-template-columns: 1fr 60px;
padding: 0 10px;
// margin: 0 10px;
overflow: hidden;
} }
</style> </style>

View File

@@ -68,7 +68,7 @@ export default defineConfig(({ mode }) => {
}, },
cacheDir: '.tmp', cacheDir: '.tmp',
plugins: [ plugins: [
vueDevTools(), // vueDevTools(),
vue({ vue({
template: { template: {
compilerOptions: { compilerOptions: {