用户端调整

2.首页商品详情增加点击区域
3.浓香型 酱香型 点击增加提示:暂未开放
5.首页餐券2字更换为“好客权益”
6.门店页面地址筛选功能 (三级菜单,省市区)
7.好客权益:去使用点击交互调整为核销页面,单张好客权益点击核销页面带参数和金额
7.核销金额限制为可用余额最大数,不是500
9.收货地址电话号码增加校验,长度限制,地址或者未填提示,地区调整为省市区三级菜单
10.微信授权位置调整在手机验证码下侧
This commit is contained in:
2026-07-01 00:19:08 +08:00
parent 6e047dc0a5
commit c43defca3f
18 changed files with 772 additions and 190 deletions
+181 -16
View File
@@ -923,22 +923,9 @@
border-bottom-color: var(--color-heritage-red);
}
.home-aroma-tab.disabled {
opacity: 0.5;
cursor: not-allowed;
}
.home-product-list {
padding: var(--space-md) var(--space-page);
display: flex;
flex-direction: column;
gap: var(--space-md);
}
.home-empty {
text-align: center;
padding: 48px var(--space-md);
color: var(--color-subtle-gray);
.home-aroma-tab.muted {
opacity: 0.65;
cursor: pointer;
}
.home-product-card {
@@ -948,6 +935,22 @@
box-shadow: var(--shadow-card);
}
.home-product-link {
display: block;
color: inherit;
text-decoration: none;
}
.home-product-link:active {
opacity: 0.96;
}
.home-product-actions {
padding: 0 var(--space-gutter) var(--space-gutter);
display: flex;
justify-content: flex-end;
}
.home-carousel-wrap {
position: relative;
width: 100%;
@@ -2766,6 +2769,160 @@
transform: scale(0.95);
}
.region-picker-overlay {
position: fixed;
inset: 0;
z-index: 100;
background: rgba(26, 26, 26, 0.45);
display: flex;
align-items: flex-end;
justify-content: center;
}
.region-picker-sheet {
width: 100%;
max-width: 480px;
background: #fff;
border-radius: 16px 16px 0 0;
padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
max-height: 56vh;
display: flex;
flex-direction: column;
animation: address-picker-slide 0.28s ease;
}
.region-picker-toolbar {
display: flex;
align-items: stretch;
padding: 0 16px;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
flex-shrink: 0;
}
.region-picker-tabs {
flex: 1;
display: flex;
align-items: stretch;
gap: 28px;
min-width: 0;
}
.region-picker-tab {
position: relative;
border: none;
background: none;
padding: 14px 0 12px;
font-size: 15px;
line-height: 22px;
color: var(--color-subtle-gray);
cursor: pointer;
white-space: nowrap;
}
.region-picker-tab.active {
color: var(--color-on-surface);
font-weight: 500;
}
.region-picker-tab.active::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 2px;
background: var(--color-heritage-red);
border-radius: 1px;
}
.region-picker-tab:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.region-picker-confirm {
flex-shrink: 0;
border: none;
background: none;
padding: 14px 0 12px 12px;
font-size: 15px;
line-height: 22px;
color: var(--color-subtle-gray);
cursor: pointer;
}
.region-picker-confirm.ready {
color: var(--color-heritage-red);
font-weight: 500;
}
.region-picker-confirm:disabled {
cursor: not-allowed;
}
.region-picker-list {
flex: 1;
min-height: 0;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
padding: 4px 0 8px;
}
.region-picker-option {
display: block;
width: 100%;
border: none;
background: none;
text-align: left;
padding: 14px 20px;
font-size: 16px;
line-height: 24px;
color: var(--color-on-surface);
cursor: pointer;
}
.region-picker-option:active {
background: rgba(0, 0, 0, 0.03);
}
.region-picker-option.selected {
color: var(--color-heritage-red);
}
.region-picker-option--all {
font-weight: 500;
}
.address-edit-line--region {
min-height: 48px;
align-items: center;
}
.address-edit-error {
margin: 0 var(--space-page);
color: var(--color-heritage-red);
font-size: 13px;
line-height: 1.4;
}
.app-toast {
position: fixed;
left: 50%;
bottom: calc(80px + env(safe-area-inset-bottom, 0px) + 16px);
transform: translateX(-50%);
z-index: 100;
max-width: calc(100% - 40px);
padding: 10px 16px;
border-radius: var(--radius-md);
background: rgba(26, 26, 26, 0.88);
color: #fff;
font-size: 13px;
line-height: 1.4;
text-align: center;
pointer-events: none;
}
/* ── 地址管理列表页(stitch user_地址管理列表页) ── */
.address-list-page {
min-height: 100vh;
@@ -4597,6 +4754,14 @@
box-shadow: 0 4px 20px rgba(166, 29, 36, 0.05);
}
.benefit-card--clickable {
cursor: pointer;
}
.benefit-card--clickable:active {
opacity: 0.96;
}
.benefit-card-inner {
display: flex;
min-height: 128px;