You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
149 lines
5.6 KiB
149 lines
5.6 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#80000000">
|
|
|
|
<!-- 主弹窗容器 -->
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_marginRight="20dp"
|
|
android:background="@drawable/dialog_background"
|
|
android:orientation="vertical"
|
|
android:padding="0dp"
|
|
android:minHeight="500dp">
|
|
|
|
<!-- 顶部标题栏 -->
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="80dp"
|
|
android:background="@drawable/gradient_background"
|
|
android:paddingLeft="20dp"
|
|
android:paddingRight="20dp">
|
|
|
|
<!-- 店铺图标和名称 -->
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_store_icon"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_marginRight="12dp"
|
|
android:background="@drawable/circle_background"
|
|
android:padding="8dp"
|
|
android:src="@drawable/ic_warriors_logo" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_store_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Test门店"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!-- 返回按钮 -->
|
|
<TextView
|
|
android:id="@+id/tv_back_home"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:background="@drawable/rounded_button_background"
|
|
android:drawableLeft="@drawable/ic_close"
|
|
android:drawablePadding="8dp"
|
|
android:gravity="center"
|
|
android:paddingLeft="12dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingRight="12dp"
|
|
android:paddingBottom="8dp"
|
|
android:text="返回首页(06s)"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="14sp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<!-- 标题 -->
|
|
<TextView
|
|
android:id="@+id/tv_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="30dp"
|
|
android:gravity="center"
|
|
android:text="请选择订单核销"
|
|
android:textColor="@android:color/black"
|
|
android:textSize="24sp"
|
|
android:textStyle="bold" />
|
|
|
|
<!-- 核销日期 -->
|
|
<TextView
|
|
android:id="@+id/tv_verification_date"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginRight="20dp"
|
|
android:text="核销日期:2025-09-04"
|
|
android:textColor="#666666"
|
|
android:textSize="14sp" />
|
|
|
|
<!-- 订单列表 -->
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_order_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:maxHeight="500dp"
|
|
android:minHeight="200dp"
|
|
android:paddingLeft="15dp"
|
|
android:paddingRight="15dp" />
|
|
|
|
<!-- 底部操作按钮 -->
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginBottom="30dp"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="40dp"
|
|
android:paddingRight="40dp">
|
|
|
|
<Button
|
|
android:id="@+id/btn_cancel"
|
|
android:layout_width="0dp"
|
|
android:layout_height="50dp"
|
|
android:layout_marginRight="20dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/btn_cancel_bg"
|
|
android:text="取消"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="16sp" />
|
|
|
|
<Button
|
|
android:id="@+id/btn_confirm"
|
|
android:layout_width="0dp"
|
|
android:layout_height="50dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/btn_confirm_bg"
|
|
android:text="确认核销"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="16sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|