diff --git a/pages/evaluate2/spec-detail.wxss b/pages/evaluate2/spec-detail.wxss index 8fd2942..5b157e1 100644 --- a/pages/evaluate2/spec-detail.wxss +++ b/pages/evaluate2/spec-detail.wxss @@ -8,6 +8,70 @@ box-sizing: border-box; } +/* 步骤指示器 */ +.step-indicator { + display: flex; + align-items: center; + justify-content: space-between; + padding: 32rpx; + background: #FFFFFF; + box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.05); + margin-bottom: 24rpx; + width: 100%; + box-sizing: border-box; +} + +.step-item { + display: flex; + flex-direction: column; + align-items: center; + flex: 1; +} + +.step-number { + width: 48rpx; + height: 48rpx; + border-radius: 50%; + background: #E5E5E5; + display: flex; + align-items: center; + justify-content: center; + font-size: 24rpx; + font-weight: 600; + color: #999; + margin-bottom: 8rpx; + transition: all 0.3s ease; +} + +.step-text { + font-size: 20rpx; + color: #999; + transition: all 0.3s ease; +} + +.step-item.active .step-number { + background: #007AFF; + color: #FFFFFF; + box-shadow: 0 0 0 8rpx rgba(0,122,255,0.1); +} + +.step-item.active .step-text { + color: #007AFF; + font-weight: 500; +} + +.step-line { + flex: 1; + height: 2rpx; + background: #E5E5E5; + margin: 0 16rpx; + transition: all 0.3s ease; +} + +.step-line.active { + background: #007AFF; +} + /* 头部样式 */ .page-header { background: rgba(255, 255, 255, 0.95);