feat: 新增日志查询页面及操作日志详情页
废弃旧日志查询页面,新建日志查询列表页和操作日志详情页。 详情页包含运单信息、流转状态进度条和操作详情时间线。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
68
app/src/main/res/layout/item_log_timeline.xml
Normal file
68
app/src/main/res/layout/item_log_timeline.xml
Normal file
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingHorizontal="15dp">
|
||||
|
||||
<!-- 左侧:圆点 + 连线 -->
|
||||
<RelativeLayout
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="12dp">
|
||||
|
||||
<!-- 顶部连线 -->
|
||||
<View
|
||||
android:id="@+id/view_line_top"
|
||||
android:layout_width="1.5dp"
|
||||
android:layout_height="8dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="#E0E0E0" />
|
||||
|
||||
<!-- 圆点 -->
|
||||
<View
|
||||
android:id="@+id/view_dot"
|
||||
android:layout_width="10dp"
|
||||
android:layout_height="10dp"
|
||||
android:layout_below="@+id/view_line_top"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@drawable/bg_timeline_dot_gray" />
|
||||
|
||||
<!-- 底部连线 -->
|
||||
<View
|
||||
android:id="@+id/view_line_bottom"
|
||||
android:layout_width="1.5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@+id/view_dot"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="#E0E0E0" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<!-- 右侧:内容 + 时间 -->
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="20dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:textColor="#999999"
|
||||
android:textSize="13sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user