Browse Source

点击事件修改Item

liukai 8 months ago
parent
commit
570be474e6
1 changed files with 3 additions and 2 deletions
  1. 3 2
      packages/cpt_job/lib/modules/job_list/job_list_item.dart

+ 3 - 2
packages/cpt_job/lib/modules/job_list/job_list_item.dart

@@ -116,7 +116,6 @@ class JobListItem extends StatelessWidget {
                 isFontRegular: true,
                 textColor: ColorConstants.textYellowFFBB1B,
                 fontSize: 14,
-                onClick: onAppliedAction,
               ).expanded(),
             ],
           ).marginOnly(top: 15),
@@ -204,6 +203,8 @@ class JobListItem extends StatelessWidget {
           ),
         ],
       ),
-    );
+    ).onTap(() {
+      onAppliedAction?.call();
+    });
   }
 }