杂务:整理文档并收口 YumiNail 修复

This commit is contained in:
xiaowang
2026-05-21 18:43:59 +08:00
parent 3797938616
commit 9227ec6175
362 changed files with 8358 additions and 19928 deletions
+104 -27
View File
@@ -385,9 +385,15 @@ onMounted(async () => {
<style scoped>
.mobile-container {
padding-top: 60px;
padding-top: 58px;
min-height: 100vh;
background: #f5f5f5;
color: var(--text-primary);
background:
linear-gradient(rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.92)),
var(--theme-background-image),
var(--theme-page-bg);
background-size: cover, cover, auto;
background-position: center top;
}
.header {
@@ -399,16 +405,22 @@ onMounted(async () => {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 15px;
border-bottom: 1px solid #f0f0f0;
background: white;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
gap: 12px;
height: 58px;
padding: 9px 15px;
border-bottom: 1px solid var(--theme-border);
background: rgba(255, 255, 255, 0.94);
background: color-mix(in srgb, var(--theme-card-bg) 92%, transparent);
box-shadow: 0 10px 28px rgba(122, 67, 88, 0.08);
backdrop-filter: blur(16px);
}
.header h1 {
margin: 0;
font-size: 18px;
font-weight: 700;
color: var(--text-primary);
letter-spacing: 0;
}
.back-btn,
@@ -418,40 +430,100 @@ onMounted(async () => {
display: flex;
align-items: center;
justify-content: center;
border-radius: 999px;
color: var(--theme-primary);
background: var(--theme-primary-soft);
}
.back-btn:hover,
.search-btn:hover,
.back-btn:focus,
.search-btn:focus {
color: var(--theme-accent);
background: var(--theme-primary-soft);
}
.search-input-container {
flex: 1;
margin: 0 10px;
margin: 0;
}
.search-input :deep(.ant-input),
.search-input :deep(.ant-input-group-addon .ant-btn) {
height: 38px;
}
.search-input :deep(.ant-input) {
border-color: var(--theme-border);
color: var(--text-primary);
}
.search-input :deep(.ant-input:hover),
.search-input :deep(.ant-input:focus) {
border-color: var(--theme-primary);
box-shadow: var(--theme-focus-shadow);
}
.search-input :deep(.ant-input-group-addon .ant-btn) {
border-color: var(--theme-primary);
background: var(--theme-gradient);
box-shadow: none;
}
.main-content {
display: flex;
min-height: calc(100vh - 60px);
flex-direction: column;
min-height: calc(100vh - 58px);
}
.category-sidebar {
width: 92px;
background: #fafafa;
border-right: 1px solid #ececec;
overflow-y: auto;
position: sticky;
top: 58px;
z-index: 20;
display: flex;
gap: 8px;
width: 100%;
padding: 10px 14px 11px;
overflow-x: auto;
overflow-y: hidden;
background: rgba(255, 255, 255, 0.88);
background: color-mix(in srgb, var(--theme-card-bg) 86%, transparent);
border-bottom: 1px solid var(--theme-border);
box-shadow: 0 8px 22px rgba(122, 67, 88, 0.06);
backdrop-filter: blur(16px);
scrollbar-width: none;
}
.category-sidebar::-webkit-scrollbar {
display: none;
}
.category-item {
padding: 16px 12px;
flex: 0 0 auto;
padding: 8px 15px;
border-radius: 999px;
font-size: 13px;
color: #666;
font-weight: 600;
color: var(--theme-accent);
text-align: center;
cursor: pointer;
transition: all 0.2s ease;
border-left: 3px solid transparent;
background: var(--theme-primary-soft);
border: 1px solid var(--theme-border);
}
.category-item:hover {
color: var(--theme-primary);
border-color: var(--theme-primary);
transform: translateY(-1px);
}
.category-item.active {
color: #1677ff;
background: white;
border-left-color: #1677ff;
color: #ffffff;
background: var(--theme-gradient);
border-color: transparent;
font-weight: 700;
box-shadow: var(--theme-button-shadow);
}
.product-section {
@@ -480,7 +552,7 @@ onMounted(async () => {
aspect-ratio: 1;
overflow: hidden;
border-radius: 14px;
background: #eef3ff;
background: var(--theme-primary-soft);
}
.product-image {
@@ -510,10 +582,15 @@ onMounted(async () => {
text-overflow: ellipsis;
}
.back-btn {
opacity: 0;
pointer-events: none;
}
.shop-name {
margin: 0 0 6px;
font-size: 12px;
color: #7a5262;
color: var(--text-secondary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -532,7 +609,7 @@ onMounted(async () => {
align-items: center;
padding: 2px 8px;
border-radius: 999px;
background: #f4f6fb;
background: var(--theme-primary-soft);
}
.stats {
@@ -556,7 +633,7 @@ onMounted(async () => {
margin: 0;
font-size: 18px;
font-weight: 700;
color: #ff4d4f;
color: var(--theme-accent);
}
.cart-action {
@@ -577,9 +654,9 @@ onMounted(async () => {
}
.cart-btn-in-cart {
color: #52c41a;
border-color: #b7eb8f;
background: #f6ffed;
color: var(--theme-primary);
border-color: var(--theme-border);
background: var(--theme-primary-soft);
}
.empty-state,
@@ -595,8 +672,8 @@ onMounted(async () => {
}
.category-sidebar {
width: 128px;
border-radius: 20px 0 0 20px;
width: 100%;
border-radius: 0;
}
.product-section {