| | |
| | | #region 如果是手机 |
| | | //手机国家区号选择按钮 |
| | | ListCellView codeView = new ListCellView() { |
| | | Y = Application.GetRealHeight(64), |
| | | Y = Application.GetRealHeight(74), |
| | | }; |
| | | bodyView.AddChidren(codeView); |
| | | //跳转国家区号选择界面 |
| | | Action selectAction = () => |
| | | { |
| | | JLCountrycode.CountryCodeView.Current.Show((countryName, code) => { |
| | | if (!string.IsNullOrEmpty(code)) |
| | | { |
| | | phoneZoneCode = code; |
| | | codeView.BtnSubtitle.Text = "+" + phoneZoneCode; |
| | | } |
| | | }); |
| | | }; |
| | | codeView.GoAction = selectAction; |
| | | codeView.BtnTilte.Text = Language.StringByID(StringId.CountryOrRegion); |
| | | codeView.BtnSubtitle.Text = "+" + phoneZoneCode; |
| | | |