zjk
2026-07-13 88f1be45a6490c3fe388ab53c6e4d11d57101794
fix(appointment-scan): 调整名称提示区域仅在预约模式下显示

为两个名称提示容器添加mode为appointment的条件渲染,并移除内部名称文本的冗余v-if判断
1个文件已修改
6 ■■■■■ 已修改文件
pages/appointment-scan/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/appointment-scan/index.vue
@@ -63,7 +63,7 @@
          <text class="main-title">请将您的身份证放置读卡器位置</text>
          <text class="main-desc">请将身份证贴近设备感应区,系统将自动读取身份信息</text>
          <view class="name-hint-row">
          <view class="name-hint-row" v-if="mode === 'appointment'">
            <view class="name-icon-box">
              <text class="name-icon-text">人</text>
            </view>
@@ -246,11 +246,11 @@
        <view class="title-group">
          <text class="main-title">请接待人面向屏幕</text>
          <text class="sub-title">请接待人站在设备前,正视屏幕完成身份确认</text>
          <view class="name-pill">
          <view class="name-pill" v-if="mode === 'appointment'">
            <view class="name-icon">
              <text class="name-icon-text">人</text>
            </view>
            <text class="name-text" v-if="appointmentHostName">姓名:{{ appointmentHostName }}</text>
            <text class="name-text">姓名:{{ appointmentHostName }}</text>
          </view>
        </view>