hookehuyr

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

在.gitignore中添加.swc/目录以忽略SWC编译缓存
将NameInput.vue中的字体大小单位从rpx改为响应式单位,提高可维护性
更新组件文件描述为更准确的中文说明
......@@ -22,3 +22,5 @@ CLAUDE.md
*.docx
*.xlsx
*.pptx
.swc/
......
<!--
* @Date: 2026-02-10 14:06:03
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2026-02-10 14:18:58
* @LastEditTime: 2026-02-10 14:44:03
* @FilePath: /manulife-weapp/src/components/plan/PlanFields/NameInput.vue
* @Description: 文件描述
* @Description: 姓名输入框组件
-->
<template>
<!-- 姓名输入框 -->
......@@ -16,7 +16,7 @@
:value="modelValue"
:placeholder="placeholder"
type="text"
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]"
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]"
:class="{ 'text-[#333]': modelValue }"
@input="handleInput"
/>
......