From 82e57df230ecb744af6c8865f80870ba03c86d89 Mon Sep 17 00:00:00 2001
From: Linjiajia <319408893@qq.com>
Date: 星期二, 25 七月 2023 22:18:27 +0800
Subject: [PATCH] 基本功能完成

---
 app/src/main/res/layout/activity_little_doctor_detail.xml |   49 ++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 46 insertions(+), 3 deletions(-)

diff --git a/app/src/main/res/layout/activity_little_doctor_detail.xml b/app/src/main/res/layout/activity_little_doctor_detail.xml
index 8f0ae8b..21bbfbe 100644
--- a/app/src/main/res/layout/activity_little_doctor_detail.xml
+++ b/app/src/main/res/layout/activity_little_doctor_detail.xml
@@ -16,11 +16,27 @@
         android:orientation="vertical">
 
         <com.android.app_base.widget.ExtendTitleBar
+            android:id="@+id/titleBar"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
-            app:title="灏忓尰鐢�"
+            app:title="@{viewModel.beanLiveData.symptom}"
             app:titleGravity="left"
-            />
+            >
+            <FrameLayout
+                android:layout_width="24dp"
+                android:layout_height="24dp"
+                android:layout_marginHorizontal="16dp"
+                android:layout_gravity="center_vertical|end"
+                >
+                <ImageView
+                    android:id="@+id/iv_operate"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_gravity="center"
+                    android:background="@{viewModel.typeLiveData?@drawable/ic_operate_finish:@drawable/ic_operate}"
+                    />
+            </FrameLayout>
+        </com.android.app_base.widget.ExtendTitleBar>
         <ScrollView
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
@@ -36,7 +52,7 @@
                     android:layout_width="wrap_content"
                     android:layout_marginTop="@dimen/dp_10"
                     android:layout_height="@dimen/dp_20"
-                    android:text="鐥囩姸"
+                    android:text="绫诲瀷"
                     android:textColor="#767375"
                     android:textSize="12sp"
                     />
@@ -48,7 +64,27 @@
                     android:inputType="text"
                     android:autofillHints="creditCardNumber"
                     android:textColorHint="#6b000000"
+                    android:hint="璇疯緭鍏ョ被鍨�"
                     android:textColor="#DE000000"
+                    android:textSize="16sp"
+                    android:text="@={viewModel.beanLiveData.type}"
+                    />
+                <TextView
+                    android:layout_width="wrap_content"
+                    android:layout_marginTop="@dimen/dp_10"
+                    android:layout_height="@dimen/dp_20"
+                    android:text="鐥囩姸"
+                    android:textColor="#767375"
+                    android:textSize="12sp"
+                    />
+                <EditText
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:inputType="text"
+                    android:autofillHints="creditCardNumber"
+                    android:textColorHint="#6b000000"
+                    android:textColor="#DE000000"
+                    android:hint="璇疯緭鍏ョ棁鐘�"
                     android:textSize="16sp"
                     android:text="@={viewModel.beanLiveData.symptom}"
                     />
@@ -68,6 +104,8 @@
                     android:layout_marginTop="2dp"
                     android:inputType="text"
                     android:textColor="#DE000000"
+                    android:textColorHint="#6b000000"
+                    android:hint="璇疯緭鍏ラ�傜敤浜�"
                     android:text="@={viewModel.beanLiveData.suitable}"
                     android:textSize="16sp" />
                 <TextView
@@ -84,6 +122,7 @@
                     android:layout_marginTop="2dp"
                     android:inputType="text"
                     android:textColorHint="#6b000000"
+                    android:hint="璇疯緭鍏ユ寔缁椂闂�"
                     android:text="@={viewModel.beanLiveData.duration}"
                     android:textColor="#DE000000"
                     android:textSize="16sp" />
@@ -101,6 +140,7 @@
                     android:layout_marginTop="2dp"
                     android:inputType="text"
                     android:textColorHint="#6b000000"
+                    android:hint="璇疯緭鍏ヤ腑鍖诲鏂�"
                     android:textColor="#DE000000"
                     android:text="@={viewModel.beanLiveData.cmedical}"
                     android:textSize="16sp" />
@@ -118,6 +158,7 @@
                     android:layout_marginTop="2dp"
                     android:inputType="text"
                     android:textColorHint="#6b000000"
+                    android:hint="璇疯緭鍏ヨタ鍖诲鏂�"
                     android:textColor="#DE000000"
                     android:text="@={viewModel.beanLiveData.wmedical}"
                     android:textSize="16sp" />
@@ -134,6 +175,7 @@
                     android:layout_height="wrap_content"
                     android:layout_marginTop="2dp"
                     android:inputType="text"
+                    android:hint="璇疯緭鍏ュ姛鏁�"
                     android:textColorHint="#6b000000"
                     android:textColor="#DE000000"
                     android:text="@={viewModel.beanLiveData.effect}"
@@ -152,6 +194,7 @@
                     android:layout_marginTop="2dp"
                     android:inputType="text"
                     android:textColorHint="#6b000000"
+                    android:hint="璇疯緭鍏ュ娉�"
                     android:textColor="#DE000000"
                     android:text="@={viewModel.beanLiveData.remark}"
                     android:textSize="16sp" />

--
Gitblit v1.9.1