1597 lines
28 KiB
CSS
1597 lines
28 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
|
|
background-color: #f5f5f5;
|
|
color: #333;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.basic-info-container {
|
|
min-height: 100vh;
|
|
padding: 16px;
|
|
padding-bottom: calc(130px + env(safe-area-inset-bottom, 0px));
|
|
}
|
|
|
|
/* 顶部卡片 */
|
|
.top-card {
|
|
width: 100%;
|
|
height: 142px;
|
|
background-image: url('./static/image/personalTop.png');
|
|
background-size: 100% 100%;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
margin-bottom: -8px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.top-title {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
/*margin-bottom: 4px;*/
|
|
}
|
|
|
|
.top-money {
|
|
font-size: 42px;
|
|
color: #fff;
|
|
font-weight: 700;
|
|
margin: -5px 0;
|
|
}
|
|
|
|
.top-text {
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
color: #fff;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.progress-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.progress-bar {
|
|
flex: 1;
|
|
height: 8px;
|
|
background-color: rgba(255, 255, 255, 0.3);
|
|
border-radius: 50px;
|
|
margin-right: 5px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #19be6b, #1dd87a, #19be6b);
|
|
background-size: 200% 100%;
|
|
border-radius: 50px;
|
|
width: 0%;
|
|
transition: width 0.5s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
-webkit-animation: progressPulse 2s ease-in-out infinite, progressGradient 3s ease infinite;
|
|
animation: progressPulse 2s ease-in-out infinite, progressGradient 3s ease infinite;
|
|
}
|
|
|
|
.progress-fill::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
rgba(255, 255, 255, 0.3),
|
|
transparent
|
|
);
|
|
-webkit-animation: shimmer 2s infinite;
|
|
animation: shimmer 2s infinite;
|
|
}
|
|
|
|
@-webkit-keyframes shimmer {
|
|
0% {
|
|
-webkit-transform: translateX(-100%);
|
|
transform: translateX(-100%);
|
|
}
|
|
100% {
|
|
-webkit-transform: translateX(100%);
|
|
transform: translateX(100%);
|
|
}
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
0% {
|
|
-webkit-transform: translateX(-100%);
|
|
transform: translateX(-100%);
|
|
}
|
|
100% {
|
|
-webkit-transform: translateX(100%);
|
|
transform: translateX(100%);
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes progressPulse {
|
|
0%, 100% {
|
|
-webkit-box-shadow: 0 0 0 0 rgba(25, 190, 107, 0.4);
|
|
box-shadow: 0 0 0 0 rgba(25, 190, 107, 0.4);
|
|
}
|
|
50% {
|
|
-webkit-box-shadow: 0 0 0 4px rgba(25, 190, 107, 0);
|
|
box-shadow: 0 0 0 4px rgba(25, 190, 107, 0);
|
|
}
|
|
}
|
|
|
|
@keyframes progressPulse {
|
|
0%, 100% {
|
|
-webkit-box-shadow: 0 0 0 0 rgba(25, 190, 107, 0.4);
|
|
box-shadow: 0 0 0 0 rgba(25, 190, 107, 0.4);
|
|
}
|
|
50% {
|
|
-webkit-box-shadow: 0 0 0 4px rgba(25, 190, 107, 0);
|
|
box-shadow: 0 0 0 4px rgba(25, 190, 107, 0);
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes progressGradient {
|
|
0% {
|
|
background-position: 0% 50%;
|
|
}
|
|
50% {
|
|
background-position: 100% 50%;
|
|
}
|
|
100% {
|
|
background-position: 0% 50%;
|
|
}
|
|
}
|
|
|
|
@keyframes progressGradient {
|
|
0% {
|
|
background-position: 0% 50%;
|
|
}
|
|
50% {
|
|
background-position: 100% 50%;
|
|
}
|
|
100% {
|
|
background-position: 0% 50%;
|
|
}
|
|
}
|
|
|
|
.progress-text {
|
|
color: #fff;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
min-width: 40px;
|
|
text-align: right;
|
|
}
|
|
|
|
/* 资产信息区域 */
|
|
.asset-section {
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
margin-top: 0;
|
|
padding: 0;
|
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.asset-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16px;
|
|
border-bottom: 1px solid #efefef;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.asset-title {
|
|
font-size: 16px;
|
|
color: #854a19;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.asset-icon {
|
|
width: 22px;
|
|
height: 22px;
|
|
margin-right: 9px;
|
|
display: inline-block;
|
|
background-color: #fff;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.asset-arrow {
|
|
width: 20px;
|
|
height: 20px;
|
|
color: #999;
|
|
font-size: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.section-arrow {
|
|
width: 20px;
|
|
height: 20px;
|
|
display: inline-block;
|
|
background-color: #fff;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.asset-list {
|
|
padding: 0;
|
|
}
|
|
|
|
.asset-item {
|
|
padding: 9px 16px;
|
|
font-size: 14px;
|
|
border-bottom: 1px solid #f5f5f5;
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
transition: opacity 0.5s ease, transform 0.5s ease;
|
|
display: none;
|
|
}
|
|
|
|
.asset-item.show {
|
|
display: block;
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.asset-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.item-top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.item-name {
|
|
color: #333;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
margin-right: 7px;
|
|
}
|
|
|
|
.item-value {
|
|
display: flex;
|
|
align-items: center;
|
|
color: #999;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.item-value.selected {
|
|
color: #333;
|
|
}
|
|
|
|
.item-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-left: 8px;
|
|
display: inline-block;
|
|
background-color: #fff;
|
|
border-radius: 4px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.item-options {
|
|
margin-top: 12px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
max-height: 100px;
|
|
overflow: hidden;
|
|
transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
|
|
margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
|
|
opacity 0.3s ease,
|
|
padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
opacity: 1;
|
|
padding: 0;
|
|
}
|
|
|
|
.asset-item.collapsed .item-options {
|
|
max-height: 0 !important;
|
|
margin-top: 0 !important;
|
|
opacity: 0;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.option-btn {
|
|
flex: 1;
|
|
min-width: 40%;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
background: #f5f5f5;
|
|
border-radius: 4px;
|
|
color: #777;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.option-btn:hover {
|
|
background: #e8e8e8;
|
|
}
|
|
|
|
.option-btn.selected {
|
|
background: #3474fe;
|
|
color: #fff;
|
|
}
|
|
|
|
.option-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
/* 基本信息区域 */
|
|
.basic-info-section {
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
margin-top: 16px;
|
|
padding: 0;
|
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
transition: opacity 0.5s ease, transform 0.5s ease;
|
|
}
|
|
|
|
.basic-info-section.show {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.basic-info-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16px;
|
|
border-bottom: 1px solid #efefef;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.basic-info-title {
|
|
font-size: 16px;
|
|
color: #854a19;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.basic-info-icon {
|
|
width: 22px;
|
|
height: 22px;
|
|
margin-right: 9px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.basic-info-arrow {
|
|
width: 20px;
|
|
height: 20px;
|
|
color: #999;
|
|
font-size: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.basic-info-list {
|
|
padding: 0;
|
|
}
|
|
|
|
/* 基本信息项行样式 */
|
|
.basic-info-item-row {
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid #f5f5f5;
|
|
}
|
|
|
|
.basic-info-item-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.basic-info-item-row .item-top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0;
|
|
}
|
|
|
|
.basic-info-item-row .item-name {
|
|
color: #333;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.basic-info-item-row .item-value {
|
|
color: #999;
|
|
font-size: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1;
|
|
}
|
|
|
|
.basic-info-item-row .item-value-text {
|
|
flex: 1;
|
|
text-align: left;
|
|
}
|
|
|
|
.basic-info-item-row .item-icon {
|
|
margin-left: auto;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.basic-info-item-row .item-value.selected {
|
|
color: #333;
|
|
}
|
|
|
|
.basic-info-item-row .item-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-left: 8px;
|
|
display: inline-block;
|
|
background-color: #fff;
|
|
border-radius: 4px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 内联输入框样式 */
|
|
.basic-input-inline {
|
|
flex: 1;
|
|
height: 32px;
|
|
padding: 0 8px;
|
|
font-size: 14px;
|
|
color: #333;
|
|
background-color: transparent;
|
|
border: none;
|
|
outline: none;
|
|
text-align: left;
|
|
}
|
|
|
|
.basic-input-inline::placeholder {
|
|
color: #999;
|
|
text-align: left;
|
|
}
|
|
|
|
.basic-input-inline:focus {
|
|
color: #333;
|
|
}
|
|
|
|
.basic-info-item-row .item-top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0;
|
|
min-height: 32px;
|
|
}
|
|
|
|
/* 城市字段的值居左显示 */
|
|
.basic-info-item-row#basic-info-city .item-top {
|
|
justify-content: flex-start;
|
|
gap: 8px;
|
|
}
|
|
|
|
.basic-info-item-row#basic-info-city .item-value {
|
|
flex: 1;
|
|
}
|
|
|
|
.basic-info-item-row#basic-info-city .item-value-text {
|
|
flex: 1;
|
|
text-align: left;
|
|
}
|
|
|
|
.basic-info-item-row#basic-info-city .item-icon {
|
|
margin-left: auto;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 输入框样式 */
|
|
.basic-input {
|
|
width: 100%;
|
|
height: 36px;
|
|
padding: 0 12px;
|
|
font-size: 14px;
|
|
color: #333;
|
|
background-color: #f5f5f5;
|
|
border: 1px solid transparent;
|
|
border-radius: 4px;
|
|
outline: none;
|
|
transition: all 0.3s ease;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.basic-input:focus {
|
|
background-color: #fff;
|
|
border-color: #3474fe;
|
|
}
|
|
|
|
.confirm-btn {
|
|
width: 100%;
|
|
height: 32px;
|
|
line-height: 32px;
|
|
text-align: center;
|
|
background: #3474fe;
|
|
border-radius: 4px;
|
|
color: #fff;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.confirm-btn:hover {
|
|
background: #2563eb;
|
|
}
|
|
|
|
.confirm-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
/* 底部按钮:贴底并预留安全区,避免被系统栏/手势区遮挡 */
|
|
.button-section {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
|
|
background-color: #fff;
|
|
box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
z-index: 100;
|
|
}
|
|
|
|
/* 协议行 */
|
|
.agreement-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
color: #666;
|
|
margin-bottom: 10px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.agreement-checkbox {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.agreement-checkbox input[type="checkbox"] {
|
|
width: 12px;
|
|
height: 12px;
|
|
margin: 0;
|
|
}
|
|
|
|
.agreement-links {
|
|
color: #2e6df6;
|
|
display: inline-block;
|
|
}
|
|
|
|
.agreement-link {
|
|
color: #2e6df6;
|
|
text-decoration: none;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.agreement-link:active {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.submit-btn {
|
|
width: 100%;
|
|
height: 48px;
|
|
line-height: 48px;
|
|
color: #fff;
|
|
font-size: 18px;
|
|
text-align: center;
|
|
background: #3474fe;
|
|
border: none;
|
|
border-radius: 25px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.submit-btn:disabled {
|
|
background: #c8c9cc;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.submit-btn:not(:disabled):active {
|
|
opacity: 0.9;
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
/* 动画效果 */
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.asset-item.show {
|
|
animation: fadeInUp 0.5s ease forwards;
|
|
}
|
|
|
|
/* 城市选择器模态框 */
|
|
.city-picker-modal {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1000;
|
|
display: none;
|
|
}
|
|
|
|
.city-picker-modal.show {
|
|
display: block;
|
|
}
|
|
|
|
.city-picker-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.city-picker-content {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
background-color: #fff;
|
|
border-radius: 20px 20px 0 0;
|
|
max-height: 80vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
animation: slideUp 0.3s ease;
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
transform: translateY(100%);
|
|
}
|
|
to {
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.city-picker-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 6px 20px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.city-picker-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 0;
|
|
background-color: #fff;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.city-picker-body::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
|
|
.city-picker-body::-webkit-scrollbar-thumb {
|
|
background: #e0e0e0;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* ==================== 定位和热门城市区域 ==================== */
|
|
.city-picker-hot-section {
|
|
padding: 8px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 定位区域 */
|
|
.location-section {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
/* 定位标签 */
|
|
.location-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 16px;
|
|
background: #fff;
|
|
border: 1.5px solid #e5e5e5;
|
|
border-radius: 18px;
|
|
font-size: 14px;
|
|
color: #333;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
user-select: none;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.location-badge:hover {
|
|
border-color: #3474fe;
|
|
color: #3474fe;
|
|
background: #E8F0FF;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(52, 116, 254, 0.2);
|
|
}
|
|
|
|
.location-badge:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.location-badge.locating {
|
|
opacity: 0.7;
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.location-badge .location-icon {
|
|
font-size: 16px;
|
|
display: inline-block;
|
|
filter: hue-rotate(0deg) saturate(1.2);
|
|
line-height: 1;
|
|
}
|
|
|
|
.location-badge .location-text {
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* 热门城市区域 */
|
|
.hot-cities-section {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.section-title::before {
|
|
content: '';
|
|
width: 3px;
|
|
height: 14px;
|
|
background: #3474fe;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.hot-cities-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* 热门城市标签 */
|
|
.city-tag {
|
|
padding: 8px 16px;
|
|
background: #fff;
|
|
border: 1.5px solid #e5e5e5;
|
|
border-radius: 20px;
|
|
font-size: 13px;
|
|
color: #333;
|
|
cursor: pointer;
|
|
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
user-select: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.city-tag:hover {
|
|
border-color: #3474fe;
|
|
color: #3474fe;
|
|
background: #E8F0FF;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(52, 116, 254, 0.2);
|
|
}
|
|
|
|
.city-tag:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.city-tag.active {
|
|
background: #3474fe;
|
|
border-color: #3474fe;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
box-shadow: 0 4px 12px rgba(52, 116, 254, 0.35);
|
|
}
|
|
|
|
/* ==================== 省份城市联动区域 ==================== */
|
|
.province-city-section {
|
|
padding: 0;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.province-city-section > .section-title {
|
|
padding: 12px 16px 10px;
|
|
margin-bottom: 0;
|
|
background: #fff;
|
|
}
|
|
|
|
.province-city-container {
|
|
display: flex;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
border-top: 1px solid #f0f0f0;
|
|
}
|
|
|
|
/* 省份列表 */
|
|
.province-list-wrapper {
|
|
width: 100px;
|
|
flex-shrink: 0;
|
|
overflow: hidden;
|
|
background: #f5f5f5;
|
|
border-right: 1px solid #e5e5e5;
|
|
}
|
|
|
|
.province-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
max-height: 280px;
|
|
overflow-y: auto;
|
|
padding-right: 0;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.province-list::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
|
|
.province-list::-webkit-scrollbar-thumb {
|
|
background: #e0e0e0;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.province-item {
|
|
padding: 12px 10px;
|
|
font-size: 14px;
|
|
color: #333;
|
|
cursor: pointer;
|
|
border-radius: 0;
|
|
transition: all 0.2s ease;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
background: transparent;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.province-item:hover {
|
|
background: rgba(255, 255, 255, 0.5);
|
|
color: #333;
|
|
}
|
|
|
|
.province-item.active {
|
|
background: #3474fe;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* 城市网格 */
|
|
.city-grid-wrapper {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
background: #fff;
|
|
}
|
|
|
|
.city-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 10px;
|
|
max-height: 280px;
|
|
overflow-y: auto;
|
|
padding: 12px;
|
|
align-content: start;
|
|
}
|
|
|
|
.city-grid::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.city-grid::-webkit-scrollbar-thumb {
|
|
background: #e0e0e0;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.city-item {
|
|
padding: 10px 6px;
|
|
text-align: center;
|
|
font-size: 13px;
|
|
color: #333;
|
|
background: #fff;
|
|
border: 1px solid #e5e5e5;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
white-space: normal;
|
|
word-break: break-all;
|
|
line-height: 1.3;
|
|
min-height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.city-item:hover {
|
|
background: #E8F0FF;
|
|
border-color: #3474fe;
|
|
color: #3474fe;
|
|
}
|
|
|
|
.city-item.active {
|
|
background: #3474fe;
|
|
border-color: #3474fe;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* 淡入动画 */
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* 响应式设计 */
|
|
@media (max-width: 768px) {
|
|
.province-list-wrapper {
|
|
width: 90px;
|
|
}
|
|
|
|
.city-grid {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 8px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.hot-cities-grid {
|
|
gap: 8px;
|
|
}
|
|
|
|
.city-tag {
|
|
padding: 8px 16px;
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
|
|
.city-picker-btn {
|
|
background: none;
|
|
border: none;
|
|
font-size: 16px;
|
|
padding: 8px 16px;
|
|
cursor: pointer;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.city-picker-btn:active {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.city-picker-cancel {
|
|
color: #333;
|
|
}
|
|
|
|
.city-picker-confirm {
|
|
color: #666;
|
|
font-weight: 400;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.city-picker-confirm.has-selection {
|
|
color: #3474fe;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Toast 提示样式 */
|
|
.toast {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
color: #fff;
|
|
padding: 12px 24px;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
z-index: 10000;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
|
|
pointer-events: none;
|
|
max-width: 80%;
|
|
text-align: center;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.toast.show {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translate(-50%, -50%) scale(1);
|
|
}
|
|
|
|
.toast-content {
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* 基本信息错误提示 */
|
|
.basic-info-error {
|
|
font-size: 12px;
|
|
color: #ff4444;
|
|
margin-top: 4px;
|
|
padding-left: 0;
|
|
text-align: right;
|
|
}
|
|
|
|
.basic-input-inline.error {
|
|
color: #ff4444;
|
|
border-bottom: 1px solid #ff4444;
|
|
background-color: #fff5f5;
|
|
}
|
|
|
|
/* 协议提示弹窗样式 */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
backdrop-filter: blur(4px);
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.modal-overlay.show {
|
|
display: flex;
|
|
opacity: 1;
|
|
}
|
|
|
|
.modal-overlay.showing {
|
|
display: flex;
|
|
}
|
|
|
|
#agreementModal {
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.agreement-modal {
|
|
width: 90%;
|
|
max-width: 320px;
|
|
background-color: #fff;
|
|
border-radius: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
transform: scale(0.8);
|
|
opacity: 0;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
position: relative;
|
|
z-index: 1001;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
|
overflow: hidden;
|
|
}
|
|
|
|
#agreementModal.show .agreement-modal {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
|
|
.agreement-modal-header {
|
|
padding: 20px 20px 16px;
|
|
text-align: center;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.agreement-modal-title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin: 0;
|
|
}
|
|
|
|
.agreement-modal-body {
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.agreement-modal-text {
|
|
font-size: 14px;
|
|
color: #333;
|
|
margin-bottom: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.agreement-modal-links {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.agreement-modal-link {
|
|
color: #3474fe;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.agreement-modal-link:active {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.agreement-modal-footer {
|
|
display: flex;
|
|
border-top: 1px solid #eee;
|
|
padding: 0;
|
|
}
|
|
|
|
.agreement-modal-btn {
|
|
flex: 1;
|
|
height: 48px;
|
|
line-height: 48px;
|
|
font-size: 16px;
|
|
text-align: center;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
background: transparent;
|
|
}
|
|
|
|
.agreement-modal-btn-cancel {
|
|
color: #666;
|
|
border-right: 1px solid #eee;
|
|
}
|
|
|
|
.agreement-modal-btn-cancel:active {
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
.agreement-modal-btn-confirm {
|
|
color: #fff;
|
|
background: linear-gradient(140deg, #3474fe, #3474fe);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.agreement-modal-btn-confirm:active {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
body.modal-open {
|
|
overflow: hidden;
|
|
position: fixed;
|
|
width: 100%;
|
|
}
|
|
|
|
/* ==================== 提交成功页面样式 ==================== */
|
|
.submit-success-container {
|
|
max-width: 800px;
|
|
margin: 20px auto;
|
|
padding: 30px;
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.success-header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
padding-bottom: 20px;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.success-icon {
|
|
font-size: 48px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.success-header h2 {
|
|
font-size: 24px;
|
|
color: #333;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.formdata-id {
|
|
font-size: 14px;
|
|
color: #999;
|
|
}
|
|
|
|
.iframe-container {
|
|
position: relative;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.iframe-wrapper {
|
|
display: none;
|
|
}
|
|
|
|
.iframe-wrapper.active {
|
|
display: block;
|
|
}
|
|
|
|
.iframe-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 16px;
|
|
background: #f8f9fa;
|
|
border-radius: 8px 8px 0 0;
|
|
border: 1px solid #e9ecef;
|
|
}
|
|
|
|
.product-name {
|
|
font-weight: 600;
|
|
color: #333;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.iframe-hint {
|
|
font-size: 13px;
|
|
color: #999;
|
|
}
|
|
|
|
.product-iframe {
|
|
width: 100%;
|
|
height: 600px;
|
|
border: 1px solid #e9ecef;
|
|
border-top: none;
|
|
border-radius: 0 0 8px 8px;
|
|
background: #fff;
|
|
}
|
|
|
|
.product-tabs {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 15px;
|
|
border-bottom: 2px solid #e9ecef;
|
|
}
|
|
|
|
.product-tab {
|
|
flex: 1;
|
|
padding: 12px 20px;
|
|
background: none;
|
|
border: none;
|
|
border-bottom: 2px solid transparent;
|
|
margin-bottom: -2px;
|
|
font-size: 15px;
|
|
color: #666;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.product-tab:hover {
|
|
color: #3474fe;
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.product-tab.active {
|
|
color: #3474fe;
|
|
border-bottom-color: #3474fe;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.no-urls-message {
|
|
text-align: center;
|
|
padding: 40px 20px;
|
|
color: #666;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.no-urls-message p {
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.success-footer {
|
|
margin-top: 30px;
|
|
text-align: center;
|
|
}
|
|
|
|
.back-home-btn {
|
|
padding: 12px 40px;
|
|
background: linear-gradient(140deg, #3474fe, #3474fe);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 24px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.back-home-btn:hover {
|
|
opacity: 0.9;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(52, 116, 254, 0.3);
|
|
}
|
|
|
|
.back-home-btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* ==================== 授权流程样式 ==================== */
|
|
.auth-flow-container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 16px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* 授权进度区域 */
|
|
.auth-progress-section {
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
margin-bottom: 16px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.auth-progress-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.auth-progress-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.auth-progress-count {
|
|
font-size: 14px;
|
|
color: #666;
|
|
}
|
|
|
|
.auth-progress-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.auth-progress-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px;
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.auth-progress-item.active {
|
|
background: #e8f0ff;
|
|
border: 1px solid #3474fe;
|
|
}
|
|
|
|
.auth-progress-item.completed {
|
|
background: #f0fff4;
|
|
}
|
|
|
|
.auth-progress-item.completed .auth-progress-icon {
|
|
color: #19be6b;
|
|
}
|
|
|
|
.auth-progress-item.completed .auth-progress-status {
|
|
color: #19be6b;
|
|
}
|
|
|
|
.auth-progress-item.failed {
|
|
background: #fff5f5;
|
|
}
|
|
|
|
.auth-progress-item.failed .auth-progress-icon {
|
|
color: #ff4444;
|
|
}
|
|
|
|
.auth-progress-item.failed .auth-progress-status {
|
|
color: #ff4444;
|
|
}
|
|
|
|
.auth-progress-item.timeout {
|
|
background: #fffbe6;
|
|
}
|
|
|
|
.auth-progress-item.timeout .auth-progress-icon {
|
|
color: #faad14;
|
|
}
|
|
|
|
.auth-progress-item.timeout .auth-progress-status {
|
|
color: #faad14;
|
|
}
|
|
|
|
.auth-progress-icon {
|
|
font-size: 18px;
|
|
width: 24px;
|
|
text-align: center;
|
|
color: #999;
|
|
}
|
|
|
|
.auth-progress-item.active .auth-progress-icon {
|
|
color: #3474fe;
|
|
animation: pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
.auth-progress-name {
|
|
flex: 1;
|
|
font-size: 14px;
|
|
color: #333;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.auth-progress-status {
|
|
font-size: 12px;
|
|
color: #999;
|
|
}
|
|
|
|
.auth-progress-item.active .auth-progress-status {
|
|
color: #3474fe;
|
|
}
|
|
|
|
/* iframe 区域 */
|
|
.auth-iframe-section {
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.auth-iframe-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 14px 16px;
|
|
background: linear-gradient(135deg, #3474fe 0%, #5b8def 100%);
|
|
color: #fff;
|
|
}
|
|
|
|
.auth-iframe-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.auth-iframe-hint {
|
|
font-size: 12px;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.auth-iframe {
|
|
width: 100%;
|
|
height: calc(100vh - 350px);
|
|
min-height: 400px;
|
|
border: none;
|
|
display: block;
|
|
}
|
|
|
|
/* 授权完成区域 */
|
|
.auth-complete-section {
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.auth-complete-icon {
|
|
width: 72px;
|
|
height: 72px;
|
|
line-height: 72px;
|
|
margin: 0 auto 20px;
|
|
background: linear-gradient(135deg, #19be6b 0%, #47d88a 100%);
|
|
color: #fff;
|
|
font-size: 36px;
|
|
border-radius: 50%;
|
|
box-shadow: 0 4px 12px rgba(25, 190, 107, 0.3);
|
|
}
|
|
|
|
.auth-complete-title {
|
|
font-size: 22px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.auth-complete-desc {
|
|
font-size: 14px;
|
|
color: #666;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.auth-countdown {
|
|
font-size: 14px;
|
|
color: #999;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.auth-countdown #countdownSeconds {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
color: #3474fe;
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.auth-redirect-btn {
|
|
display: inline-block;
|
|
padding: 14px 48px;
|
|
background: linear-gradient(135deg, #3474fe 0%, #5b8def 100%);
|
|
color: #fff;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
border: none;
|
|
border-radius: 24px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 12px rgba(52, 116, 254, 0.3);
|
|
}
|
|
|
|
.auth-redirect-btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 16px rgba(52, 116, 254, 0.4);
|
|
}
|
|
|
|
.auth-redirect-btn:active {
|
|
transform: translateY(0);
|
|
}
|