Parcourir la source

1.添加验证码登录接口

王鹏鹏 il y a 3 ans
Parent
commit
ffd26bc1cc

+ 3 - 1
.idea/misc.xml

@@ -42,7 +42,9 @@
         <entry key="..\:/workspace/hcp-pad/healthconsultation/src/main/res/drawable/bg_home_page_search.xml" value="0.155" />
         <entry key="..\:/workspace/hcp-pad/healthconsultation/src/main/res/drawable/bg_home_page_title.xml" value="0.155" />
         <entry key="..\:/workspace/hcp-pad/healthconsultation/src/main/res/drawable/bg_recommended_doctor.xml" value="0.155" />
-        <entry key="..\:/workspace/hcp-pad/healthconsultation/src/main/res/layout/activity_doctor_details.xml" value="0.6" />
+        <entry key="..\:/workspace/hcp-pad/healthconsultation/src/main/res/drawable/bg_submit.xml" value="0.155" />
+        <entry key="..\:/workspace/hcp-pad/healthconsultation/src/main/res/layout/activity_consultation_request.xml" value="0.536" />
+        <entry key="..\:/workspace/hcp-pad/healthconsultation/src/main/res/layout/activity_doctor_details.xml" value="0.42051756007393715" />
         <entry key="..\:/workspace/hcp-pad/healthconsultation/src/main/res/layout/activity_health_consultation.xml" value="0.4" />
         <entry key="..\:/workspace/hcp-pad/healthconsultation/src/main/res/layout/activity_main.xml" value="0.23697916666666666" />
         <entry key="..\:/workspace/hcp-pad/healthconsultation/src/main/res/layout/item_consultation.xml" value="0.3953084274543875" />

+ 5 - 0
baselib/src/main/java/com/yingyangfly/baselib/router/RouterUrlCommon.kt

@@ -135,4 +135,9 @@ object RouterUrlCommon {
      */
     const val doctorDetails = "/doctor/details"
 
+    /**
+     * 问诊申请
+     */
+    const val consultationRequest = "/consultation/request"
+
 }

+ 6 - 0
healthconsultation/src/main/AndroidManifest.xml

@@ -14,5 +14,11 @@
             android:configChanges="keyboardHidden|orientation|screenSize"
             android:screenOrientation="landscape"
             android:windowSoftInputMode="adjustResize|adjustPan" />
+
+        <activity
+            android:name="com.yingyang.healthconsultation.consultationsheet.ConsultationRequestActivity"
+            android:configChanges="keyboardHidden|orientation|screenSize"
+            android:screenOrientation="landscape"
+            android:windowSoftInputMode="adjustResize|adjustPan" />
     </application>
 </manifest>

+ 1 - 1
healthconsultation/src/main/java/com/yingyang/healthconsultation/activity/HealthConsultationActivity.kt

