From df3af70b33eb6372b56075bc9e45c23ccf3f82c6 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 28 十月 2025 17:40:38 +0800
Subject: [PATCH] 2025.10.28 1. 新增巡查场景历史详情界面出版(完成); 2. 巡查任务日历界面,任务条目中新增风险提示、巡查要点、应急巡查3种提示信息的提示图标逻辑(待完成);

---
 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