feat(assoc): v4.0.1 合伙人关联码、分佣账单与 H5 用户管理

订单佣金只认关联用户;合伙人备注写入独立表;H5 增加用户管理与首页统计。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-30 14:35:39 +08:00
parent 3b669f7e38
commit 9c8d5f2cad
125 changed files with 6355 additions and 1436 deletions
+237 -7
View File
@@ -328,17 +328,247 @@
color: var(--color-subtle-gray);
}
.redeem-success-icon {
width: 80px;
height: 80px;
.review-page-body {
padding-bottom: 32px;
}
.review-store-card,
.review-card {
margin: 0 var(--space-page) 12px;
padding: 14px;
background: var(--color-card);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-card);
box-sizing: border-box;
}
.review-store-card {
display: flex;
align-items: center;
gap: 12px;
}
.review-store-cover {
width: 56px;
height: 56px;
border-radius: 8px;
flex-shrink: 0;
background: var(--color-surface-container);
display: block;
}
.review-store-cover--empty {
background: var(--color-surface-container);
}
.review-store-meta {
flex: 1;
min-width: 0;
}
.review-store-name {
display: block;
font-family: var(--font-headline);
font-size: 15px;
font-weight: 700;
line-height: 22px;
color: var(--color-on-surface);
}
.review-store-visit {
display: block;
margin-top: 4px;
font-size: 12px;
line-height: 18px;
color: var(--color-subtle-gray);
}
.review-card-title {
display: block;
text-align: center;
font-family: var(--font-headline);
font-size: 15px;
font-weight: 700;
color: var(--color-on-surface);
margin-bottom: 12px;
}
.review-star-row {
display: flex;
justify-content: center;
gap: 10px;
}
.review-star {
font-size: 32px;
line-height: 1;
color: #d8d8d8;
}
.review-star--active {
color: #f5a623;
}
.review-score-label {
display: block;
margin-top: 8px;
text-align: center;
font-size: 13px;
font-weight: 600;
color: var(--color-heritage-red);
}
.review-section-head {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 12px;
}
.review-section-bar {
width: 3px;
height: 14px;
border-radius: 2px;
background: var(--color-heritage-red);
flex-shrink: 0;
}
.review-section-title {
font-size: 14px;
font-weight: 700;
color: var(--color-on-surface);
}
.review-tag-list {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.review-tag {
padding: 6px 12px;
border-radius: 999px;
background: #f3f0ee;
color: #666;
font-size: 13px;
line-height: 18px;
}
.review-tag--active {
background: rgba(166, 29, 36, 0.1);
color: var(--color-heritage-red);
font-weight: 600;
}
.review-comment {
width: 100%;
min-height: 96px;
padding: 12px;
border-radius: 10px;
background: #f7f4ef;
box-sizing: border-box;
font-size: 13px;
line-height: 1.6;
color: var(--color-on-surface);
}
.review-comment--native {
border: none;
outline: none;
resize: none;
font-family: inherit;
}
.review-photos {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.review-photo {
position: relative;
width: 72px;
height: 72px;
border-radius: 8px;
overflow: hidden;
background: #f3f0ee;
}
.review-photo-img {
width: 72px;
height: 72px;
}
.review-photo-remove {
position: absolute;
top: 2px;
right: 2px;
width: 18px;
height: 18px;
border-radius: 50%;
background: rgba(45, 106, 79, 0.12);
color: var(--color-success-green);
font-size: 40px;
background: rgba(0, 0, 0, 0.55);
color: #fff;
font-size: 12px;
line-height: 18px;
text-align: center;
}
.review-photo-add {
width: 72px;
height: 72px;
border-radius: 8px;
border: 1px dashed #d0c8b8;
background: #faf7f2;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2px;
}
.review-photo-add-plus {
font-size: 22px;
line-height: 22px;
color: #b09a78;
}
.review-photo-add-text {
font-size: 10px;
color: #b09a78;
}
.review-skip {
display: block;
margin: 4px var(--space-page) 8px;
text-align: center;
font-size: 13px;
color: var(--color-subtle-gray);
}
.review-submit {
margin: 8px var(--space-page) 8px;
height: 48px;
border-radius: 999px;
background: var(--color-heritage-red);
color: #fff;
font-size: 16px;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
margin: 48px auto 16px;
}
.review-submit--disabled {
opacity: 0.6;
}
.review-disclaimer {
display: block;
margin: 0 var(--space-page) 16px;
text-align: center;
font-size: 11px;
line-height: 1.6;
color: var(--color-subtle-gray);
}
.redeem-success-title {