feat(v3.4.14): mini-user store UX, brand config, client settings

Store list/detail package flow, configurable WeChat mini brand assets and customer service, shop H5 home refresh.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-06 15:21:59 +08:00
parent 53a79d1255
commit a2abbb6169
29 changed files with 1408 additions and 513 deletions
+137 -79
View File
@@ -12,7 +12,22 @@
width: 100%;
aspect-ratio: 4 / 3;
overflow: hidden;
background: var(--color-surface-container);
/* background: var(--color-surface-container); */
background-color: #000;
}
/* 门店门头:固定 4:3 区域,图片 aspectFit 缩放完整显示(不裁剪) */
.store-detail-carousel-wrap--contain .store-detail-carousel-item {
display: flex;
align-items: center;
justify-content: center;
}
.store-detail-carousel-wrap--contain .store-detail-carousel-image {
width: 100%;
height: 100%;
object-fit: contain;
object-position: center center;
}
.store-detail-carousel {
@@ -29,6 +44,7 @@
.store-detail-carousel-image {
object-fit: cover;
object-position: center center;
display: block;
}
@@ -59,7 +75,7 @@
}
.store-detail-info-card {
margin: -40px var(--space-page) 16px;
margin: 0 var(--space-page) 16px;
position: relative;
z-index: 2;
background: var(--color-card);
@@ -246,100 +262,142 @@
overflow: hidden;
}
.store-detail-package-tabs {
width: 100%;
margin-bottom: 10px;
white-space: nowrap;
}
.store-detail-package-tabs-inner {
display: inline-flex;
flex-wrap: nowrap;
gap: 8px;
padding: 2px 0;
}
.store-detail-package-tab {
display: inline-flex;
align-items: center;
flex-shrink: 0;
max-width: 132px;
padding: 6px 12px;
border-radius: 999px;
background: rgba(0, 0, 0, 0.04);
box-sizing: border-box;
}
.store-detail-package-tab--active {
background: rgba(166, 29, 36, 0.1);
}
.store-detail-package-tab-text {
font-size: 12px;
line-height: 18px;
color: var(--color-text-secondary, #666);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.store-detail-package-tab--active .store-detail-package-tab-text {
color: var(--color-heritage-red, #a61d24);
font-weight: 600;
}
.store-detail-package-panel {
.store-detail-package-list {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 10px;
border-radius: var(--radius-md, 8px);
background: var(--color-surface-container, #f7f7f7);
box-sizing: border-box;
flex-direction: column;
}
.store-detail-package-thumb {
width: 72px;
height: 72px;
border-radius: 6px;
flex-shrink: 0;
background: rgba(0, 0, 0, 0.04);
.store-detail-package-list-item {
padding: 14px 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.store-detail-package-panel-body {
flex: 1;
min-width: 0;
.store-detail-package-list-item:first-child {
padding-top: 4px;
}
.store-detail-package-body,
.store-detail-package-meta {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
.store-detail-package-list-item:last-child {
border-bottom: none;
padding-bottom: 0;
}
.store-detail-package-name {
.store-detail-package-list-title {
display: block;
font-size: 15px;
line-height: 1.5;
font-weight: 500;
color: var(--color-on-surface);
word-break: break-word;
}
.store-detail-package-list-item:active {
opacity: 0.72;
}
/* ── 套餐详情页(独立于门店详情) ── */
.store-package-detail-page {
background: var(--color-background);
}
.store-package-detail-body {
/* 避开状态栏+胶囊导航,并额外 12px 顶白 */
padding: calc(var(--nav-bar-height, 56px) + 12px) 0 24px;
box-sizing: border-box;
}
.store-package-detail-inner {
/* 左右留白,内容不贴边 */
padding: 8px 16px 0;
box-sizing: border-box;
}
.store-package-detail-header {
padding: 8px 16px 4px 16px;
}
.store-package-detail-title-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
}
.store-package-detail-title {
flex: 1;
min-width: 0;
font-family: var(--font-headline);
font-size: 20px;
font-weight: 700;
color: var(--color-text-primary, #1a1a1a);
margin-bottom: 4px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 1.4;
color: var(--color-ink-black);
word-break: break-word;
}
.store-detail-package-body {
.store-package-detail-price {
flex-shrink: 0;
font-size: 24px;
font-weight: 700;
line-height: 1.35;
color: #a61d24;
color: var(--color-heritage-red, #a61d24);
text-align: right;
}
.store-package-detail-store {
display: block;
margin-top: 10px;
font-size: 13px;
color: var(--color-text-secondary, #666);
line-height: 1.45;
line-height: 1.5;
color: var(--color-on-surface-variant);
padding-left: 4px;
}
.store-detail-package-meta {
font-size: 12px;
color: var(--color-text-tertiary, #999);
margin-top: 4px;
.store-package-detail-photo {
margin: 14px 0 0;
border-radius: var(--radius-lg);
overflow: hidden;
background: var(--color-card);
box-shadow: var(--shadow-card);
}
.store-package-detail-photo-image {
width: 100%;
display: block;
vertical-align: top;
}
.store-package-detail-content {
margin-top: 16px;
background: var(--color-card);
border-radius: var(--radius-lg);
padding: 16px;
box-shadow: var(--shadow-card);
box-sizing: border-box;
}
.store-detail-package-field-label {
display: block;
font-size: 13px;
font-weight: 600;
color: var(--color-on-surface-variant);
margin-bottom: 6px;
}
.store-detail-package-field-value {
display: block;
font-size: 14px;
color: var(--color-on-surface);
line-height: 1.7;
white-space: pre-wrap;
word-break: break-word;
}
.store-detail-package-field {
margin-bottom: 16px;
}
.store-detail-package-field:last-child {
margin-bottom: 0;
}
.store-detail-package-dispute {