|
@@ -243,19 +243,46 @@ class _AppliedAddStaffState extends State<AppliedAddStaff> {
|
|
|
],
|
|
|
),
|
|
|
Row(
|
|
|
+ mainAxisAlignment: MainAxisAlignment.start,
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
children: [
|
|
|
+ // location
|
|
|
+ Expanded(
|
|
|
+ // child: SearchAppBar(
|
|
|
+ // key: Key("searchLocation"),
|
|
|
+ // value: controller.searchLocation,
|
|
|
+ // searchBarHeight: 38,
|
|
|
+ // searchBarBgColor: Colors.white,
|
|
|
+ // searchBarBorderRadius: 15,
|
|
|
+ // searchBarBorder: Border.all(
|
|
|
+ // color: Color(0XFFC3C3C3), // 设置边框颜色为灰色
|
|
|
+ // width: 0.5, // 设置边框宽度
|
|
|
+ // ),
|
|
|
+ // textHintColor: Color(0XFFAFB3B7),
|
|
|
+ // textColor: ColorConstants.black33,
|
|
|
+ // textFontSize: 12.0,
|
|
|
+ // showSearchIcon: false,
|
|
|
+ // margin: EdgeInsets.only(right: 5),
|
|
|
+ // onSearch: (searchLocation) {
|
|
|
+ // controller.searchLocationInputSearch(searchLocation);
|
|
|
+ // },
|
|
|
+ // hintText: "Location".tr,
|
|
|
+ // controller: controller.searchLocationController,
|
|
|
+ // ),
|
|
|
+ child: Container(child: _buildLocationSelectWidget(controller)).marginOnly(right: 5),
|
|
|
+ ),
|
|
|
Expanded(
|
|
|
child: SearchAppBar(
|
|
|
key: Key("keyword"),
|
|
|
value: controller.keyword,
|
|
|
searchBarHeight: 38,
|
|
|
- searchBarBgColor: Colors.white,
|
|
|
+ searchBarBgColor: Color(0xFF4DCFF6).withOpacity(0.2),
|
|
|
searchBarBorderRadius: 15,
|
|
|
- searchBarBorder: Border.all(
|
|
|
- color: Color(0XFFC3C3C3), // 设置边框颜色为灰色
|
|
|
- width: 0.5, // 设置边框宽度
|
|
|
- ),
|
|
|
- textHintColor: Color(0XFFAFB3B7),
|
|
|
+ // searchBarBorder: Border.all(
|
|
|
+ // color: Color(0XFFC3C3C3), // 设置边框颜色为灰色
|
|
|
+ // width: 0.5, // 设置边框宽度
|
|
|
+ // ),
|
|
|
+ textHintColor: ColorConstants.textGrayAECAE5,
|
|
|
textColor: ColorConstants.black33,
|
|
|
textFontSize: 12.0,
|
|
|
showSearchIcon: false,
|
|
@@ -267,29 +294,6 @@ class _AppliedAddStaffState extends State<AppliedAddStaff> {
|
|
|
controller: controller.searchController,
|
|
|
),
|
|
|
),
|
|
|
- Expanded(
|
|
|
- child: SearchAppBar(
|
|
|
- key: Key("searchLocation"),
|
|
|
- value: controller.searchLocation,
|
|
|
- searchBarHeight: 38,
|
|
|
- searchBarBgColor: Colors.white,
|
|
|
- searchBarBorderRadius: 15,
|
|
|
- searchBarBorder: Border.all(
|
|
|
- color: Color(0XFFC3C3C3), // 设置边框颜色为灰色
|
|
|
- width: 0.5, // 设置边框宽度
|
|
|
- ),
|
|
|
- textHintColor: Color(0XFFAFB3B7),
|
|
|
- textColor: ColorConstants.black33,
|
|
|
- textFontSize: 12.0,
|
|
|
- showSearchIcon: false,
|
|
|
- margin: EdgeInsets.only(right: 5),
|
|
|
- onSearch: (searchLocation) {
|
|
|
- controller.searchLocationInputSearch(searchLocation);
|
|
|
- },
|
|
|
- hintText: "Location".tr,
|
|
|
- controller: controller.searchLocationController,
|
|
|
- ),
|
|
|
- ),
|
|
|
Row(
|
|
|
mainAxisAlignment: MainAxisAlignment.end,
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
@@ -417,6 +421,52 @@ class _AppliedAddStaffState extends State<AppliedAddStaff> {
|
|
|
);
|
|
|
}
|
|
|
|
|
|
+ // location 下拉选择
|
|
|
+ Widget _buildLocationSelectWidget(AppliedAddStaffController controller) {
|
|
|
+ return Container(
|
|
|
+ child: Row(
|
|
|
+ mainAxisSize: MainAxisSize.max,
|
|
|
+ mainAxisAlignment: MainAxisAlignment.start,
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
+ children: [
|
|
|
+ // 行业
|
|
|
+ // FormRequireText(text: "Industry".tr, isRequired: false,).marginOnly(right: 38),
|
|
|
+ //选择行业
|
|
|
+ Expanded(
|
|
|
+ child: Container(
|
|
|
+ padding: const EdgeInsets.only(left: 5, right: 5),
|
|
|
+ margin: const EdgeInsets.only(top: 5),
|
|
|
+ height: 38,
|
|
|
+ decoration: BoxDecoration(
|
|
|
+ color: Color(0xFF4DCFF6).withOpacity(0.2),
|
|
|
+ // border: Border.all(color: Colors.black12.withOpacity(0.05)),
|
|
|
+ borderRadius: const BorderRadius.all(Radius.circular(15)),
|
|
|
+ ),
|
|
|
+ child: Row(
|
|
|
+ mainAxisSize: MainAxisSize.max,
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
+ mainAxisAlignment: MainAxisAlignment.start,
|
|
|
+ children: [
|
|
|
+ MyTextView(
|
|
|
+ controller.selectedLocationStr ==null || Utils.isEmpty(controller.selectedLocationStr)? '': controller.selectedLocationStr! ,
|
|
|
+ hint: "Location".tr,
|
|
|
+ textHintColor: ColorConstants.textGrayAECAE5,
|
|
|
+ fontSize: 12,
|
|
|
+ isFontMedium: true,
|
|
|
+ textColor: ColorConstants.black33,
|
|
|
+ ).expanded(),
|
|
|
+ const MyAssetImage(Assets.baseServiceTriangleDropDownIcon, width: 11.5, height: 6.28),
|
|
|
+ ],
|
|
|
+ ),
|
|
|
+ ).onTap(() {
|
|
|
+ controller.showChooseSearchLocationPicker();
|
|
|
+ }),
|
|
|
+ )
|
|
|
+ ],
|
|
|
+ ),
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
Widget _buildStaffItem(AppliedAddStaffController controller, UkJobListAppliedStaffSearchRows item, VoidCallback clickItemCallback, { VoidCallback? clickFavoriteCallback }) {
|
|
|
return Stack(
|
|
|
children: [
|