Pārlūkot izejas kodu

fix(frontend): 健康方案成员选择选中状态增强

- 选中卡片加左侧色条(8rpx orange) + 背景色差加大 + 阴影加深
- 勾选圆圈 36rpx->44rpx,未选时透明打勾文字(不显示),选中时橙色填充✓
- 步骤标题行加已选人数 badge(橙色胶囊标签)

Ultraworked with [Sisyphus](https://github.com/OhMyOpenCode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
E2E Test Bot 1 mēnesi atpakaļ
vecāks
revīzija
d96a28ebf2
1 mainītis faili ar 28 papildinājumiem un 9 dzēšanām
  1. 28 9
      cfc-frontend/pages/health/health-plan-summary.vue

+ 28 - 9
cfc-frontend/pages/health/health-plan-summary.vue

@@ -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;