diff --git a/悦/官网头程下单/assets/payment-qr-placeholder.svg b/悦/官网头程下单/assets/payment-qr-placeholder.svg new file mode 100644 index 0000000..3e206ca --- /dev/null +++ b/悦/官网头程下单/assets/payment-qr-placeholder.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/悦/官网头程下单/index.html b/悦/官网头程下单/index.html index 792166f..435c5df 100644 --- a/悦/官网头程下单/index.html +++ b/悦/官网头程下单/index.html @@ -5,6 +5,7 @@ 柏悦物流 CHONGCHONG GLOBAL | 跨境物流一站式解决方案 + @@ -508,6 +509,54 @@ .dash-sidebar.open { transform: translateX(0); } .dash-menu-btn { display: inline-flex; } } + + /* ===== 官网内认证流程 ===== */ + body.auth-modal-open { overflow: hidden; } + .auth-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; } + .auth-modal[hidden] { display: none; } + .auth-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(5, 18, 34, .76); cursor: default; } + .auth-dialog { position: relative; width: min(1040px, 100%); max-height: calc(100vh - 48px); overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 28px 80px rgba(4, 18, 34, .34); } + .auth-close { position: absolute; top: 16px; right: 16px; z-index: 3; display: inline-grid; width: 40px; height: 40px; place-items: center; border: 1px solid #d9e2ec; border-radius: 10px; background: #fff; color: #334155; transition: background-color .2s ease, border-color .2s ease, color .2s ease; } + .auth-close:hover { border-color: #1565c0; background: #f0f7ff; color: #0d47a1; } + .auth-close:focus-visible, .auth-dialog button:focus-visible, .auth-dialog input:focus-visible { outline: 3px solid rgba(21, 101, 192, .28); outline-offset: 2px; } + .auth-layout { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); min-height: 620px; } + .auth-story { position: relative; display: flex; min-width: 0; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 48px 42px; background: #0b2d55 url('assets/core-ocean.jpg') center/cover no-repeat; color: #fff; } + .auth-modal[data-mode="register"] .auth-story { background-image: url('assets/core-fulfillment.jpg'); } + .auth-story::before { content: ''; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(7, 33, 64, .9), rgba(13, 71, 161, .78)); } + .auth-story > * { position: relative; z-index: 1; } + .auth-story-logo { width: 161px; height: 60px; object-fit: contain; object-position: left center; margin-bottom: 56px; } + .auth-story h2 { max-width: 12ch; margin: 0 0 14px; font-size: clamp(30px, 3vw, 42px); line-height: 1.15; letter-spacing: -.02em; } + .auth-story p { max-width: 34ch; color: rgba(255, 255, 255, .82); line-height: 1.75; } + .auth-benefits { display: grid; gap: 14px; margin-top: 36px; } + .auth-benefit { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .94); font-size: 14px; } + .auth-benefit i { color: #65d46e; } + .auth-form-side { min-width: 0; overflow-y: auto; padding: 58px 64px 48px; } + .auth-panel { max-width: 470px; margin: 0 auto; } + .auth-panel[hidden] { display: none; } + .auth-panel h2 { margin: 0 0 8px; color: #0f172a; font-size: 30px; font-weight: 800; letter-spacing: -.02em; } + .auth-switch-copy { margin-bottom: 28px; color: #64748b; } + .auth-link { color: #1565c0; font-weight: 700; } + .auth-link:hover { color: #0d47a1; text-decoration: underline; } + .auth-form { display: grid; gap: 18px; } + .auth-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } + .auth-field label { display: block; margin-bottom: 7px; color: #334155; font-size: 14px; font-weight: 600; } + .auth-input-wrap { position: relative; } + .auth-input-wrap > i { position: absolute; top: 50%; left: 14px; color: #64748b; transform: translateY(-50%); pointer-events: none; } + .auth-input-wrap .input-field { padding-left: 42px; } + .auth-input-wrap .toggle-password { position: absolute; top: 50%; right: 10px; display: grid; width: 36px; height: 36px; place-items: center; color: #64748b; transform: translateY(-50%); } + .auth-dialog .input-field { min-height: 48px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #0f172a; font-size: 16px; } + .auth-dialog .input-field::placeholder { color: #64748b; } + .auth-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #64748b; font-size: 14px; } + .auth-check { display: flex; min-width: 0; align-items: flex-start; gap: 9px; color: #64748b; font-size: 14px; line-height: 1.55; } + .auth-check input { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; accent-color: #1565c0; } + .auth-submit { min-height: 50px; border-radius: 10px; } + .auth-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0 18px; color: #64748b; font-size: 13px; } + .auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: #e2e8f0; } + .auth-socials { display: flex; justify-content: center; gap: 12px; } + .auth-socials button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #dbe4ee; border-radius: 12px; background: #fff; } + .auth-socials button:hover { border-color: #9fb7ca; background: #f6f9fb; } + @media (max-width: 900px) { .auth-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; } .auth-story { display: none; } .auth-form-side { padding: 54px 34px 36px; } } + @media (max-width: 520px) { .auth-modal { align-items: end; padding: 0; } .auth-dialog { width: 100%; max-height: 94vh; border-radius: 16px 16px 0 0; } .auth-form-side { padding: 54px 20px 28px; } .auth-panel h2 { font-size: 26px; } .auth-field-grid { grid-template-columns: minmax(0, 1fr); } .auth-row { align-items: flex-start; flex-direction: column; gap: 10px; } } @@ -540,8 +589,8 @@ @@ -578,8 +627,8 @@ 关于 联系