|
@@ -123,35 +123,35 @@ class SelectCountryPage extends BaseStatelessPage<SelectCountryController> {
|
|
|
}),
|
|
|
|
|
|
//英国的选项
|
|
|
- // Container(
|
|
|
- // width: double.infinity,
|
|
|
- // margin: const EdgeInsets.only(top: 13.5, left: 20, right: 20),
|
|
|
- // padding: const EdgeInsets.symmetric(vertical: 13, horizontal: 17),
|
|
|
- // decoration: BoxDecoration(
|
|
|
- // color: const Color(0xFF4DCFF6).withOpacity(0.2), // 设置背景颜色和不透明度
|
|
|
- // borderRadius: BorderRadius.circular(5.0), // 设置圆角
|
|
|
- // ),
|
|
|
- // child: Row(
|
|
|
- // children: [
|
|
|
- // const MyAssetImage(Assets.cptAuthUkIcon, width: 50, height: 33),
|
|
|
- // MyTextView(
|
|
|
- // "United Kingdom".tr,
|
|
|
- // marginLeft: 17,
|
|
|
- // textColor: ColorConstants.white,
|
|
|
- // isFontMedium: true,
|
|
|
- // fontSize: 18,
|
|
|
- // ).expanded(),
|
|
|
- // Obx(() {
|
|
|
- // return Visibility(
|
|
|
- // visible: ConfigService.to.selectCountry.value == 2,
|
|
|
- // child: const MyAssetImage(Assets.cptAuthCheckedIcon, width: 22, height: 22),
|
|
|
- // );
|
|
|
- // }),
|
|
|
- // ],
|
|
|
- // ),
|
|
|
- // ).onTap(() {
|
|
|
- // ConfigService.to.selectCountry.value = 2;
|
|
|
- // }),
|
|
|
+ Container(
|
|
|
+ width: double.infinity,
|
|
|
+ margin: const EdgeInsets.only(top: 13.5, left: 20, right: 20),
|
|
|
+ padding: const EdgeInsets.symmetric(vertical: 13, horizontal: 17),
|
|
|
+ decoration: BoxDecoration(
|
|
|
+ color: const Color(0xFF4DCFF6).withOpacity(0.2), // 设置背景颜色和不透明度
|
|
|
+ borderRadius: BorderRadius.circular(5.0), // 设置圆角
|
|
|
+ ),
|
|
|
+ child: Row(
|
|
|
+ children: [
|
|
|
+ const MyAssetImage(Assets.cptAuthUkIcon, width: 50, height: 33),
|
|
|
+ MyTextView(
|
|
|
+ "United Kingdom".tr,
|
|
|
+ marginLeft: 17,
|
|
|
+ textColor: ColorConstants.white,
|
|
|
+ isFontMedium: true,
|
|
|
+ fontSize: 18,
|
|
|
+ ).expanded(),
|
|
|
+ Obx(() {
|
|
|
+ return Visibility(
|
|
|
+ visible: ConfigService.to.selectCountry.value == 2,
|
|
|
+ child: const MyAssetImage(Assets.cptAuthCheckedIcon, width: 22, height: 22),
|
|
|
+ );
|
|
|
+ }),
|
|
|
+ ],
|
|
|
+ ),
|
|
|
+ ).onTap(() {
|
|
|
+ ConfigService.to.selectCountry.value = 2;
|
|
|
+ }),
|
|
|
|
|
|
//马来西亚
|
|
|
Container(
|