847 lines
13 KiB
CSS
847 lines
13 KiB
CSS
.mobile-publish {
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 100dvh;
|
|
background: #f4f6f8;
|
|
padding-bottom: calc(56px + env(safe-area-inset-bottom));
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.page-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 48px;
|
|
padding: 0 12px;
|
|
background: #fff;
|
|
border-bottom: 1px solid #eceff3;
|
|
}
|
|
|
|
.page-header h1 {
|
|
flex: 1;
|
|
margin: 0;
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
}
|
|
|
|
.back-btn {
|
|
display: grid;
|
|
width: 36px;
|
|
height: 36px;
|
|
place-items: center;
|
|
border: none;
|
|
background: none;
|
|
color: #25282d;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.header-spacer {
|
|
width: 36px;
|
|
}
|
|
|
|
.form-body {
|
|
padding: 12px 14px 24px;
|
|
}
|
|
|
|
.form-section {
|
|
padding: 14px;
|
|
margin-bottom: 12px;
|
|
background: #fff;
|
|
border: 1px solid #edf0f4;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.section-title {
|
|
margin: 0 0 10px;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #171a1f;
|
|
}
|
|
|
|
.field-hint {
|
|
margin: -2px 0 8px;
|
|
color: #858c96;
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.publish-field {
|
|
margin-bottom: 8px;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
overflow: visible;
|
|
}
|
|
|
|
.publish-field :deep(.van-field__label) {
|
|
width: 88px;
|
|
color: #30343a;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.publish-field :deep(.van-field__control) {
|
|
color: #20242a;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.hint-label,
|
|
.backend-hint-target.has-hint,
|
|
.upload-title.has-hint {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
max-width: 100%;
|
|
line-height: 1.35;
|
|
cursor: help;
|
|
outline: none;
|
|
}
|
|
|
|
.hint-label::before,
|
|
.backend-hint-target.has-hint::before,
|
|
.upload-title.has-hint::before,
|
|
.hint-label::after,
|
|
.backend-hint-target.has-hint::after,
|
|
.upload-title.has-hint::after {
|
|
position: absolute;
|
|
z-index: 20;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
transition:
|
|
opacity 0.16s ease,
|
|
visibility 0.16s ease;
|
|
}
|
|
|
|
.hint-label::before,
|
|
.backend-hint-target.has-hint::before,
|
|
.upload-title.has-hint::before {
|
|
content: '';
|
|
top: 50%;
|
|
left: calc(100% + 2px);
|
|
transform: translateY(-50%);
|
|
border: 6px solid transparent;
|
|
border-right-color: rgba(32, 36, 42, 0.96);
|
|
}
|
|
|
|
.hint-label::after,
|
|
.backend-hint-target.has-hint::after,
|
|
.upload-title.has-hint::after {
|
|
content: attr(data-hint);
|
|
top: 50%;
|
|
left: calc(100% + 14px);
|
|
width: min(242px, calc(100vw - 136px));
|
|
max-height: 156px;
|
|
overflow: auto;
|
|
transform: translateY(-50%);
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
background: rgba(32, 36, 42, 0.96);
|
|
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
line-height: 1.45;
|
|
white-space: normal;
|
|
}
|
|
|
|
.hint-label:hover::before,
|
|
.hint-label:focus-visible::before,
|
|
.backend-hint-target.has-hint:hover::before,
|
|
.backend-hint-target.has-hint:focus-visible::before,
|
|
.upload-title.has-hint:hover::before,
|
|
.upload-title.has-hint:focus-visible::before,
|
|
.hint-label:hover::after,
|
|
.hint-label:focus-visible::after,
|
|
.backend-hint-target.has-hint:hover::after,
|
|
.backend-hint-target.has-hint:focus-visible::after,
|
|
.upload-title.has-hint:hover::after,
|
|
.upload-title.has-hint:focus-visible::after {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
.radio-group,
|
|
.multi-chip-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.radio-group.small {
|
|
gap: 6px;
|
|
}
|
|
|
|
.radio-btn {
|
|
min-height: 28px;
|
|
padding: 5px 12px;
|
|
border: 1px solid #d7dce3;
|
|
border-radius: 14px;
|
|
background: #fff;
|
|
color: #5c6470;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
}
|
|
|
|
.radio-btn.active {
|
|
border-color: #ff6a00;
|
|
background: #ff6a00;
|
|
color: #fff;
|
|
}
|
|
|
|
.radio-btn.disabled,
|
|
.radio-btn:disabled {
|
|
border-color: #e5e7eb;
|
|
background: #f3f4f6;
|
|
color: #a8b0bd;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.time-row,
|
|
.result-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.time-field-group {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.time-field-group .publish-field {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.time-preset-chips {
|
|
padding: 0 2px 4px;
|
|
}
|
|
|
|
.level-panel {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.level-row {
|
|
display: grid;
|
|
grid-template-columns: 58px minmax(0, 1fr);
|
|
gap: 8px;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.level-label {
|
|
color: #30343a;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.level-label span {
|
|
margin-right: 2px;
|
|
color: #ee0a24;
|
|
}
|
|
|
|
.level-options {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
gap: 6px;
|
|
}
|
|
|
|
.level-btn {
|
|
min-width: 0;
|
|
height: 30px;
|
|
padding: 0;
|
|
border: 1px solid #d7dce3;
|
|
border-radius: 15px;
|
|
background: #fff;
|
|
color: #5c6470;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.level-btn.active {
|
|
border-color: #ff6a00;
|
|
background: #ff6a00;
|
|
color: #fff;
|
|
}
|
|
|
|
.quantity-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 92px;
|
|
gap: 8px;
|
|
align-items: stretch;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.quantity-row.disabled {
|
|
opacity: 0.62;
|
|
}
|
|
|
|
.quantity-card {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 72px;
|
|
gap: 10px;
|
|
align-items: center;
|
|
min-height: 72px;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.quantity-meta {
|
|
display: grid;
|
|
min-width: 0;
|
|
gap: 5px;
|
|
}
|
|
|
|
.quantity-meta strong {
|
|
overflow: hidden;
|
|
color: #30343a;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
line-height: 1.25;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.quantity-meta span {
|
|
margin-right: 2px;
|
|
color: #ee0a24;
|
|
}
|
|
|
|
.quantity-meta small {
|
|
color: #858c96;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.quantity-input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 36px;
|
|
padding: 0 8px;
|
|
border: 1px solid #e0e5ec;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
color: #20242a;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
outline: none;
|
|
}
|
|
|
|
.quantity-input:focus {
|
|
border-color: #ff6a00;
|
|
}
|
|
|
|
.quantity-input:disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.mode-toggle {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 6px;
|
|
min-height: 72px;
|
|
}
|
|
|
|
.mode-toggle button {
|
|
border: 1px solid #d7dce3;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
color: #606873;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.mode-toggle button.active {
|
|
border-color: #ff6a00;
|
|
background: #fff3ea;
|
|
color: #e65f00;
|
|
}
|
|
|
|
.mode-toggle button:disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.skin-groups {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.skin-group {
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.skin-group-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 8px;
|
|
color: #30343a;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.skin-group-title small {
|
|
color: #858c96;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.region-panel {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.region-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
color: #30343a;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.region-title small {
|
|
color: #858c96;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.region-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
gap: 6px;
|
|
}
|
|
|
|
.region-btn {
|
|
min-width: 0;
|
|
height: 28px;
|
|
padding: 0 2px;
|
|
border: 1px solid #d7dce3;
|
|
border-radius: 14px;
|
|
background: #fff;
|
|
color: #5c6470;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.region-btn.active {
|
|
border-color: #ff6a00;
|
|
background: #ff6a00;
|
|
color: #fff;
|
|
}
|
|
|
|
.upload-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.upload-line {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 86px;
|
|
gap: 10px;
|
|
align-items: center;
|
|
min-height: 76px;
|
|
padding: 10px;
|
|
border: 1px solid #edf0f4;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.upload-meta {
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.upload-meta strong {
|
|
color: #242830;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.upload-meta span {
|
|
color: #f04438;
|
|
}
|
|
|
|
.upload-meta small {
|
|
color: #858c96;
|
|
font-size: 11px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.upload-preview-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.upload-add,
|
|
.upload-preview {
|
|
width: 76px;
|
|
height: 76px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.upload-add {
|
|
display: grid;
|
|
place-items: center;
|
|
border: 1px dashed #c7cdd6;
|
|
background: #fff;
|
|
color: #7b8490;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.upload-add:disabled {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.upload-preview {
|
|
position: relative;
|
|
overflow: hidden;
|
|
background: #e8ecf1;
|
|
}
|
|
|
|
.upload-preview img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.upload-preview button {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 24px;
|
|
padding: 0 8px;
|
|
border: none;
|
|
border-radius: 8px 0 0;
|
|
background: rgba(0, 0, 0, 0.62);
|
|
color: #fff;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.result-field :deep(.van-field__control) {
|
|
color: #ff6a00;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.ratio-panel {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.ratio-reference {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
min-height: 48px;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.ratio-reference span {
|
|
color: #30343a;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.ratio-reference strong {
|
|
color: #ff6a00;
|
|
font-size: 18px;
|
|
font-weight: 900;
|
|
line-height: 1;
|
|
}
|
|
|
|
.ratio-range {
|
|
margin: 0;
|
|
color: #858c96;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.ratio-mode-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
.ratio-mode-btn {
|
|
display: grid;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
min-height: 74px;
|
|
padding: 12px 8px;
|
|
border: 1px solid #d7dce3;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
color: #30343a;
|
|
text-align: center;
|
|
}
|
|
|
|
.ratio-mode-btn strong,
|
|
.ratio-mode-btn span {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.ratio-mode-btn strong {
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.ratio-mode-btn span {
|
|
color: #858c96;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.ratio-mode-btn.active {
|
|
border-color: #ff6a00;
|
|
background: #fff7f0;
|
|
color: #ff6a00;
|
|
}
|
|
|
|
.ratio-mode-btn.active span {
|
|
color: #ff6a00;
|
|
}
|
|
|
|
.ratio-mode-btn:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.58;
|
|
}
|
|
|
|
.ratio-input-field {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.ratio-input-hint {
|
|
margin: -2px 0 0;
|
|
}
|
|
|
|
.deposit-card {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
padding: 12px;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.deposit-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
color: #30343a;
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.deposit-heading span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.deposit-heading b {
|
|
color: #f04452;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.deposit-heading em {
|
|
flex: 0 1 auto;
|
|
min-width: 0;
|
|
padding: 3px 8px;
|
|
border-radius: 999px;
|
|
background: #fff3f4;
|
|
color: #f04452;
|
|
font-size: 10px;
|
|
font-style: normal;
|
|
font-weight: 800;
|
|
line-height: 1.25;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.deposit-input-wrap {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
min-height: 44px;
|
|
padding: 0 12px;
|
|
border: 1px solid #e5eaf1;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
}
|
|
|
|
.deposit-input-wrap input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
border: none;
|
|
background: transparent;
|
|
color: #20242a;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
outline: none;
|
|
}
|
|
|
|
.deposit-input-wrap input::placeholder {
|
|
color: #b3bbc6;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.deposit-input-wrap span {
|
|
color: #858c96;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.deposit-help {
|
|
margin: -2px 0 0;
|
|
color: #858c96;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.deposit-recommend-btn {
|
|
justify-self: start;
|
|
min-height: 34px;
|
|
padding: 0 14px;
|
|
border: 1px solid #fed7aa;
|
|
border-radius: 17px;
|
|
background: #fff7ed;
|
|
color: #f97316;
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.total-price-field :deep(.van-field__control) {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.price-breakdown-hint {
|
|
margin: -2px 0 10px;
|
|
color: #858c96;
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.publish-agreement-card {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin-bottom: 12px;
|
|
padding: 12px;
|
|
border: 1px solid #edf0f4;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
}
|
|
|
|
.agreement-check-label {
|
|
color: #30343a;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.agreement-link {
|
|
padding: 0;
|
|
border: none;
|
|
background: transparent;
|
|
color: #1477ff;
|
|
font: inherit;
|
|
}
|
|
|
|
.publish-agreement-popup {
|
|
max-height: 86vh;
|
|
}
|
|
|
|
.agreement-popup-body {
|
|
display: grid;
|
|
gap: 12px;
|
|
max-height: 86vh;
|
|
overflow: auto;
|
|
padding: 20px 16px calc(16px + env(safe-area-inset-bottom));
|
|
}
|
|
|
|
.agreement-popup-body h3 {
|
|
margin: 0;
|
|
color: #17233d;
|
|
font-size: 18px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.agreement-popup-content {
|
|
max-height: 62vh;
|
|
overflow: auto;
|
|
padding: 12px;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
color: #1f2937;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
line-height: 1.7;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.publish-actions {
|
|
display: grid;
|
|
grid-template-columns: 92px minmax(0, 1fr);
|
|
gap: 10px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.reset-btn,
|
|
.submit-btn {
|
|
height: 44px;
|
|
width: 100%;
|
|
border: none !important;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.reset-btn {
|
|
border: 1px solid #d7dce3 !important;
|
|
background: #fff !important;
|
|
color: #4b5563 !important;
|
|
}
|
|
|
|
.submit-btn {
|
|
background: #ff6a00 !important;
|
|
}
|
|
|
|
@media (min-width: 430px) {
|
|
.time-row {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 370px) {
|
|
.level-options,
|
|
.region-grid {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
}
|