美化了样式2.0

This commit is contained in:
2025-08-15 11:14:42 +08:00
parent 1b4d3e310b
commit 23ab2798d8
23 changed files with 1555 additions and 1106 deletions

View File

@ -1,205 +1,208 @@
/* pages/loginModule/employeeAccountApply/employeeAccountApply.wxss */
.mt-15 {
margin-top: 28.13rpx;
}
.mt-21 {
margin-top: 39.38rpx;
}
/* ===== 页面与顶区 ===== */
.page {
padding: 67.5rpx 49.69rpx 84.38rpx 51.56rpx;
background-color: #ffffff;
width: 100%;
height: 100%;
position: fixed;
bottom: 0;
overflow: auto;
height: calc(100vh - 1rpx);
box-sizing: border-box;
min-height: 100vh;
padding: 56rpx 32rpx 40rpx;
background-image: linear-gradient(180deg, #ffe3c4 0%, #fff 38%);
display: flex;
flex-direction: column;
align-items: center;
position: relative;
}
.image {
width: 232.5rpx;
height: 232.5rpx;
.logo {
width: 180rpx;
height: 180rpx;
border-radius: 24rpx;
box-shadow: 0 8rpx 24rpx rgba(0,0,0,0.06);
}
.text {
margin-top: 35.14rpx;
.page-title {
margin-top: 12rpx;
font-size: 34rpx;
color: #1c2023;
font-size: 37.5rpx;
font-family: AlibabaPuHuiTi;
line-height: 35.21rpx;
font-weight: 700;
}
.group {
margin-top: 62.77rpx;
}
.group_1 {
padding-left: 2.77rpx;
}
.font {
font-size: 30rpx;
font-family: SourceHanSansCN;
line-height: 27.79rpx;
color: #b3b3b3;
}
.text_2 {
color: #1c2023;
line-height: 28.01rpx;
}
.group_2 {
width: 236.4rpx;
}
.image_2 {
width: 30rpx;
height: 30rpx;
}
.image_3 {
margin-left: 206.4rpx;
}
.font_2 {
font-size: 26.25rpx;
font-family: SourceHanSansCN;
line-height: 24.3rpx;
color: #ff8d1a;
}
.text_3 {
margin-left: -236.4rpx;
}
.section {
padding: 20.63rpx 0 18.75rpx;
background-color: #ffffff;
border-radius: 9.38rpx;
box-shadow: 0rpx 3.75rpx 11.25rpx #00000040;
}
.text-wrapper {
margin-left: 16.88rpx;
margin-right: 16.88rpx;
}
.view {
padding: 15.92rpx 0 12.67rpx;
background-color: #ffffff00;
}
.section_1 {
padding: 20.16rpx 0 19.22rpx;
background-color: #ffffff;
border-radius: 9.38rpx;
box-shadow: 0rpx 3.75rpx 7.5rpx #00000040;
}
.text-wrapper_1 {
padding: 12.64rpx 0 15.92rpx;
background-color: #ffffff00;
}
.section_3 {
padding: 30.69rpx 16.88rpx;
background-color: #ffffff;
border-radius: 9.38rpx;
box-shadow: 0rpx 3.75rpx 7.5rpx #00000040;
}
.text-wrapper_2 {
flex: 1 1 0;
}
.view_3 {
padding: 16.73rpx 0 11.74rpx;
background-color: #ffffff00;
height: 56.25rpx;
}
.text-wrapper_3 {
margin-right: 15rpx;
/* padding: 13.16rpx 0 10.93rpx; */
background-color: #ff8d1a;
border-radius: 9.38rpx;
width: 157.5rpx;
height: 45rpx;
}
.text_8 {
color: #ffffff;
font-size: 22.5rpx;
font-family: AlibabaPuHuiTi;
line-height: 15.91rpx;
}
.section_2 {
padding: 19.69rpx 0;
background-color: #ffffff;
border-radius: 9.38rpx;
box-shadow: 0rpx 3.75rpx 7.5rpx #00000040;
}
.text-wrapper_4 {
margin-left: 16.88rpx;
}
.view_4 {
padding: 16.86rpx 0 11.46rpx;
background-color: #ffffff00;
width: 510.63rpx;
}
.section_4 {
padding: 30.81rpx 0 38.16rpx;
background-color: #ff8d1a1a;
border-radius: 9.38rpx;
border: dotted 1.88rpx #ff8d1a;
}
.image_4 {
width: 127.5rpx;
height: 127.5rpx;
}
.text_10 {
color: #000000;
line-height: 24.23rpx;
}
.text-wrapper_5 {
padding: 36.43rpx 0 33.58rpx;
background-color: #ff8d1a;
border-radius: 9.38rpx;
}
.text_11 {
color: #ffffff;
font-size: 30rpx;
font-family: AlibabaPuHuiTi;
line-height: 27.49rpx;
}
.group_4 {
padding: 2.66rpx 0 3rpx;
}
.pos {
position: absolute;
left: 402.19rpx;
top: 50%;
transform: translateY(-50%);
}
.text_12 {
line-height: 24.34rpx;
}
.input {
padding: 15rpx 16.26rpx 13.13rpx 16.26rpx;
}
.input_1 {
padding: 13.13rpx 16.26rpx 15rpx 16.26rpx;
}
.input_2 {
padding: 0 16.88rpx;
}
.input_3 {
padding: 16.88rpx 16.26rpx 11.25rpx 16.26rpx;
}
/* 遮罩层 */
/* ===== 遮罩(上传中) ===== */
.mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 9999;
inset: 0;
background: rgba(0,0,0,0.35);
backdrop-filter: blur(2rpx);
z-index: 99;
display: flex;
justify-content: center;
align-items: center;
justify-content: center;
}
/* 加载中文本 */
.loading-text {
color: #ffffff;
font-size: 34rpx;
font-family: AlibabaPuHuiTi;
padding: 20rpx 28rpx;
background: #000000cc;
color: #fff;
border-radius: 16rpx;
font-size: 28rpx;
}
/* 上传成功文字样式 */
.upload-success-text {
/* ===== 主卡片 ===== */
.card {
width: 100%;
margin-top: 24rpx;
background: #fff;
border-radius: 24rpx;
box-shadow: 0 12rpx 36rpx rgba(0,0,0,0.08);
padding: 24rpx 24rpx 16rpx;
}
.card-head {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 12rpx;
border-bottom: 1rpx solid #f1f1f1;
}
.card-title {
font-size: 30rpx;
font-weight: bold;
font-weight: 700;
color: #1c2023;
}
/* 须知入口 */
.head-link {
display: flex;
align-items: center;
gap: 8rpx;
}
.head-link-icon {
width: 28rpx;
height: 28rpx;
}
.head-link-text {
font-size: 26rpx;
color: #ff8d1a;
}
/* ===== 表单 ===== */
.form { padding-top: 16rpx; }
.field {
background: #fff;
border: 1rpx solid #e9e9ec;
border-radius: 16rpx;
padding: 18rpx 22rpx;
box-shadow: 0 6rpx 16rpx rgba(0,0,0,0.04);
margin-top: 18rpx;
}
.field:focus-within {
border-color: #ff8d1a;
box-shadow: 0 10rpx 24rpx rgba(255,141,26,0.14);
}
.field-input {
width: 100%;
font-size: 30rpx;
color: #1c2023;
line-height: 44rpx;
}
.ph { color: #9aa0a6; }
/* 验证码行 */
.field-row {
display: flex;
align-items: center;
gap: 16rpx;
padding-right: 16rpx;
}
.flex-1 { flex: 1; }
.code-btn {
height: 44rpx;
padding: 0 22rpx;
background: #ff8d1a;
border-radius: 12rpx;
display: flex;
align-items: center;
justify-content: center;
white-space: nowrap;
box-shadow: 0 8rpx 18rpx rgba(255,141,26,0.25);
transition: transform .08s ease-in-out, opacity .2s;
}
.code-btn:active { transform: scale(0.98); }
.code-btn-text {
color: #fff;
font-size: 24rpx;
font-weight: 600;
}
/* ===== 上传简历 ===== */
.upload-box {
margin-top: 18rpx;
border: 1rpx dashed #ffb66a;
background: #fffaf4;
border-radius: 16rpx;
padding: 28rpx 22rpx;
display: flex;
align-items: center;
gap: 16rpx;
transition: transform .06s ease-in-out, background .2s;
}
.upload-box:active { transform: scale(0.992); }
.upload-icon {
width: 56rpx;
height: 56rpx;
}
.upload-tip {
font-size: 26rpx;
color: #666a73;
}
.upload-success-text {
font-size: 26rpx;
color: #13b26b;
font-weight: 600;
}
/* ===== 提交按钮 ===== */
.btn-primary {
margin-top: 22rpx;
height: 96rpx;
border-radius: 48rpx; /* 胶囊 */
background: linear-gradient(180deg, #ff9a2d 0%, #ff8d1a 100%);
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 14rpx 28rpx rgba(255,141,26,0.28);
transition: transform .06s ease-in-out;
}
.btn-primary:active { transform: scale(0.985); }
.btn-primary-text {
color: #ffffff;
font-size: 32rpx;
font-weight: 700;
}
/* ===== 记录入口 ===== */
.record {
margin-top: 12rpx;
padding: 16rpx 8rpx 4rpx;
display: flex;
align-items: center;
gap: 10rpx;
justify-content: center;
}
.record-icon { width: 28rpx; height: 28rpx; }
.record-text { font-size: 26rpx; color: #1c2023; }
/* ===== 复用的工具类(与原项目兼容) ===== */
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.self-center { align-self: center; }
.self-stretch { align-self: stretch; }
.relative { position: relative; }
.shrink-0 { flex-shrink: 0; }
.mt-15 { margin-top: 30rpx; }
.mt-21 { margin-top: 42rpx; }
.mt-28 { margin-top: 56rpx; }
.ml-16 { margin-left: 32rpx; }