登录界面添加选择国家地区回调

This commit is contained in:
魏少阳 2024-04-18 16:30:39 +08:00
parent 4fda112b8b
commit 86cd2a760a

View File

@ -62,7 +62,7 @@ class _StarLockLoginPageState extends State<StarLockLoginPage> {
child: Image.asset('images/icon_main_1024.png', child: Image.asset('images/icon_main_1024.png',
width: 110.w, height: 110.w))), width: 110.w, height: 110.w))),
SizedBox(height: 50.w), SizedBox(height: 50.w),
CommonItem( Obx(() => CommonItem(
leftTitel: "${"你所在的".tr}${TranslationLoader.lanKeys!.countryAndRegion!.tr}", leftTitel: "${"你所在的".tr}${TranslationLoader.lanKeys!.countryAndRegion!.tr}",
rightTitle: "", rightTitle: "",
isHaveLine: true, isHaveLine: true,
@ -83,7 +83,7 @@ class _StarLockLoginPageState extends State<StarLockLoginPage> {
state.countryName.value = result['countryName']; state.countryName.value = result['countryName'];
} }
}, },
), )),
LoginInput( LoginInput(
controller: state.emailOrPhoneController, controller: state.emailOrPhoneController,
onchangeAction: (v) { onchangeAction: (v) {