Просмотр исходного кода

fix(ui): 移除银行卡添加按钮并添加页面底部空间

- 移除BankCardInfo组件右上角的"添加"按钮
- 人才小程序为纯查询应用,写操作由管理员在后台完成
- 为PersonalInfoPage内容区域添加pb-8底部间距
- 确保滚动时最底部内容不被TabBar遮挡
- 所有28个测试用例通过

🤖 Generated with [Claude Code](https://claude.com/claude-code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
yourname 3 недель назад
Родитель
Сommit
4a5b9dbfd9

+ 2 - 8
mini-ui-packages/rencai-personal-info-ui/src/components/BankCardInfo.tsx

@@ -39,14 +39,8 @@ const BankCardInfo: React.FC<BankCardInfoProps> = ({ bankCards, loading }) => {
 
   return (
     <View className="bg-white rounded-lg p-4 mb-3 flex flex-col">
-      {/* 标题和添加按钮 */}
-      <View className="flex justify-between items-center mb-3">
-        <Text className="text-base font-semibold text-gray-700">银行卡信息</Text>
-        <View className="flex items-center">
-          <View className="i-heroicons-plus-20-solid w-4 h-4 text-blue-500 mr-1" />
-          <Text className="text-sm text-blue-500">添加</Text>
-        </View>
-      </View>
+      {/* 标题 */}
+      <Text className="text-base font-semibold text-gray-700 mb-3">银行卡信息</Text>
 
       <View>
         {bankCards.map((bankCard) => (

+ 1 - 1
mini-ui-packages/rencai-personal-info-ui/src/pages/PersonalInfoPage/PersonalInfoPage.tsx

@@ -119,7 +119,7 @@ const PersonalInfoPage: React.FC = () => {
         />
 
         {/* 页面内容 */}
-        <View className="px-4 py-3">
+        <View className="px-4 py-3 pb-8">
 
           {/* 个人基本信息卡片 */}
           <PersonalBasicInfo