fix(ui): 完善控制台列表并优化企业中心与个人操作
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
--pm-accent: var(--brand-primary);
|
||||
--pm-soft: var(--brand-primary-soft);
|
||||
--pm-qr-surface: #fff;
|
||||
--pm-poster-ink: #fff;
|
||||
max-width: calc(100vw - 32px);
|
||||
padding-block: 24px;
|
||||
}
|
||||
@@ -162,6 +163,9 @@
|
||||
border-color: var(--pm-accent);
|
||||
background: var(--pm-soft);
|
||||
}
|
||||
.promotion-modal--poster .pm-rewards {
|
||||
display: none;
|
||||
}
|
||||
.pm-rewards-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -197,27 +201,37 @@
|
||||
gap: 32px;
|
||||
align-items: center;
|
||||
}
|
||||
.promotion-modal [data-poster-template='blue'] {
|
||||
--pm-template-background: #2455b8;
|
||||
}
|
||||
.promotion-modal [data-poster-template='orange'] {
|
||||
--pm-template-background: #a94913;
|
||||
}
|
||||
.promotion-modal [data-poster-template='green'] {
|
||||
--pm-template-background: #226b50;
|
||||
}
|
||||
.promotion-modal [data-poster-template='dark'] {
|
||||
--pm-template-background: #272b33;
|
||||
}
|
||||
.pm-preview-stage {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
border: 1px solid var(--pm-border);
|
||||
padding-inline: 16px;
|
||||
border-radius: 12px;
|
||||
background: var(--pm-muted);
|
||||
background: var(--pm-template-background);
|
||||
color: var(--pm-poster-ink);
|
||||
min-width: 0;
|
||||
}
|
||||
.pm-poster {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 240px;
|
||||
width: min(100%, 280px);
|
||||
min-width: 0;
|
||||
aspect-ratio: 375 / 667;
|
||||
padding: 28px 16px 20px;
|
||||
background: var(--pm-poster-background);
|
||||
color: var(--pm-poster-ink);
|
||||
border-radius: 8px;
|
||||
min-height: 448px;
|
||||
padding: 32px 8px 24px;
|
||||
text-align: center;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.pm-poster h2 {
|
||||
margin: 0 0 8px;
|
||||
@@ -329,8 +343,9 @@
|
||||
.pm-field > .ant-btn {
|
||||
width: 100%;
|
||||
}
|
||||
.pm-preview-stage {
|
||||
padding: 16px;
|
||||
.pm-poster {
|
||||
min-height: 408px;
|
||||
padding-block: 24px 20px;
|
||||
}
|
||||
.pm-template-list {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
|
||||
Reference in New Issue
Block a user