From 4f4d9856739b58afb4118ae0789085287dae2aa6 Mon Sep 17 00:00:00 2001 From: xiaowang <2161656029@qq.com> Date: Mon, 7 Sep 2026 11:42:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B3=A8=E5=86=8C=E9=A1=B5?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=A7=A3=E6=9E=90=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JC-Salon-WeChat/pages/register/index.wxss | 257 +++++++++++++++++++++- 1 file changed, 251 insertions(+), 6 deletions(-) diff --git a/JC-Salon-WeChat/pages/register/index.wxss b/JC-Salon-WeChat/pages/register/index.wxss index e62fb2a5..c9dba461 100644 --- a/JC-Salon-WeChat/pages/register/index.wxss +++ b/JC-Salon-WeChat/pages/register/index.wxss @@ -1,6 +1,251 @@ -.auth-page .form-card .field{display:block;min-height:0;padding:0;border:0} -.auth-page .form-card .field-label{width:auto;margin:0 0 12rpx} -.auth-page .form-card .field input{display:block;width:100%;flex:none} -.auth-page .form-card .code-row{display:flex;align-items:center;width:100%;gap:14rpx} -.auth-page .form-card .code-row .code-input{width:auto;flex:1;min-width:0} -.auth-page .form-card .code-row .code-btn{flex:none} +.auth-page { + padding: 36rpx 28rpx 48rpx; + background: #f4f8f5; +} + +.auth-header { + display: flex; + align-items: center; + margin-bottom: 34rpx; +} + +.logo { + width: 88rpx; + height: 88rpx; + border-radius: 26rpx; + background: #dce9df; + box-shadow: 0 12rpx 28rpx rgba(55, 94, 72, .14); +} + +.header-copy { + display: flex; + flex-direction: column; + margin-left: 20rpx; +} + +.brand-name { color: #2e4a3d; font-size: 42rpx; font-weight: 800; } +.brand-sub { margin-top: 8rpx; color: #7b8f82; font-size: 23rpx; } + +.progress-row { + display: flex; + align-items: center; + margin-bottom: 26rpx; +} + +.progress-step { + display: flex; + flex-direction: column; + align-items: center; + color: #a3b0a7; + font-size: 20rpx; + white-space: nowrap; +} + +.progress-step text { + display: flex; + align-items: center; + justify-content: center; + width: 42rpx; + height: 42rpx; + border-radius: 50%; + background: #e0e9e2; + color: #8da095; + font-size: 22rpx; + font-weight: 700; +} + +.progress-step label { margin-top: 8rpx; } +.progress-step.active { color: #3d6652; } +.progress-step.active text { background: #3d6652; color: #fff; } + +.progress-line { + height: 2rpx; + flex: 1; + margin: 0 12rpx 30rpx; + background: #dce6de; +} + +.progress-line.active { background: #7ca48a; } + +.form-card, +.result-card { + padding: 34rpx 28rpx; + border: 1rpx solid #e1ebe3; + border-radius: 24rpx; + background: #fbfdfb; + box-shadow: 0 18rpx 46rpx rgba(55, 94, 72, .08); +} + +.section-title { color: #2e4a3d; font-size: 34rpx; font-weight: 800; } +.section-desc { margin-top: 10rpx; color: #87978c; font-size: 23rpx; line-height: 1.55; } + +.auth-page .form-card .field { + display: block; + min-height: 0; + margin-top: 26rpx; + padding: 0; + border: 0; +} + +.auth-page .form-card .field-label { + display: block; + width: auto; + margin: 0 0 12rpx; + color: #577061; + font-size: 23rpx; + font-weight: 700; +} + +.auth-page .form-card .field input, +.picker-value { + box-sizing: border-box; + display: block; + width: 100%; + height: 84rpx; + flex: none; + padding: 0 24rpx; + border: 1rpx solid #dfe9e1; + border-radius: 14rpx; + background: #f7faf7; + color: #2e4a3d; + font-size: 27rpx; +} + +.picker-value { + display: flex; + align-items: center; + color: #a0ada4; +} + +.picker-value.filled { color: #2e4a3d; } + +.code-row { + display: flex; + align-items: center; + width: 100%; + gap: 14rpx; +} + +.auth-page .form-card .code-row .code-input { + width: auto; + min-width: 0; + flex: 1; +} + +.code-btn { + width: 176rpx; + min-width: 176rpx; + height: 68rpx; + flex: none; + padding: 0; + border: 1rpx solid #b9d0c0; + border-radius: 12rpx; + background: #edf5ef; + color: #3d6652; + font-size: 23rpx; + font-weight: 700; + line-height: 68rpx; + white-space: nowrap; +} + +.code-btn.counting { + border-color: #e0e8e2; + background: #f4f7f4; + color: #9ca9a0; + font-weight: 500; +} + +.secondary-entry, +.back-entry { + margin-top: 24rpx; + color: #5b806b; + font-size: 24rpx; + text-align: center; +} + +.secondary-entry text { margin-left: 8rpx; font-size: 30rpx; } +.password-panel { padding-bottom: 4rpx; } + +.primary-btn { + height: 84rpx; + margin-top: 30rpx; + border-radius: 14rpx; + background: #3d6652; + color: #fff; + font-size: 28rpx; + font-weight: 700; + line-height: 84rpx; +} + +.role-list { margin-top: 28rpx; } + +.role-option { + display: flex; + align-items: center; + min-height: 112rpx; + margin-top: 16rpx; + padding: 0 20rpx; + border: 1rpx solid #e1ebe3; + border-radius: 16rpx; + background: #f8fbf8; +} + +.role-option.selected { + border-color: #78a288; + background: #edf6ef; + box-shadow: 0 10rpx 22rpx rgba(61, 102, 82, .08); +} + +.role-icon { + display: flex; + align-items: center; + justify-content: center; + width: 64rpx; + height: 64rpx; + border-radius: 18rpx; + background: #dce9df; + color: #3d6652; + font-size: 25rpx; + font-weight: 800; +} + +.role-copy { display: flex; flex: 1; flex-direction: column; margin-left: 18rpx; } +.role-title { color: #2e4a3d; font-size: 28rpx; font-weight: 700; } +.role-desc { margin-top: 8rpx; color: #8b9b90; font-size: 22rpx; } +.role-mark { color: #6f9780; font-size: 34rpx; } + +.notice { + margin-top: 18rpx; + padding: 18rpx; + border-radius: 12rpx; + background: #f1f6f2; + color: #718579; + font-size: 22rpx; + line-height: 1.5; +} + +.result-card { + display: flex; + flex-direction: column; + align-items: center; + padding-top: 64rpx; + text-align: center; +} + +.result-icon { + display: flex; + align-items: center; + justify-content: center; + width: 92rpx; + height: 92rpx; + border-radius: 50%; + background: #dcece0; + color: #3d6652; + font-size: 48rpx; + font-weight: 800; +} + +.result-card .section-title { margin-top: 24rpx; } +.result-status { margin-top: 28rpx; padding: 18rpx 28rpx; border-radius: 12rpx; background: #f1f6f2; color: #75887b; font-size: 24rpx; } +.result-status text { color: #c28b47; font-weight: 700; } +.safe-note { margin-top: 28rpx; color: #9aa9a0; font-size: 21rpx; line-height: 1.5; text-align: center; }