瀏覽代碼

[modify]优化首页-缩略图-扩大每日轨迹入口热区

zk 6 月之前
父節點
當前提交
af7201d1ee
共有 1 個文件被更改,包括 13 次插入1 次删除
  1. 13 1
      lib/module/main/main_page.dart

+ 13 - 1
lib/module/main/main_page.dart

@@ -217,7 +217,19 @@ class MainPage extends BasePage<MainController> {
           margin: EdgeInsets.only(bottom: 3.w, top: 3.w),
           child: AspectRatio(
             aspectRatio: 1,
-            child: buildTodayMapView(todayTrackReportBean),
+            child: Stack(
+              children: [
+                buildTodayMapView(todayTrackReportBean),
+                GestureDetector(
+                  behavior: HitTestBehavior.opaque,
+                  onTap: controller.onTodayTraceClick,
+                  child: SizedBox(
+                    width: double.infinity,
+                    height: double.infinity,
+                  ),
+                )
+              ],
+            ),
           ),
         ),
         SizedBox(width: 10.w),