285 lines
4.8 KiB
Plaintext
285 lines
4.8 KiB
Plaintext
/* pages/enterprise/index.wxss - 企业版首页样式(与个人版相同,仅背景不同) */
|
||
.container {
|
||
min-height: 100vh;
|
||
width: 100vw;
|
||
overflow-x: hidden;
|
||
overflow-y: auto;
|
||
background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 50%, #ffffff 100%);
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: column;
|
||
box-sizing: border-box;
|
||
/* 底部留足空间,避免开始按钮遮挡 tabBar 中间浮起圆钮(上浮 56rpx) */
|
||
padding-bottom: calc(156rpx + env(safe-area-inset-bottom) + 40rpx);
|
||
}
|
||
|
||
/* 背景装饰圆形 */
|
||
.bg-decoration {
|
||
position: absolute;
|
||
width: 600rpx;
|
||
height: 600rpx;
|
||
border-radius: 50%;
|
||
pointer-events: none;
|
||
z-index: 0;
|
||
}
|
||
|
||
.bg-top-right {
|
||
top: -200rpx;
|
||
right: -200rpx;
|
||
background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
|
||
}
|
||
|
||
.bg-bottom-left {
|
||
/* bottom: -200rpx;
|
||
left: -200rpx; */
|
||
bottom: 0;
|
||
left: 0;
|
||
background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
|
||
}
|
||
|
||
/* 自定义导航栏 */
|
||
.custom-navbar {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
background: #ffffff;
|
||
z-index: 10000;
|
||
width: 100%;
|
||
}
|
||
|
||
.navbar-content {
|
||
height: 88rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
padding: 0 40rpx;
|
||
position: relative;
|
||
background: #ffffff;
|
||
min-height: 88rpx;
|
||
}
|
||
|
||
.navbar-title {
|
||
position: absolute;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
font-size: 36rpx;
|
||
font-weight: 700;
|
||
color: #333;
|
||
text-align: center;
|
||
flex: 1;
|
||
}
|
||
|
||
.navbar-placeholder {
|
||
width: 140rpx;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.switch-personal-btn {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8rpx;
|
||
padding: 12rpx 20rpx;
|
||
background: rgba(99, 102, 241, 0.1);
|
||
border-radius: 30rpx;
|
||
border: 1rpx solid rgba(99, 102, 241, 0.2);
|
||
flex-shrink: 0;
|
||
z-index: 10;
|
||
}
|
||
|
||
.personal-icon {
|
||
font-size: 28rpx;
|
||
}
|
||
|
||
.personal-text {
|
||
font-size: 24rpx;
|
||
color: #6366f1;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.top-image-section {
|
||
width: 100%;
|
||
padding: 15rpx 40rpx 20rpx;
|
||
flex-shrink: 0;
|
||
box-sizing: border-box;
|
||
position: relative;
|
||
z-index: 1;
|
||
margin-top: 0;
|
||
}
|
||
|
||
.image-container {
|
||
position: relative;
|
||
width: 100%;
|
||
}
|
||
|
||
.image-wrapper {
|
||
position: relative;
|
||
width: 100%;
|
||
padding-top: 100%;
|
||
border-radius: 50%;
|
||
overflow: hidden;
|
||
background: #ffffff;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.12);
|
||
}
|
||
|
||
.main-image {
|
||
position: absolute;
|
||
top: 50%;
|
||
left: 50%;
|
||
transform: translate(-50%, -50%);
|
||
width: 85%;
|
||
height: 85%;
|
||
display: block;
|
||
}
|
||
|
||
.float-tag {
|
||
position: absolute;
|
||
padding: 12rpx 24rpx;
|
||
border-radius: 30rpx;
|
||
font-size: 24rpx;
|
||
font-weight: 600;
|
||
color: #e63946;
|
||
background: rgba(255, 255, 255, 0.95);
|
||
box-shadow: 0 4rpx 16rpx rgba(230, 57, 70, 0.2);
|
||
white-space: nowrap;
|
||
z-index: 10;
|
||
}
|
||
|
||
.tag-1 {
|
||
top: 15%;
|
||
right: 10rpx;
|
||
}
|
||
|
||
.tag-2 {
|
||
bottom: 25%;
|
||
left: 0;
|
||
}
|
||
|
||
.tag-3 {
|
||
bottom: 25%;
|
||
right: 0;
|
||
}
|
||
|
||
.process-section {
|
||
padding: 15rpx 40rpx 20rpx;
|
||
flex-shrink: 0;
|
||
position: relative;
|
||
z-index: 1;
|
||
}
|
||
|
||
.section-title {
|
||
font-size: 32rpx;
|
||
font-weight: 700;
|
||
color: #e63946;
|
||
text-align: center;
|
||
margin-bottom: 25rpx;
|
||
}
|
||
|
||
.process-steps {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
padding: 0 10rpx;
|
||
}
|
||
|
||
.step-item {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
flex: 1;
|
||
}
|
||
|
||
.step-circle {
|
||
width: 70rpx;
|
||
height: 70rpx;
|
||
border-radius: 50%;
|
||
background: #b8b9bc;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 36rpx;
|
||
font-weight: 700;
|
||
color: #fff;
|
||
margin-bottom: 12rpx;
|
||
}
|
||
|
||
.step-circle.active {
|
||
background: #e63946;
|
||
}
|
||
|
||
.step-label {
|
||
font-size: 20rpx;
|
||
color: #666;
|
||
margin-bottom: 4rpx;
|
||
}
|
||
|
||
.step-text {
|
||
font-size: 24rpx;
|
||
color: #333;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.step-line {
|
||
width: 50rpx;
|
||
height: 4rpx;
|
||
background: #e0e0e0;
|
||
margin: 0 6rpx 50rpx;
|
||
}
|
||
|
||
.start-button {
|
||
/* 顶部与中间按钮的间距:上 20,下 10 */
|
||
margin: 20rpx 40rpx 0;
|
||
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
|
||
border-radius: 50rpx;
|
||
padding: 24rpx;
|
||
text-align: center;
|
||
box-shadow: 0 8rpx 30rpx rgba(99, 102, 241, 0.3);
|
||
position: relative;
|
||
z-index: 1;
|
||
}
|
||
|
||
.button-text {
|
||
font-size: 30rpx;
|
||
color: #fff;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.upload-button {
|
||
margin: 10rpx 40rpx 0;
|
||
border: 2rpx solid #8b5cf6;
|
||
border-radius: 50rpx;
|
||
padding: 20rpx;
|
||
text-align: center;
|
||
background: #fff;
|
||
position: relative;
|
||
z-index: 1;
|
||
}
|
||
|
||
.upload-button-primary {
|
||
margin: 20rpx 40rpx 0;
|
||
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
|
||
border: none;
|
||
}
|
||
|
||
.upload-button-primary .upload-text {
|
||
color: #fff;
|
||
}
|
||
|
||
.upload-text {
|
||
font-size: 26rpx;
|
||
color: #8b5cf6;
|
||
font-weight: 600;
|
||
}
|
||
|
||
/* 确保底部导航显示 */
|
||
custom-tab-bar {
|
||
position: fixed;
|
||
bottom: 0;
|
||
left: 0;
|
||
right: 0;
|
||
z-index: 9999;
|
||
}
|