This commit is contained in:
oneao committed 2025-12-25 22:02:07 +08:00
1 parent a8a2657753
commit 4f5218c892
5 files changed
+30 -12

No files matched your search

@@ -51,17 +51,27 @@ function onSearch() {
border-radius: 4px; border-radius: 4px;
border: 0; border: 0;
color: #000; color: #000;
// box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); box-shadow:
background-color: #f4f4f4; 0 1px 2px rgba(0, 0, 0, 0.06),
0 4px 12px rgba(0, 0, 0, 0.08);
.query-item { .query-item {
flex: 1; flex: 1;
border-right: 1px solid #ddd;
:deep(.el-select__wrapper) { :deep(.el-select__wrapper) {
height: 60px; height: 60px;
border-radius: 0px; border-radius: 0px;
box-shadow: none; box-shadow: none;
padding-top: 0px; padding-top: 0px;
padding-bottom: 0px; padding-bottom: 0px;
// background-color: #f2f3f5;
.el-select__selection {
padding: 0px 12px;
}
.el-tag {
color: #000;
height: 36px;
font-size: 16px;
}
} }
:deep(.el-select__placeholder) { :deep(.el-select__placeholder) {
font-size: 18px; font-size: 18px;
@@ -73,18 +83,29 @@ function onSearch() {
border-radius: 0px; border-radius: 0px;
box-shadow: none; box-shadow: none;
padding: 0px; padding: 0px;
transform:none;
// background-color: #f2f3f5;
} }
:deep(.el-input__inner) { :deep(.el-input__inner) {
height: 60px !important; height: 60px !important;
font-size: 18px; font-size: 18px;
// background-color: #f2f3f5;
color: #000;
padding: 0px 16px;
} }
:deep(.el-cascader__tags) { :deep(.el-cascader__tags) {
padding: 0; padding: 0px 12px;
.el-tag {
// background-color: #fff;
color: #000;
height: 36px;
font-size: 16px;
}
} }
:deep(.el-cascader__search-input) { :deep(.el-cascader__search-input) {
margin-left: 0px; margin-left: 0px;
font-size: 18px; font-size: 24px;
} }
:deep(.el-input__suffix) { :deep(.el-input__suffix) {
padding-right: 12px; padding-right: 12px;
@@ -102,7 +123,7 @@ function onSearch() {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 24px; font-size: 24px;
background-color: #333; background-color: #1d79ff;
border-top-right-radius: 4px; border-top-right-radius: 4px;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
color: #fff; color: #fff;
@@ -105,7 +105,6 @@ function isActive(path: string) {
background-color: #fff; background-color: #fff;
.container { .container {
width: 100%;
padding: 0rem 3rem; padding: 0rem 3rem;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@@ -5,9 +5,7 @@ import Header from './components/header.vue'
<template> <template>
<div class="layout"> <div class="layout">
<Header /> <Header />
<div class="content"> <RouterView />
<RouterView />
</div>
<!-- <footer class="footer"> <!-- <footer class="footer">
TODO TODO
</footer> --> </footer> -->
@@ -16,7 +14,6 @@ import Header from './components/header.vue'
<style lang="scss" scoped> <style lang="scss" scoped>
.layout { .layout {
position: relative;
} }
.content { .content {
@@ -4,7 +4,7 @@
html, html,
body { body {
background-color: #f7f7f7; background-color: #f4f6f9;
} }
* { * {
@@ -155,6 +155,7 @@ function handleChangeSelectedTag(tag: PostTag) {
.post-main { .post-main {
flex: 1; flex: 1;
height: 100%; height: 100%;
flex-shrink: 0;
.post-main-header { .post-main-header {
position: sticky; position: sticky;
top: calc(var(--header-height)); top: calc(var(--header-height));