diff --git a/pages/SDKIntegration/SDKIntegration.vue b/pages/SDKIntegration/SDKIntegration.vue index c0ae4ae55ba78ecae1ba6a67a598e443e4c4c9d0..eb386fe8fd1935c2d72a565a593b9f7fe59abeac 100644 --- a/pages/SDKIntegration/SDKIntegration.vue +++ b/pages/SDKIntegration/SDKIntegration.vue @@ -9,7 +9,7 @@ export default { data() { return { - title: 'SDK集成示例', + title: 'SDK集成示例-开发中', } }, methods: { diff --git a/uni_modules/uts-advance/utssdk/app-android/index.uts b/uni_modules/uts-advance/utssdk/app-android/index.uts index 03098c83412f7a7e6af021dd9525dac642ffb0e4..699b927db38171a3866d95b214dc3146362c50a2 100644 --- a/uni_modules/uts-advance/utssdk/app-android/index.uts +++ b/uni_modules/uts-advance/utssdk/app-android/index.uts @@ -60,12 +60,11 @@ class AddUIRunnable extends Runnable { let decorView = getUniActivity()!.window.decorView; - let frameContent = decorView.findViewById(android.R.id.content) as FrameLayout + let frameContent = decorView.findViewById(android.R.id.content) let layoutParam = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,ViewGroup.LayoutParams.WRAP_CONTENT); layoutParam.topMargin = 200; - frameContent.addView(textView,layoutParam) - + frameContent.addView(textView,layoutParam) } }; @@ -75,7 +74,7 @@ class RemoveUIRunnable extends Runnable { override run():void { let decorView = getUniActivity()!.window.decorView; - let frameContent = decorView.findViewById(android.R.id.content) as FrameLayout + let frameContent = decorView.findViewById(android.R.id.content) let targetTV = frameContent.findViewWithTag("helloText") frameContent.removeView(targetTV) diff --git a/uni_modules/uts-helloworld/utssdk/app-android/config.json b/uni_modules/uts-helloworld/utssdk/app-android/config.json index b8606f65038a115c7b0265dabadb77cd653dfc47..61cf4e9ed6cffb96cbf2e433a0e9bbafae2c212b 100644 --- a/uni_modules/uts-helloworld/utssdk/app-android/config.json +++ b/uni_modules/uts-helloworld/utssdk/app-android/config.json @@ -4,4 +4,4 @@ "dependencies": [{ }], "minSdkVersion": 21 -}, \ No newline at end of file +} \ No newline at end of file diff --git a/uni_modules/uts-osapi/utssdk/app-android/config.json b/uni_modules/uts-osapi/utssdk/app-android/config.json index b8606f65038a115c7b0265dabadb77cd653dfc47..61cf4e9ed6cffb96cbf2e433a0e9bbafae2c212b 100644 --- a/uni_modules/uts-osapi/utssdk/app-android/config.json +++ b/uni_modules/uts-osapi/utssdk/app-android/config.json @@ -4,4 +4,4 @@ "dependencies": [{ }], "minSdkVersion": 21 -}, \ No newline at end of file +} \ No newline at end of file