From e234a15b428267997c903a4ed42536c5d9f14a1f Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 10 十一月 2025 13:10:42 +0800
Subject: [PATCH] 2025.11.10 1. 新增巡查场景历史详情相关数据逻辑; 2. 新增工地施工阶段修改界面;

---
 appDucha/src/main/java/com/flightfeather/ducha/module/DCSplashActivity.kt |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/appDucha/src/main/java/com/flightfeather/ducha/module/DCSplashActivity.kt b/appDucha/src/main/java/com/flightfeather/ducha/module/DCSplashActivity.kt
index da83089..d757940 100644
--- a/appDucha/src/main/java/com/flightfeather/ducha/module/DCSplashActivity.kt
+++ b/appDucha/src/main/java/com/flightfeather/ducha/module/DCSplashActivity.kt
@@ -1,8 +1,10 @@
 package com.flightfeather.ducha.module
 
+import android.content.Intent
 import android.os.Bundle
 import cn.flightfeather.thirdappmodule.activity.SplashActivity
 import com.flightfeather.ducha.R
+import com.flightfeather.ducha.module.login.DCLoginActivity
 
 /**
  * @author riku
@@ -10,8 +12,21 @@
  */
 class DCSplashActivity : SplashActivity() {
 
-    override fun onCreate(savedInstanceState: Bundle?) {
-        super.onCreate(savedInstanceState)
-        setContentView(R.layout.dc_activity_splash)
+    override fun getLayoutId(): Int {
+        return R.layout.dc_activity_splash
+    }
+
+    override fun startLogin() {
+        val intent = Intent(this, DCLoginActivity::class.java)
+        startActivity(intent)
+        val thread = Thread {
+            try {
+                Thread.sleep(500)
+                finish()
+            } catch (e: InterruptedException) {
+                e.printStackTrace()
+            }
+        }
+        thread.start()
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3