| | |
| | | |
| | | Inverter.Ins.H5Page.JSToNativeAction = (dictionary) => |
| | | { |
| | | //var jObj = dictionary; |
| | | //JObject jObj = JObject.Parse(Newtonsoft.Json.JsonConvert.SerializeObject(dictionary)); |
| | | |
| | | #if __IOS__ |
| | | JObject jObj = JObject.Parse(Newtonsoft.Json.JsonConvert.SerializeObject(dictionary)); |
| | | #else |
| | | var valuePairs = ""; |
| | | dictionary.TryGetValue("method", out valuePairs); |
| | | JObject jObj = JObject.Parse(valuePairs); |
| | | |
| | | #endif |
| | | |
| | | if (!jObj.ContainsKey("method") || !jObj.ContainsKey("data")) |
| | | { |
| | |
| | | |
| | | s1View.Height = s2View.Height = functionContentView.Height = functionContentViewHeight + Application.GetRealWidth(40); |
| | | |
| | | #endregion |
| | | #endregion |
| | | } |
| | | |
| | | |