Commit 152c449b by 刘鹏

feat : 问题修复

parent b1b23b76
...@@ -8,9 +8,9 @@ ext { ...@@ -8,9 +8,9 @@ ext {
"m-confide" : "0.0.49.10", "m-confide" : "0.0.49.10",
"m-consultant" : "0.0.59.91", "m-consultant" : "0.0.59.91",
"m-fm" : "0.0.30.03", "m-fm" : "0.0.30.03",
"m-user" : "0.0.61.88", "m-user" : "0.0.61.89",
"m-home" : "0.0.22.70", "m-home" : "0.0.22.70",
"m-im" : "0.0.20.67", "m-im" : "0.0.20.68",
"m-dynamic" : "0.0.7.28", "m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.10", "m-article" : "0.0.0.10",
...@@ -92,9 +92,9 @@ ext { ...@@ -92,9 +92,9 @@ ext {
"m-confide" : "0.0.49.10", "m-confide" : "0.0.49.10",
"m-consultant" : "0.0.59.91", "m-consultant" : "0.0.59.91",
"m-fm" : "0.0.30.01", "m-fm" : "0.0.30.01",
"m-user" : "0.0.61.88", "m-user" : "0.0.61.89",
"m-home" : "0.0.22.70", "m-home" : "0.0.22.70",
"m-im" : "0.0.20.67", "m-im" : "0.0.20.68",
"m-dynamic" : "0.0.7.28", "m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.8", "m-article" : "0.0.0.8",
......
...@@ -162,7 +162,7 @@ class GraphicConsultationFlow1Activity : BaseActivity() { ...@@ -162,7 +162,7 @@ class GraphicConsultationFlow1Activity : BaseActivity() {
val inputNumber = edit_input.text.length val inputNumber = edit_input.text.length
if (inputNumber < 10) { if (inputNumber < 10) {
var mustInput = (10 - inputNumber).toString() var mustInput = (10 - inputNumber).toString()
var strStart = "最少还需描" var strStart = "最少还需描"
var strEnd = "个字" var strEnd = "个字"
val spannable = val spannable =
SpannableStringBuilder(strStart + mustInput + strEnd) SpannableStringBuilder(strStart + mustInput + strEnd)
......
...@@ -39,7 +39,7 @@ class GraphicConsulttionFlow2Activity : BaseActivity() { ...@@ -39,7 +39,7 @@ class GraphicConsulttionFlow2Activity : BaseActivity() {
private var mFlow1Activity: BaseActivity? = null private var mFlow1Activity: BaseActivity? = null
//是否是首次问诊 //是否是首次问诊
private var isFirst = -1 private var isFirst = 1
/** /**
......
...@@ -133,24 +133,24 @@ class MedicalAddNewArchivesActivity : BaseActivity() { ...@@ -133,24 +133,24 @@ class MedicalAddNewArchivesActivity : BaseActivity() {
@SuppressLint("CheckResult") @SuppressLint("CheckResult")
private fun checkInfo() { private fun checkInfo() {
if (et_name.text.isNullOrEmpty()) { if (et_name.text.isNullOrEmpty()) {
ToastUtil.toastLong(this@MedicalAddNewArchivesActivity, "请填写姓名") ToastUtil.toastShort("请填写姓名")
return return
} }
if (et_idcard.text.isNullOrEmpty()) { if (et_idcard.text.isNullOrEmpty()) {
ToastUtil.toastLong(this@MedicalAddNewArchivesActivity, "请填写身份证号") ToastUtil.toastShort("请填写身份证号")
return return
} }
if (et_idcard.text.length < 15 || et_idcard.text.length > 18) { if (et_idcard.text.length < 15 || et_idcard.text.length > 18) {
ToastUtil.toastLong(this@MedicalAddNewArchivesActivity, "请填写有效身份证号") ToastUtil.toastShort("请填写有效身份证号")
return return
} }
if (mMarried == -1) { if (mMarried == -1) {
ToastUtil.toastLong(this@MedicalAddNewArchivesActivity, "请选择婚姻状况") ToastUtil.toastShort("请选择婚姻状况")
return return
} }
if (mRelation == -1) { if (mRelation == -1) {
ToastUtil.toastLong(this@MedicalAddNewArchivesActivity, "请选择与就诊人的关系") ToastUtil.toastShort("请选择与就诊人的关系")
return return
} }
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" <shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"> android:shape="rectangle">
<solid android:color="#fff2f5f8" /> <solid android:color="#fff6f7f9" />
<corners android:radius="4dp" /> <corners android:radius="4dp" />
</shape> </shape>
\ No newline at end of file
...@@ -4,6 +4,6 @@ ...@@ -4,6 +4,6 @@
<stroke <stroke
android:width="1px" android:width="1px"
android:color="#ff3464ec" /> android:color="#ff3464ec" />
<solid android:color="#f2f5f8" /> <solid android:color="#f6f7f9" />
<corners android:radius="4dp" /> <corners android:radius="4dp" />
</shape> </shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" <shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"> android:shape="rectangle">
<solid android:color="@color/medical_color_3464ec"/>
<corners android:radius="4dp"/> <stroke android:width="1dp" android:color="@color/medical_color_3464ec" />
<corners android:radius="4dp" />
</shape> </shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/white" android:state_checked="true" /> <item android:color="@color/medical_color_3464ec" android:state_checked="true" />
<item android:color="#495C72" android:state_checked="false" /> <item android:color="#495C72" android:state_checked="false" />
</selector> </selector>
\ No newline at end of file
...@@ -306,7 +306,7 @@ ...@@ -306,7 +306,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:text="2.根据相关政策,现就诊人及监护人需进行实名认证,请您及时认证,以便使用平台的服务功能" android:text="2.根据相关政策,现就诊人及监护人需进行实名认证,请您及时认证,以便使用平台的服务功能"
android:textColor="#ff495c72" android:textColor="#ff495c72"
android:textSize="13sp" android:textSize="13sp"
app:layout_constraintLeft_toLeftOf="@id/tv_name" app:layout_constraintLeft_toLeftOf="@id/tv_name"
......
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:text="2.根据相关政策,现就诊人及监护人需进行实名认证,请您及时认证,以便使用平台的服务功能" android:text="2.根据相关政策,现就诊人及监护人需进行实名认证,请您及时认证,以便使用平台的服务功能"
android:textColor="#ff495c72" android:textColor="#ff495c72"
android:textSize="13sp" android:textSize="13sp"
app:layout_constraintLeft_toLeftOf="@id/tv_name" app:layout_constraintLeft_toLeftOf="@id/tv_name"
......
...@@ -213,6 +213,7 @@ ...@@ -213,6 +213,7 @@
android:background="@drawable/radiobutton_bg" android:background="@drawable/radiobutton_bg"
android:button="@null" android:button="@null"
android:gravity="center" android:gravity="center"
android:checked="true"
android:text="是" android:text="是"
android:textColor="@drawable/radiobutton_textcolor" /> android:textColor="@drawable/radiobutton_textcolor" />
......
...@@ -237,14 +237,14 @@ class InputPassWordActivity : BaseMvpActivity<IInputPassWordContract.View,IInput ...@@ -237,14 +237,14 @@ class InputPassWordActivity : BaseMvpActivity<IInputPassWordContract.View,IInput
} }
tv_forget.setOnClickListener { tv_forget.setOnClickListener {
//忘记密码 //忘记密码 隐藏
VerificationCodeActivity.start( // VerificationCodeActivity.start(
this, // this,
userPhoneNumber!!, // userPhoneNumber!!,
countryCode!!, // countryCode!!,
VerificationCodeActivity.STATUS_FORGET_PWD // VerificationCodeActivity.STATUS_FORGET_PWD
) // )
overridePendingTransition(0, 0) // overridePendingTransition(0, 0)
} }
} }
......
...@@ -92,6 +92,7 @@ ...@@ -92,6 +92,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="忘记密码?" android:text="忘记密码?"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@id/tv_msm_login" app:layout_constraintBottom_toBottomOf="@id/tv_msm_login"
app:layout_constraintEnd_toEndOf="@id/view_lin" app:layout_constraintEnd_toEndOf="@id/view_lin"
app:layout_constraintTop_toTopOf="@id/tv_msm_login"/> app:layout_constraintTop_toTopOf="@id/tv_msm_login"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment