|
|
@@ -25,7 +25,10 @@
|
|
|
|
|
|
<!-- Step 1: 选择家庭成员 -->
|
|
|
<view class="section" v-if="step === 1">
|
|
|
- <view class="section-title">选择家庭成员</view>
|
|
|
+ <view class="section-title-row">
|
|
|
+ <text class="section-title">选择家庭成员</text>
|
|
|
+ <text class="selected-count-badge" v-if="selectedMemberIds.length > 0">已选 {{ selectedMemberIds.length }} 人</text>
|
|
|
+ </view>
|
|
|
<view class="hint-text">选择方案针对的家庭成员(可多选)</view>
|
|
|
<view class="member-list">
|
|
|
<view
|
|
|
@@ -662,6 +665,20 @@ export default {
|
|
|
color: #333;
|
|
|
margin-bottom: 10rpx;
|
|
|
}
|
|
|
+.section-title-row {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ margin-bottom: 10rpx;
|
|
|
+}
|
|
|
+.selected-count-badge {
|
|
|
+ font-size: 22rpx;
|
|
|
+ color: #F97316;
|
|
|
+ background: #FFF3E0;
|
|
|
+ padding: 4rpx 16rpx;
|
|
|
+ border-radius: 20rpx;
|
|
|
+ font-weight: 600;
|
|
|
+}
|
|
|
.hint-text {
|
|
|
font-size: 24rpx;
|
|
|
color: #999;
|
|
|
@@ -682,13 +699,15 @@ export default {
|
|
|
padding: 20rpx 24rpx;
|
|
|
border-radius: 16rpx;
|
|
|
border: 3rpx solid #e8e8e8;
|
|
|
+ border-left: 8rpx solid transparent;
|
|
|
background: #FAFAFA;
|
|
|
transition: all 0.2s;
|
|
|
}
|
|
|
.member-card.active {
|
|
|
border-color: #F97316;
|
|
|
- background: #FFF8F3;
|
|
|
- box-shadow: 0 4rpx 16rpx rgba(249, 115, 22, 0.22);
|
|
|
+ border-left: 8rpx solid #F97316;
|
|
|
+ background: #FFFBF0;
|
|
|
+ box-shadow: 0 4rpx 20rpx rgba(249, 115, 22, 0.18);
|
|
|
}
|
|
|
.member-card-left {
|
|
|
display: flex;
|
|
|
@@ -725,15 +744,15 @@ export default {
|
|
|
color: #F97316;
|
|
|
}
|
|
|
.member-check {
|
|
|
- width: 36rpx;
|
|
|
- height: 36rpx;
|
|
|
+ width: 44rpx;
|
|
|
+ height: 44rpx;
|
|
|
border-radius: 50%;
|
|
|
- border: 2rpx solid #d5d5d5;
|
|
|
+ border: 3rpx solid #d5d5d5;
|
|
|
background: #fff;
|
|
|
- color: #fff;
|
|
|
- font-size: 22rpx;
|
|
|
+ color: transparent;
|
|
|
+ font-size: 24rpx;
|
|
|
font-weight: bold;
|
|
|
- line-height: 32rpx;
|
|
|
+ line-height: 38rpx;
|
|
|
text-align: center;
|
|
|
flex-shrink: 0;
|
|
|
transition: all 0.2s;
|