@@ -44,7 +44,7 @@ class HealthConsultationActivity :
             rvRecommended.adapter = recommendDoctorAdapter
             recommendDoctorAdapter.setData(doctorBeans)
             recommendDoctorAdapter.onClickListener = {
-                ARouter.getInstance().build(RouterUrlCommon.doctorDetails)
+                ARouter.getInstance().build(RouterUrlCommon.consultationRequest)
                     .withTransition(R.anim.leftin, R.anim.leftout)
                     .withSerializable("doctorDetails", it)
                     .navigation(mContext)

+ 101 - 0
healthconsultation/src/main/java/com/yingyang/healthconsultation/consultationsheet/ConsultationRequestActivity.kt

@@ -0,0 +1,101 @@
+package com.yingyang.healthconsultation.consultationsheet
+
+import android.annotation.SuppressLint
+import android.graphics.Color
+import android.os.Bundle
+import android.text.SpannableString
+import android.text.Spanned
+import android.text.style.ForegroundColorSpan
+import android.view.MotionEvent
+import android.view.View
+import com.alibaba.android.arouter.facade.annotation.Route
+import com.yingyang.healthconsultation.R
+import com.yingyang.healthconsultation.databinding.ActivityConsultationRequestBinding
+import com.yingyang.healthconsultation.entity.ConsultationBean
+import com.yingyangfly.baselib.ext.getEndAnimation
+import com.yingyangfly.baselib.ext.getScaleAnimation
+import com.yingyangfly.baselib.ext.toast
+import com.yingyangfly.baselib.mvvm.BaseMVVMActivity
+import com.yingyangfly.baselib.router.RouterUrlCommon
+
+/**
+ * 问诊申请
+ */
+@Route(path = RouterUrlCommon.consultationRequest)
+class ConsultationRequestActivity :
+    BaseMVVMActivity<ActivityConsultationRequestBinding, ConsultationRequestViewModel>(),
+    View.OnTouchListener {
+
+    private var doctorDetails: ConsultationBean? = null
+
+    override fun onCreate(savedInstanceState: Bundle?) {
+        doctorDetails = intent.getSerializableExtra("doctorDetails") as ConsultationBean
+        super.onCreate(savedInstanceState)
+    }
+
+    override fun initViews() {
+        if (doctorDetails != null) {
+            binding.data = doctorDetails
+            val consultationTotal = "咨询量:" + doctorDetails!!.getConsultationTotalInfo()
+            val totalSpannableString = SpannableString(consultationTotal)
+            totalSpannableString.setSpan(
+                ForegroundColorSpan(Color.parseColor("#FF4A76FF")),
+                4, totalSpannableString.length, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE
+            )
+            binding.tvConsult.text = totalSpannableString
+        }
+    }
+
+    @SuppressLint("ClickableViewAccessibility")
+    override fun initListener() {
+        binding {
+            backLayout.setOnTouchListener(this@ConsultationRequestActivity)
+            btnSubmit.setOnTouchListener(this@ConsultationRequestActivity)
+        }
+    }
+
+    override fun initData() {
+        viewModel.getUserInfo(fail = {
+            it.toast()
+        }, success = {
+            if (it != null) {
+                binding.user = it
+            }
+        })
+    }
+
+    @SuppressLint("ClickableViewAccessibility")
+    override fun onTouch(v: View, event: MotionEvent): Boolean {
+        when (event.action) {
+            MotionEvent.ACTION_DOWN -> {
+                if (v.id == R.id.backLayout || v.id == R.id.btnSubmit) {
+                    v.startAnimation(getScaleAnimation())
+                }
+            }
+            MotionEvent.ACTION_UP -> {
+                v.startAnimation(getEndAnimation())
+                when (v.id) {
+                    R.id.backLayout -> {
+                        finish()
+                    }
+                    R.id.btnSubmit -> {
+                        submit()
+                    }
+                }
+            }
+            MotionEvent.ACTION_CANCEL -> {
+                if (v.id == R.id.backLayout || v.id == R.id.btnSubmit) {
+                    v.startAnimation(getEndAnimation())
+                }
+            }
+        }
+        return true
+    }
+
+    /**
+     * 提交问诊申请
+     */
+    private fun submit() {
+
+    }
+}

+ 21 - 0
healthconsultation/src/main/java/com/yingyang/healthconsultation/consultationsheet/ConsultationRequestViewModel.kt

@@ -0,0 +1,21 @@
+package com.yingyang.healthconsultation.consultationsheet
+
+import com.yingyang.healthconsultation.entity.UserInfoBean
+import com.yingyang.healthconsultation.net.HEALTHCONSULTATION_API
+import com.yingyangfly.baselib.mvvm.BaseViewModel
+
+/**
+ * @author 王鹏鹏
+ */
+class ConsultationRequestViewModel : BaseViewModel() {
+
+    fun getUserInfo(
+        fail: ((msg: String) -> Unit)? = null,
+        success: ((success: UserInfoBean?) -> Unit)? = null,
+    ) = launchFlow(true) {
+        HEALTHCONSULTATION_API.getUserInfo()
+    }.runUI(
+        success,
+        fail
+    )
+}

+ 0 - 1
healthconsultation/src/main/java/com/yingyang/healthconsultation/doctordetails/DoctorDetailsActivity.kt

@@ -1,7 +1,6 @@
 package com.yingyang.healthconsultation.doctordetails
 
 import android.annotation.SuppressLint
-import android.content.Intent
 import android.graphics.Color
 import android.os.Bundle
 import android.text.SpannableString

+ 61 - 0
healthconsultation/src/main/java/com/yingyang/healthconsultation/entity/UserInfoBean.kt

@@ -0,0 +1,61 @@
+package com.yingyang.healthconsultation.entity
+
+import android.text.TextUtils
+
+/**
+ * 用户信息
+ */
+class UserInfoBean(
+    val accountNonExpired: Boolean,
+    val accountNonLocked: Boolean,
+    val authorities: String,
+    val avatar: String,
+    val birthDate: String,
+    val createBy: String,
+    val createTime: String,
+    val credentialsNonExpired: Boolean,
+    val diagnoseResult: List<String>,
+    val doctorId: String,
+    val doctorName: String,
+    val enabled: Boolean,
+    val hospitalDepartment: String,
+    val id: String,
+    val idCard: String,
+    val lastLoginDate: String,
+    val mobile: String,
+    val name: String,
+    val nickName: String,
+    val openid: String,
+    val userAge: String,
+    val orderEndTime: String,
+    val orderStartTime: String,
+    val orgCode: String,
+    val orgName: String,
+    val password: String,
+    val pwd: String,
+    val remark: String,
+    val status: String,
+    val updateBy: String,
+    val updateTime: String,
+    val username: String,
+    val age: String,
+    val gender: String,//1女 0男
+    val firstLogin: String//是否第一次登陆 0需要弹框引导提示的
+) {
+
+    fun getSex(): String {
+        return if (TextUtils.equals("0", gender)) {
+            "女"
+        } else {
+            "男"
+        }
+    }
+
+    fun getAgeInfo(): String {
+        return if (age.isNullOrEmpty()) {
+            return ""
+        } else {
+            age
+        }
+    }
+}

+ 7 - 0
healthconsultation/src/main/java/com/yingyang/healthconsultation/net/HealthConsultationApiService.kt

@@ -1,6 +1,7 @@
 package com.yingyang.healthconsultation.net
 
 import com.yingyang.healthconsultation.entity.ConsultationBean
+import com.yingyang.healthconsultation.entity.UserInfoBean
 import com.yingyangfly.baselib.net.BaseResp
 import retrofit2.http.POST
 
@@ -19,4 +20,10 @@ interface HealthConsultationApiService {
     @POST("medical_consultation/list")
     suspend fun getConsultationList(): BaseResp<List<ConsultationBean>>
 
+    /**
+     * 获取个人中心信息接口
+     */
+    @POST("app/user/info")
+    suspend fun getUserInfo(): BaseResp<UserInfoBean>
+
 }

+ 6 - 0
healthconsultation/src/main/manifest/AndroidManifest.xml

@@ -13,5 +13,11 @@
             android:configChanges="keyboardHidden|orientation|screenSize"
             android:screenOrientation="landscape"
             android:windowSoftInputMode="adjustResize|adjustPan" />
+
+        <activity
+            android:name="com.yingyang.healthconsultation.consultationsheet.ConsultationRequestActivity"
+            android:configChanges="keyboardHidden|orientation|screenSize"
+            android:screenOrientation="landscape"
+            android:windowSoftInputMode="adjustResize|adjustPan" />
     </application>
 </manifest>

+ 7 - 0
healthconsultation/src/main/res/drawable/bg_submit.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:tools="http://schemas.android.com/tools"
+    tools:ignore="ResourceName">
+    <corners android:radius="@dimen/divider_13px" />
+    <solid android:color="@color/color_FF4A76FF" />
+</shape>

+ 275 - 0
healthconsultation/src/main/res/layout/activity_consultation_request.xml

@@ -0,0 +1,275 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    xmlns:tools="http://schemas.android.com/tools"
+    tools:ignore="ResourceName">
+
+    <data>
+
+        <variable
+            name="user"
+            type="com.yingyang.healthconsultation.entity.UserInfoBean" />
+
+        <variable
+            name="data"
+            type="com.yingyang.healthconsultation.entity.ConsultationBean" />
+    </data>
+
+    <androidx.constraintlayout.widget.ConstraintLayout
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:background="@mipmap/icon_uniform_background">
+
+        <LinearLayout
+            android:id="@+id/backLayout"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_marginStart="@dimen/divider_65px"
+            android:layout_marginTop="@dimen/divider_35px"
+            android:gravity="center"
+            android:orientation="horizontal"
+            app:layout_constraintStart_toStartOf="parent"
+            app:layout_constraintTop_toTopOf="parent">
+
+            <androidx.appcompat.widget.AppCompatImageView
+                android:layout_width="@dimen/divider_48px"
+                android:layout_height="@dimen/divider_48px"
+                android:background="@mipmap/icon_back" />
+
+            <androidx.appcompat.widget.AppCompatTextView
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:layout_marginStart="@dimen/divider_14px"
+                android:text="@string/back_pager"
+                android:textColor="@android:color/white"
+                android:textSize="@dimen/divider_28px"
+                android:textStyle="bold" />
+
+        </LinearLayout>
+
+        <androidx.appcompat.widget.AppCompatTextView
+            android:id="@+id/tvTitle"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_marginTop="@dimen/divider_32px"
+            android:text="@string/consultation_request"
+            android:textColor="@android:color/white"
+            android:textSize="@dimen/divider_38px"
+            android:textStyle="bold"
+            app:layout_constraintEnd_toEndOf="parent"
+            app:layout_constraintStart_toStartOf="parent"
+            app:layout_constraintTop_toTopOf="parent" />
+
+        <com.google.android.material.card.MaterialCardView
+            android:layout_width="match_parent"
+            android:layout_height="0dp"
+            android:layout_marginStart="@dimen/divider_12px"
+            android:layout_marginTop="@dimen/divider_33px"
+            android:layout_marginEnd="@dimen/divider_32px"
+            android:theme="@style/Theme.MaterialComponents.NoActionBar"
+            app:cardBackgroundColor="@android:color/white"
+            app:cardCornerRadius="@dimen/divider_28px"
+            app:layout_constraintBottom_toBottomOf="parent"
+            app:layout_constraintEnd_toEndOf="parent"
+            app:layout_constraintStart_toStartOf="parent"
+            app:layout_constraintTop_toBottomOf="@+id/tvTitle">
+
+            <androidx.constraintlayout.widget.ConstraintLayout
+                android:layout_width="match_parent"
+                android:layout_height="match_parent">
+
+                <androidx.appcompat.widget.AppCompatImageView
+                    android:id="@+id/imageHead"
+                    android:layout_width="@dimen/divider_100px"
+                    android:layout_height="@dimen/divider_100px"
+                    android:layout_marginStart="@dimen/divider_47px"
+                    android:layout_marginTop="@dimen/divider_59px"
+                    app:isCircle="@{true}"
+                    app:layout_constraintStart_toStartOf="parent"
+                    app:layout_constraintTop_toTopOf="parent"
+                    app:loadHeadImg="@{data.avatar}" />
+
+                <androidx.appcompat.widget.AppCompatTextView
+                    android:id="@+id/tvStatus"
+                    android:layout_width="@dimen/divider_114px"
+                    android:layout_height="@dimen/divider_36px"
+                    android:layout_marginStart="@dimen/divider_40px"
+                    android:layout_marginTop="@dimen/divider_141px"
+                    android:background="@drawable/bg_doctor_status"
+                    android:gravity="center"
+                    android:text="@{data.getIsOnlineStatus()}"
+                    android:textColor="@android:color/white"
+                    android:textSize="@dimen/divider_24px"
+                    app:layout_constraintStart_toStartOf="parent"
+                    app:layout_constraintTop_toTopOf="parent" />
+
+                <androidx.appcompat.widget.AppCompatTextView
+                    android:id="@+id/tvName"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="@dimen/divider_35px"
+                    android:layout_marginTop="@dimen/divider_40px"
+                    android:text="@{data.userName}"
+                    android:textColor="@color/color_FF333333"
+                    android:textSize="@dimen/divider_28px"
+                    android:textStyle="bold"
+                    app:layout_constraintStart_toEndOf="@+id/imageHead"
+                    app:layout_constraintTop_toTopOf="parent"
+                    tools:text="@string/app_name" />
+
+                <androidx.appcompat.widget.AppCompatTextView
+                    android:id="@+id/tvDuties"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="@dimen/divider_40px"
+                    android:layout_marginTop="@dimen/divider_44px"
+                    android:text='@{data.titleInfo()+data.departmentNameInfo()}'
+                    android:textColor="@color/color_FF333333"
+                    android:textSize="@dimen/divider_24px"
+                    app:layout_constraintStart_toEndOf="@+id/tvName"
+                    app:layout_constraintTop_toTopOf="parent"
+                    tools:text="@string/app_name" />
+
+                <androidx.appcompat.widget.AppCompatTextView
+                    android:id="@+id/tvGoodAt"
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="@dimen/divider_35px"
+                    android:layout_marginTop="@dimen/divider_19px"
+                    android:text="@{data.specialityInfo()}"
+                    android:textColor="@color/color_FF333333"
+                    android:textSize="@dimen/divider_24px"
+                    app:layout_constraintEnd_toEndOf="parent"
+                    app:layout_constraintStart_toEndOf="@+id/imageHead"
+                    app:layout_constraintTop_toBottomOf="@+id/tvDuties"
+                    tools:text="@string/app_name" />
+
+                <androidx.appcompat.widget.AppCompatTextView
+                    android:id="@+id/tvConsult"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="@dimen/divider_35px"
+                    android:layout_marginTop="@dimen/divider_17px"
+                    android:textColor="@color/color_FF333333"
+                    android:textSize="@dimen/divider_24px"
+                    app:layout_constraintStart_toEndOf="@+id/imageHead"
+                    app:layout_constraintTop_toBottomOf="@+id/tvGoodAt"
+                    tools:text="@string/app_name" />
+
+                <androidx.appcompat.widget.AppCompatTextView
+                    android:id="@+id/tvGoodRate"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="@dimen/divider_23px"
+                    android:layout_marginEnd="@dimen/divider_26px"
+                    android:text='@{"好评率"+data.getGoodRateInfo()}'
+                    android:textColor="@color/color_FFFF9E05"
+                    android:textSize="@dimen/divider_24px"
+                    app:layout_constraintEnd_toEndOf="parent"
+                    app:layout_constraintTop_toBottomOf="@+id/tvGoodAt"
+                    tools:text="@string/app_name" />
+
+                <androidx.constraintlayout.widget.ConstraintLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="@dimen/divider_207px"
+                    android:layout_marginStart="@dimen/divider_47px"
+                    android:layout_marginTop="@dimen/divider_55px"
+                    android:layout_marginEnd="@dimen/divider_25px"
+                    android:background="@drawable/bg_consult"
+                    app:layout_constraintEnd_toEndOf="parent"
+                    app:layout_constraintStart_toStartOf="parent"
+                    app:layout_constraintTop_toBottomOf="@+id/tvConsult">
+
+                    <androidx.appcompat.widget.AppCompatTextView
+                        android:id="@+id/tvConsultingService"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginStart="@dimen/divider_36px"
+                        android:layout_marginTop="@dimen/divider_22px"
+                        android:text="@string/visitor_information"
+                        android:textColor="@android:color/white"
+                        android:textSize="@dimen/divider_24px"
+                        android:textStyle="bold"
+                        app:layout_constraintStart_toStartOf="parent"
+                        app:layout_constraintTop_toTopOf="parent" />
+
+                    <androidx.appcompat.widget.AppCompatTextView
+                        android:id="@+id/tvPatientName"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginStart="@dimen/divider_36px"
+                        android:layout_marginTop="@dimen/divider_16px"
+                        android:text="@{user.name}"
+                        android:textColor="@android:color/white"
+                        android:textSize="@dimen/divider_24px"
+                        app:layout_constraintStart_toStartOf="parent"
+                        app:layout_constraintTop_toBottomOf="@+id/tvConsultingService" />
+
+                    <androidx.appcompat.widget.AppCompatTextView
+                        android:id="@+id/tvPatientSex"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginStart="@dimen/divider_49px"
+                        android:layout_marginTop="@dimen/divider_16px"
+                        android:text='@{"性别:"+user.getSex()}'
+                        android:textColor="@android:color/white"
+                        android:textSize="@dimen/divider_24px"
+                        app:layout_constraintStart_toEndOf="@+id/tvPatientName"
+                        app:layout_constraintTop_toBottomOf="@+id/tvConsultingService" />
+
+                    <androidx.appcompat.widget.AppCompatTextView
+                        android:id="@+id/tvPatientAge"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginStart="@dimen/divider_36px"
+                        android:layout_marginTop="@dimen/divider_16px"
+                        android:text='@{"年龄:"+user.getAgeInfo()}'
+                        android:textColor="@android:color/white"
+                        android:textSize="@dimen/divider_24px"
+                        app:layout_constraintStart_toEndOf="@+id/tvPatientSex"
+                        app:layout_constraintTop_toBottomOf="@+id/tvConsultingService" />
+
+                    <androidx.appcompat.widget.AppCompatTextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginStart="@dimen/divider_36px"
+                        android:layout_marginBottom="@dimen/divider_28px"
+                        android:text='@{user.idCard}'
+                        android:textColor="@android:color/white"
+                        android:textSize="@dimen/divider_24px"
+                        app:layout_constraintBottom_toBottomOf="parent"
+                        app:layout_constraintStart_toStartOf="parent" />
+
+                    <androidx.appcompat.widget.AppCompatTextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginEnd="@dimen/divider_24px"
+                        android:layout_marginBottom="@dimen/divider_28px"
+                        android:text='@{"手机号:"+user.mobile}'
+                        android:textColor="@android:color/white"
+                        android:textSize="@dimen/divider_24px"
+                        app:layout_constraintBottom_toBottomOf="parent"
+                        app:layout_constraintEnd_toEndOf="parent" />
+                </androidx.constraintlayout.widget.ConstraintLayout>
+
+                <androidx.appcompat.widget.AppCompatButton
+                    android:id="@+id/btnSubmit"
+                    android:layout_width="@dimen/divider_290px"
+                    android:layout_height="@dimen/divider_75px"
+                    android:layout_marginBottom="@dimen/divider_36px"
+                    android:background="@drawable/bg_submit"
+                    android:gravity="center"
+                    android:text="@string/submit"
+                    android:textColor="@android:color/white"
+                    android:textSize="@dimen/divider_32px"
+                    android:textStyle="bold"
+                    app:layout_constraintBottom_toBottomOf="parent"
+                    app:layout_constraintEnd_toEndOf="parent"
+                    app:layout_constraintStart_toStartOf="parent" />
+
+            </androidx.constraintlayout.widget.ConstraintLayout>
+        </com.google.android.material.card.MaterialCardView>
+
+
+    </androidx.constraintlayout.widget.ConstraintLayout>
+</layout>

+ 0 - 1
healthconsultation/src/main/res/layout/activity_doctor_details.xml

@@ -56,7 +56,6 @@
             app:layout_constraintStart_toStartOf="parent"
             app:layout_constraintTop_toTopOf="parent" />
 
-
         <com.google.android.material.card.MaterialCardView
             android:layout_width="match_parent"
             android:layout_height="0dp"

+ 1 - 0
healthconsultation/src/main/res/values/dimens.xml

@@ -38,6 +38,7 @@
     <dimen name="divider_320px" tools:ignore="ResourceName">320px</dimen>
     <dimen name="divider_313px" tools:ignore="ResourceName">313px</dimen>
     <dimen name="divider_307px" tools:ignore="ResourceName">307px</dimen>
+    <dimen name="divider_290px" tools:ignore="ResourceName">290px</dimen>
     <dimen name="divider_289px" tools:ignore="ResourceName">289px</dimen>
     <dimen name="divider_285px" tools:ignore="ResourceName">285px</dimen>
     <dimen name="divider_270px" tools:ignore="ResourceName">270px</dimen>

+ 3 - 0
healthconsultation/src/main/res/values/strings.xml

@@ -11,4 +11,7 @@
     <string name="doctor_details" tools:ignore="ResourceName">医生详情</string>
     <string name="consulting_service" tools:ignore="ResourceName">咨询服务</string>
     <string name="go_to_consult" tools:ignore="ResourceName">去咨询</string>
+    <string name="consultation_request" tools:ignore="ResourceName">问诊申请</string>
+    <string name="visitor_information" tools:ignore="ResourceName">就诊人信息</string>
+    <string name="submit" tools:ignore="ResourceName">提交</string>
 </resources>