From fafdeae594f79bad8133837e5cde239afca4da54 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期五, 06 十二月 2024 16:13:02 +0800
Subject: [PATCH] 1.优化工单列表状态显示 2.接口添加token失效判断,失效后跳转到登录界面。

---
 app/src/main/res/layout/fragment_map.xml |   72 ++++++++++++++++++++++++++++++++---
 1 files changed, 65 insertions(+), 7 deletions(-)

diff --git a/app/src/main/res/layout/fragment_map.xml b/app/src/main/res/layout/fragment_map.xml
index 5e3491b..e51d0dc 100644
--- a/app/src/main/res/layout/fragment_map.xml
+++ b/app/src/main/res/layout/fragment_map.xml
@@ -3,28 +3,86 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent">
 
-    <com.github.lzyzsd.jsbridge.BridgeWebView
+    <!--    <com.github.lzyzsd.jsbridge.BridgeWebView-->
+    <!--        android:id="@+id/webView"-->
+    <!--        android:layout_width="match_parent"-->
+    <!--        android:layout_height="match_parent" />-->
+    <WebView
         android:id="@+id/webView"
         android:layout_width="match_parent"
         android:layout_height="match_parent" />
 
 
+    <RelativeLayout
+        android:id="@+id/inspectRL"
+        android:layout_width="match_parent"
+        android:layout_height="35dp"
+        android:background="@color/base_blue">
+
+        <TextView
+            android:id="@+id/inspectPause"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_centerVertical="true"
+            android:layout_marginLeft="10dp"
+            android:background="@drawable/ic_blue_background"
+            android:paddingLeft="15dp"
+            android:paddingRight="15dp"
+            android:text="鏆傚仠"
+            android:textColor="@color/inspect_text_color_pause" />
+
+
+        <TextView
+            android:id="@+id/stateText"
+            android:layout_width="wrap_content"
+            android:layout_height="match_parent"
+            android:layout_alignParentTop="true"
+            android:layout_centerHorizontal="true"
+            android:layout_centerVertical="true"
+
+            android:gravity="center"
+            android:text="宸插紑鍚贰妫�"
+            android:textColor="@color/white"
+            android:textSize="18sp" />
+
+        <TextView
+            android:id="@+id/inspectClose"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_alignParentRight="true"
+            android:layout_centerVertical="true"
+            android:layout_marginRight="10dp"
+            android:background="@drawable/ic_blue_background"
+            android:paddingLeft="15dp"
+            android:paddingRight="15dp"
+            android:text="缁撴潫"
+            android:textColor="@color/inspect_text_color_close" />
+    </RelativeLayout>
+
+
     <TextView
-        android:id="@+id/flyBtn"
+        android:id="@+id/inspectButton"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:layout_alignParentBottom="true"
-        android:layout_centerHorizontal="true"
-        android:text="璺宠浆鍒版寚瀹氫綅缃�" />
+        android:layout_alignParentRight="true"
+        android:layout_marginTop="60dp"
+        android:layout_marginRight="15dp"
+
+        android:background="@drawable/ic_blue_background"
+        android:padding="10dp"
+        android:text="宸�"
+        android:textColor="@color/white"
+        android:textSize="18sp" />
+
 
     <LinearLayout
-        android:visibility="gone"
         android:id="@+id/bottomLL"
         android:layout_width="match_parent"
         android:layout_height="120dp"
         android:layout_alignParentBottom="true"
         android:background="@color/white"
-        android:orientation="horizontal">
+        android:orientation="horizontal"
+        android:visibility="gone">
 
         <LinearLayout
             android:layout_width="0dp"

--
Gitblit v1.8.0