hookehuyr

chore: 更新.gitignore并调整姓名输入框样式

在.gitignore中添加.swc/目录以忽略SWC编译缓存
将NameInput.vue中的字体大小单位从rpx改为响应式单位,提高可维护性
更新组件文件描述为更准确的中文说明
...@@ -22,3 +22,5 @@ CLAUDE.md ...@@ -22,3 +22,5 @@ CLAUDE.md
22 *.docx 22 *.docx
23 *.xlsx 23 *.xlsx
24 *.pptx 24 *.pptx
25 +
26 +.swc/
......
1 <!-- 1 <!--
2 * @Date: 2026-02-10 14:06:03 2 * @Date: 2026-02-10 14:06:03
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2026-02-10 14:18:58 4 + * @LastEditTime: 2026-02-10 14:44:03
5 * @FilePath: /manulife-weapp/src/components/plan/PlanFields/NameInput.vue 5 * @FilePath: /manulife-weapp/src/components/plan/PlanFields/NameInput.vue
6 - * @Description: 文件描述 6 + * @Description: 姓名输入框组件
7 --> 7 -->
8 <template> 8 <template>
9 <!-- 姓名输入框 --> 9 <!-- 姓名输入框 -->
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
16 :value="modelValue" 16 :value="modelValue"
17 :placeholder="placeholder" 17 :placeholder="placeholder"
18 type="text" 18 type="text"
19 - class="w-full h-[80rpx] px-[24rpx] text-[28rpx] text-[#333] rounded-[12rpx] border border-solid border-gray-200 box-border transition-all duration-300 focus:bg-white focus:border-[#4caf50] focus:outline-none placeholder:text-[#999]" 19 + class="w-full h-[80rpx] px-[24rpx] text-sm text-[#333] rounded-[12rpx] border border-solid border-gray-200 box-border transition-all duration-300 focus:bg-white focus:border-[#4caf50] focus:outline-none placeholder:text-[#999]"
20 :class="{ 'text-[#333]': modelValue }" 20 :class="{ 'text-[#333]': modelValue }"
21 @input="handleInput" 21 @input="handleInput"
22 /> 22 />
......