zxy 4 سال پیش
والد
کامیت
fb79cbfd2b

+ 1 - 1
app/src/main/java/com/tongyu/luck/happywork/ui/mvp/cclient/presenter/RealNameAuthenticationPresenter.java

@@ -87,10 +87,10 @@ public class RealNameAuthenticationPresenter extends BasePresenter<RealNameAuthe
                                     null, IdCardOcrResult.class, new ISdkOcrEntityResultListener<IdCardOcrResult>() {
                                         @Override
                                         public void onProcessSucceed(IdCardOcrResult idCardOcrResult, String base64Str) {
-                                            mRealNameAuthenticationModel.setResult(idCardOcrResult);
                                             String imagePath = BitmapUtils.generateImage(base64Str, FileUtils.getCaChePicturePath());
                                             if (!TextUtils.isEmpty(imagePath)) {
                                                 if (clickPosition == 0) {
+                                                    mRealNameAuthenticationModel.setResult(idCardOcrResult);
                                                     mRealNameAuthenticationModel.setImagePathPositive(imagePath);
                                                     mvpReference.get().onORCData(idCardOcrResult);
                                                 } else {

+ 2 - 2
app/src/main/res/layout/activity_real_name_authentication_result.xml

@@ -17,7 +17,7 @@
         <View
             android:layout_width="match_parent"
             android:layout_height="216dp"
-            android:layout_marginTop="73dp"
+            android:layout_marginTop="72dp"
             android:background="@mipmap/ic_authentication_submit" />
 
         <TextView
@@ -29,6 +29,7 @@
             android:layout_marginBottom="10dp"
             android:gravity="center"
             android:lineSpacingExtra="8dp"
+            android:textStyle="bold"
             android:text="@string/mine_real_authentication_wait_title"
             android:textColor="@color/text_black"
             android:textSize="@dimen/px60_20sp" />
@@ -39,7 +40,6 @@
             android:layout_alignParentBottom="true"
             android:layout_centerHorizontal="true"
             android:gravity="center"
-            android:lineSpacingExtra="8dp"
             android:text="@string/mine_real_authentication_wait"
             android:textColor="@color/text_black_66"
             android:textSize="@dimen/px42_14sp" />

+ 13 - 7
app/src/main/res/layout/dialog_authenticaition_replay.xml

@@ -6,27 +6,33 @@
 
     <LinearLayout
         android:layout_width="288dp"
-        android:layout_height="307dp"
+        android:layout_height="wrap_content"
         android:background="@drawable/corners_white_14dp"
         android:gravity="center_horizontal"
         android:orientation="vertical">
 
+        <View
+            android:layout_width="55dp"
+            android:layout_height="66dp"
+            android:layout_marginTop="33dp"
+            android:background="@mipmap/ic_authentication_replay" />
+
         <TextView
             android:layout_width="wrap_content"
             android:layout_height="29dp"
-            android:layout_marginTop="53dp"
+            android:layout_marginTop="25dp"
             android:gravity="center"
             android:text="@string/mine_real_authentication_be_authentication"
             android:textColor="@color/text_black_33"
-            android:textSize="@dimen/px60_20sp"
+            android:textSize="@dimen/px48_16sp"
             android:textStyle="bold" />
 
         <TextView
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:layout_marginTop="11dp"
+            android:layout_marginTop="10dp"
             android:gravity="center"
-            android:lineSpacingExtra="2dp"
+            android:lineSpacingExtra="3dp"
             android:text="@string/mine_real_authentication_be_authentication_tips"
             android:textColor="@color/text_black_66"
             android:textSize="@dimen/px39_13sp" />
@@ -38,14 +44,14 @@
             android:gravity="center"
             android:text="400-692-0099"
             android:textColor="@color/text_black_33"
-            android:textSize="@dimen/px69_23sp"
-            android:textStyle="bold" />
+            android:textSize="@dimen/px69_23sp" />
 
         <LinearLayout
             android:id="@+id/ll_call"
             android:layout_width="188dp"
             android:layout_height="42dp"
             android:layout_marginTop="35dp"
+            android:layout_marginBottom="37dp"
             android:background="@drawable/corners_blue_21"
             android:gravity="center">
 

+ 4 - 4
app/src/main/res/values/strings.xml

@@ -622,8 +622,8 @@
     <string name="mine_setting_thank_feed_back">非常感谢您的意见反馈\n您的鞭策是小毛驴前进的动力</string>
     <string name="mine_setting_thank_business_cooperation">谢谢您对开心工作的信赖,看到后会在第一时间联系您</string>
     <string name="mine_setting_no_thank_change">不用谢我了,你赶紧去改吧</string>
-    <string name="mine_real_authentication_wait">我们会尽快审核,请您耐心等待</string>
-    <string name="mine_real_authentication_wait_title">实名认证提交成功</string>
+    <string name="mine_real_authentication_wait">如果实名信息有误,\n请联系开心客服帮您处理!</string>
+    <string name="mine_real_authentication_wait_title">您的实名认证已通过</string>
     <string name="mine_real_authentication_failure">您的审核未通过,\n原因可能是信息或上传图片与要求不符,\n请按照提示要求重新上传您的实名认证资料。</string>
     <string name="mine_real_authentication_replay">重新上传</string>
     <string name="mine_real_authentication_tips">您的申请已提交到后台\n请耐心等待</string>
@@ -635,8 +635,8 @@
     <string name="mine_real_authentication_error">识别失败,请重试</string>
     <string name="mine_real_authentication_back_me_center">返回个人中心</string>
     <string name="mine_real_once_call_phone">一键拨号</string>
-    <string name="mine_real_authentication_be_authentication">您的实名认证已通过</string>
-    <string name="mine_real_authentication_be_authentication_tips">如果实名信息有误,\n请联系开心客服帮您处理!</string>
+    <string name="mine_real_authentication_be_authentication">您的身份证已经被实名认证</string>
+    <string name="mine_real_authentication_be_authentication_tips">如果非您本人操作认证,\n请联系开心客服为您解决问题。</string>
     <string name="mine_click_choose_time_query_salary">点击选择时间以查看该月工资明细</string>
     <string name="mine_resume">我的简历</string>
     <string name="mine_watch_resume">查看简历</string>