Commit a661afd47165d4430a22ca0389b4ed74e922b3e2

Authored by 杨帅
2 parents 79b5a4fa ec3fda04

Merge branch 'master' of bj.gitlab.cnlive.com:cnlive-team/newModuleStrike

Showing 33 changed files with 1065 additions and 1 deletions
.idea/misc.xml
... ... @@ -39,7 +39,7 @@
39 39 </value>
40 40 </option>
41 41 </component>
42   - <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
  42 + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="JDK" project-jdk-type="JavaSDK">
43 43 <output url="file://$PROJECT_DIR$/build/classes" />
44 44 </component>
45 45 <component name="ProjectType">
... ...
core/dentity_verfication/build.gradle
... ... @@ -8,6 +8,7 @@ dependencies {
8 8 implementation fileTree(include: ['*.jar'], dir: 'libs')
9 9 implementation 'androidx.appcompat:appcompat:1.0.2'
10 10 implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  11 + implementation 'androidx.legacy:legacy-support-v4:1.0.0'
11 12 testImplementation 'junit:junit:4.12'
12 13 androidTestImplementation 'androidx.test.ext:junit:1.1.1'
13 14 androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
... ...
core/dentity_verfication/src/main/AndroidManifest.xml
... ... @@ -12,6 +12,8 @@
12 12 <uses-feature android:name="android.hardware.camera.autofocus" />
13 13  
14 14 <application>
  15 + <activity android:name=".activity.PersonCheckActivity"></activity>
  16 + <activity android:name=".activity.CheckResultActivity" />
15 17 <activity android:name="com.cnlive.core.company_verfication.ui.activity.FillInCompanyDataActivity"></activity>
16 18 <activity android:name="com.cnlive.core.company_verfication.ui.activity.SelectCompanyDataActivity" />
17 19 <activity android:name=".activity.TakeIdentityPictureActivity" />
... ...
core/dentity_verfication/src/main/java/com/cnlive/core/people_verfication/activity/CheckResultActivity.java 0 → 100644
  1 +package com.cnlive.core.people_verfication.activity;
  2 +
  3 +import android.os.Bundle;
  4 +
  5 +import com.cnlive.core.people_verfication.R;
  6 +import com.cnlive.core.people_verfication.fragment.CheckResultFragment;
  7 +import com.cnlive.core.people_verfication.fragment.CompanyCheckSuccessFragment;
  8 +import com.cnlive.core.people_verfication.fragment.PersonCheckSuccessFragment;
  9 +
  10 +import androidx.appcompat.app.AppCompatActivity;
  11 +import androidx.fragment.app.Fragment;
  12 +
  13 +/**
  14 + * 认证结果判断
  15 + * @Author hanyayun
  16 + * @Date 2020/4/7
  17 + */
  18 +public class CheckResultActivity extends AppCompatActivity {
  19 +
  20 + private String userId,code,type;
  21 + private Fragment fragment;
  22 + @Override
  23 + protected void onCreate(Bundle savedInstanceState) {
  24 + super.onCreate(savedInstanceState);
  25 + setContentView(R.layout.activity_check_result);
  26 + userId = getIntent().getStringExtra("userId");
  27 + code = getIntent().getStringExtra("code");
  28 + type = getIntent().getStringExtra("type");
  29 + if(type.equals("person")){//个人
  30 + if(code.equals("-1")){//未认证 加载个人认证页面
  31 +
  32 + }else if(code.equals("0") || code.equals("2")){//审核中或者认证失败
  33 + fragment = CheckResultFragment.newInstance(userId,code,type);
  34 + }else if(code.equals("1")){//认证成功 加载个人检测成功页面
  35 + fragment = new PersonCheckSuccessFragment();
  36 + }
  37 + }else if(type.equals("company")){//机构
  38 + if(code.equals("-1")){//未认证加载机构认证fragment
  39 +
  40 + }else if(code.equals("0") || code.equals("2")){//审核中或者认证失败
  41 + fragment = CheckResultFragment.newInstance(userId,code,type);
  42 + }else if(code.equals("1")){//认证成功 加载机构检测成功页面
  43 + fragment = new CompanyCheckSuccessFragment();
  44 + }
  45 + }
  46 + getSupportFragmentManager().beginTransaction().add(R.id.container, fragment).commit();
  47 + }
  48 +}
... ...
core/dentity_verfication/src/main/java/com/cnlive/core/people_verfication/activity/PersonCheckActivity.java 0 → 100644
  1 +package com.cnlive.core.people_verfication.activity;
  2 +
  3 +import android.os.Bundle;
  4 +
  5 +import com.cnlive.core.people_verfication.R;
  6 +
  7 +import androidx.appcompat.app.AppCompatActivity;
  8 +/**
  9 + * 个人认证结果页面
  10 + * @Author hanyayun
  11 + * @Date 2020/4/7
  12 + */
  13 +public class PersonCheckActivity extends AppCompatActivity {
  14 +
  15 + private String code;
  16 + @Override
  17 + protected void onCreate(Bundle savedInstanceState) {
  18 + super.onCreate(savedInstanceState);
  19 + setContentView(R.layout.activity_person_check);
  20 + code = getIntent().getStringExtra("code");
  21 + if(code.equals("1")){//认证成功--->跳转个人检测成功页面
  22 +
  23 + }else {
  24 + //personCheckFragment页面
  25 + }
  26 + }
  27 +}
... ...
core/dentity_verfication/src/main/java/com/cnlive/core/people_verfication/activity/TakeIdentityPictureActivity.java
... ... @@ -28,6 +28,8 @@ import androidx.databinding.ViewDataBinding;
28 28  
29 29 /**
30 30 * 拍摄照片 身份证件采集
  31 + * @Author hanyayun
  32 + * @Date 2020/4/2
31 33 */
32 34 public class TakeIdentityPictureActivity extends BaseActivity<TakeIdentityPictureView, TakeIdentityPicturePresenter> {
33 35  
... ...
core/dentity_verfication/src/main/java/com/cnlive/core/people_verfication/fragment/CheckResultFragment.java 0 → 100644
  1 +package com.cnlive.core.people_verfication.fragment;
  2 +
  3 +import android.os.Bundle;
  4 +import android.view.LayoutInflater;
  5 +import android.view.View;
  6 +import android.view.ViewGroup;
  7 +import android.widget.ImageView;
  8 +import android.widget.TextView;
  9 +
  10 +import com.cnlive.core.people_verfication.R;
  11 +
  12 +import androidx.annotation.NonNull;
  13 +import androidx.annotation.Nullable;
  14 +import androidx.fragment.app.Fragment;
  15 +
  16 +/**
  17 + * 认证审核结果页面
  18 + * @Author hanyayun
  19 + * @Date 2020/4/7
  20 + */
  21 +public class CheckResultFragment extends Fragment {
  22 +
  23 + private String code;
  24 + private String type;
  25 + private String userId;
  26 + private ImageView result_img;
  27 + private TextView result_tx;
  28 + private TextView result_btn;
  29 + public CheckResultFragment() {
  30 + // Required empty public constructor
  31 + }
  32 + public static CheckResultFragment newInstance(String userId,String code,String type) {
  33 + CheckResultFragment fragment = new CheckResultFragment();
  34 + Bundle args = new Bundle();
  35 + args.putString("userId", userId);
  36 + args.putString("code", code);
  37 + args.putString("type", type);
  38 + fragment.setArguments(args);
  39 + return fragment;
  40 + }
  41 +
  42 +
  43 + @Override
  44 + public View onCreateView(LayoutInflater inflater, ViewGroup container,
  45 + Bundle savedInstanceState) {
  46 + // Inflate the layout for this fragment
  47 + return inflater.inflate(R.layout.fragment_check_result, container, false);
  48 + }
  49 +
  50 + @Override
  51 + public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
  52 + super.onViewCreated(view, savedInstanceState);
  53 + result_img = view.findViewById(R.id.result_img);
  54 + result_tx = view.findViewById(R.id.result_tx);
  55 + result_btn = view.findViewById(R.id.resule_btn);
  56 +
  57 + userId = getArguments().getString("userId");
  58 + code = getArguments().getString("code");
  59 + type = getArguments().getString("type");
  60 + if(type.equals("company")){//0和2都是一个页面
  61 + result_img.setImageResource(R.drawable.check_icon);
  62 + result_tx.setText("您提交资料已完成,查询审核状态需登录PC端操作");
  63 + result_btn.setText("返回");
  64 + view.findViewById(R.id.company_ly).setVisibility(View.VISIBLE);
  65 + result_btn.setOnClickListener(view1 -> getActivity().finish());
  66 + }else if(type.equals("person")){
  67 + view.findViewById(R.id.company_ly).setVisibility(View.GONE);
  68 + if(code.equals("0")){//审核中
  69 + result_img.setImageResource(R.drawable.check_icon);
  70 + result_tx.setText(getString(R.string.checking));
  71 + result_btn.setText("返回");
  72 + result_btn.setOnClickListener(view1 -> getActivity().finish());
  73 + }else if(code.equals("2")){//审核失败
  74 + result_img.setImageResource(R.drawable.check_icon);
  75 + result_tx.setText("审核失败");
  76 + result_btn.setText("继续认证");
  77 + result_btn.setOnClickListener(view1 -> {
  78 + //跳转个人认证页面
  79 + });
  80 + }
  81 + }
  82 + }
  83 +}
... ...
core/dentity_verfication/src/main/java/com/cnlive/core/people_verfication/fragment/CompanyCheckSuccessFragment.java 0 → 100644
  1 +package com.cnlive.core.people_verfication.fragment;
  2 +
  3 +import android.os.Bundle;
  4 +import android.view.LayoutInflater;
  5 +import android.view.View;
  6 +import android.view.ViewGroup;
  7 +
  8 +import com.cnlive.core.people_verfication.R;
  9 +
  10 +import androidx.fragment.app.Fragment;
  11 +
  12 +/**
  13 + * 结构认证成功页面
  14 + * @Author hanyayun
  15 + * @Date 2020/4/7
  16 + */
  17 +public class CompanyCheckSuccessFragment extends Fragment {
  18 +
  19 + public CompanyCheckSuccessFragment() {
  20 + // Required empty public constructor
  21 + }
  22 +
  23 +
  24 + @Override
  25 + public View onCreateView(LayoutInflater inflater, ViewGroup container,
  26 + Bundle savedInstanceState) {
  27 + // Inflate the layout for this fragment
  28 + return inflater.inflate(R.layout.fragment_company_check_success, container, false);
  29 + }
  30 +}
... ...
core/dentity_verfication/src/main/java/com/cnlive/core/people_verfication/fragment/PersonCheckFragment.java 0 → 100644
  1 +package com.cnlive.core.people_verfication.fragment;
  2 +
  3 +import android.os.Bundle;
  4 +import android.view.LayoutInflater;
  5 +import android.view.View;
  6 +import android.view.ViewGroup;
  7 +import android.widget.ImageView;
  8 +import android.widget.TextView;
  9 +
  10 +import com.cnlive.core.people_verfication.R;
  11 +
  12 +import androidx.annotation.NonNull;
  13 +import androidx.annotation.Nullable;
  14 +import androidx.fragment.app.Fragment;
  15 +
  16 +/**
  17 + * 个人检测页面
  18 + * @Author hanyayun
  19 + * @Date 2020/4/7
  20 + */
  21 +public class PersonCheckFragment extends Fragment {
  22 +
  23 + private String code;
  24 + private ImageView check_img;
  25 + private TextView check_tx,check_btn;
  26 +
  27 + public PersonCheckFragment() {
  28 + // Required empty public constructor
  29 + }
  30 +
  31 +
  32 + @Override
  33 + public View onCreateView(LayoutInflater inflater, ViewGroup container,
  34 + Bundle savedInstanceState) {
  35 + // Inflate the layout for this fragment
  36 + return inflater.inflate(R.layout.fragment_person_check, container, false);
  37 + }
  38 +
  39 + @Override
  40 + public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
  41 + super.onViewCreated(view, savedInstanceState);
  42 + check_img = view.findViewById(R.id.check_img);
  43 + check_tx = view.findViewById(R.id.check_tx);
  44 + check_btn = view.findViewById(R.id.check_btn);
  45 +
  46 + code = getArguments().getString("code");
  47 + if(code.equals("-1")){//未认证
  48 + check_img.setImageResource(R.drawable.p_icon);
  49 + check_tx.setText("亲,您未申请个人认证");
  50 + check_btn.setText("去认证");
  51 + check_btn.setOnClickListener(view1 -> {
  52 + //跳转个人认证页面
  53 + });
  54 + }else if(code.equals("0")){//审核中
  55 + check_img.setImageResource(R.drawable.check_icon);
  56 + check_tx.setText("请您耐心等待,后台正在提交审核中");
  57 + check_btn.setText("返回");
  58 + check_btn.setOnClickListener(view1 ->{
  59 + getActivity().finish();
  60 + } );
  61 + }
  62 + }
  63 +}
... ...
core/dentity_verfication/src/main/java/com/cnlive/core/people_verfication/fragment/PersonCheckSuccessFragment.java 0 → 100644
  1 +package com.cnlive.core.people_verfication.fragment;
  2 +
  3 +import android.os.Bundle;
  4 +import android.view.LayoutInflater;
  5 +import android.view.View;
  6 +import android.view.ViewGroup;
  7 +
  8 +import com.cnlive.core.people_verfication.R;
  9 +import com.qmuiteam.qmui.widget.QMUITopBar;
  10 +
  11 +import androidx.annotation.NonNull;
  12 +import androidx.annotation.Nullable;
  13 +import androidx.fragment.app.Fragment;
  14 +
  15 +/**
  16 + * 个人检测成功页面
  17 + * @Author hanyayun
  18 + * @Date 2020/4/7
  19 + */
  20 +public class PersonCheckSuccessFragment extends Fragment {
  21 +
  22 + private QMUITopBar topBar;
  23 + public PersonCheckSuccessFragment() {
  24 + // Required empty public constructor
  25 + }
  26 +
  27 +
  28 + @Override
  29 + public View onCreateView(LayoutInflater inflater, ViewGroup container,
  30 + Bundle savedInstanceState) {
  31 + // Inflate the layout for this fragment
  32 + return inflater.inflate(R.layout.fragment_person_chech_success, container, false);
  33 + }
  34 +
  35 + @Override
  36 + public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
  37 + super.onViewCreated(view, savedInstanceState);
  38 + topBar = view.findViewById(R.id.topbar);
  39 + topBar.setTitle("身份校验");
  40 +
  41 + }
  42 +
  43 +}
... ...
core/dentity_verfication/src/main/java/com/cnlive/core/people_verfication/fragment/TakeIdentityPictureFragment.java 0 → 100644
  1 +package com.cnlive.core.people_verfication.fragment;
  2 +
  3 +import android.os.Bundle;
  4 +import android.view.LayoutInflater;
  5 +import android.view.View;
  6 +import android.view.ViewGroup;
  7 +
  8 +import com.cnlive.core.people_verfication.R;
  9 +
  10 +import androidx.fragment.app.Fragment;
  11 +
  12 +/**
  13 + * 身份采集页面
  14 + * @Author hanyayun
  15 + * @Date 2020/4/7
  16 + */
  17 +public class TakeIdentityPictureFragment extends Fragment {
  18 +
  19 + public TakeIdentityPictureFragment() {
  20 + // Required empty public constructor
  21 + }
  22 +
  23 +
  24 + @Override
  25 + public View onCreateView(LayoutInflater inflater, ViewGroup container,
  26 + Bundle savedInstanceState) {
  27 + // Inflate the layout for this fragment
  28 + return inflater.inflate(R.layout.fragment_take_identity_picture, container, false);
  29 + }
  30 +}
... ...
core/dentity_verfication/src/main/res/drawable-hdpi/check_icon.png 0 → 100644

17.1 KB

core/dentity_verfication/src/main/res/drawable-hdpi/check_success.png 0 → 100644

19.7 KB

core/dentity_verfication/src/main/res/drawable-hdpi/p_icon.png 0 → 100644

16.5 KB

core/dentity_verfication/src/main/res/drawable-hdpi/xzjg.png 0 → 100644

997 Bytes

core/dentity_verfication/src/main/res/drawable-xhdpi/check_icon.png 0 → 100644

20.1 KB

core/dentity_verfication/src/main/res/drawable-xhdpi/p_icon.png 0 → 100644

20.7 KB

core/dentity_verfication/src/main/res/drawable-xhdpi/xzjg.png 0 → 100644

1.12 KB

core/dentity_verfication/src/main/res/drawable-xxhdpi/check_icon.png 0 → 100644

39.8 KB

core/dentity_verfication/src/main/res/drawable-xxhdpi/p_icon.png 0 → 100644

39.7 KB

core/dentity_verfication/src/main/res/drawable-xxhdpi/xzjg.png 0 → 100644

1.88 KB

core/dentity_verfication/src/main/res/drawable/bg_shape_blue.xml 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<shape xmlns:android="http://schemas.android.com/apk/res/android">
  3 + <solid android:color="@color/white" />
  4 + <stroke android:color="@color/color_48A7F9"
  5 + android:width="1dp"/>
  6 + <corners android:radius="5dp" />
  7 +</shape>
0 8 \ No newline at end of file
... ...
core/dentity_verfication/src/main/res/layout/activity_check_result.xml 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + xmlns:app="http://schemas.android.com/apk/res-auto"
  4 + xmlns:tools="http://schemas.android.com/tools"
  5 + android:layout_width="match_parent"
  6 + android:layout_height="match_parent"
  7 + tools:context=".activity.CheckResultActivity">
  8 +
  9 + <RelativeLayout
  10 + android:id="@+id/container"
  11 + android:layout_width="match_parent"
  12 + android:layout_height="match_parent"/>
  13 +</RelativeLayout>
0 14 \ No newline at end of file
... ...
core/dentity_verfication/src/main/res/layout/activity_person_check.xml 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + xmlns:app="http://schemas.android.com/apk/res-auto"
  4 + xmlns:tools="http://schemas.android.com/tools"
  5 + android:layout_width="match_parent"
  6 + android:layout_height="match_parent"
  7 + tools:context=".activity.PersonCheckActivity">
  8 +
  9 +</androidx.constraintlayout.widget.ConstraintLayout>
0 10 \ No newline at end of file
... ...
core/dentity_verfication/src/main/res/layout/fragment_check_result.xml 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + xmlns:tools="http://schemas.android.com/tools"
  4 + android:layout_width="match_parent"
  5 + android:layout_height="match_parent"
  6 + tools:context=".fragment.CheckResultFragment">
  7 +
  8 + <com.qmuiteam.qmui.widget.QMUITopBar
  9 + android:id="@+id/topbar"
  10 + android:layout_width="match_parent"
  11 + android:layout_height="?attr/qmui_topbar_height" />
  12 +
  13 + <LinearLayout
  14 + android:layout_width="match_parent"
  15 + android:layout_height="wrap_content"
  16 + android:layout_centerInParent="true"
  17 + android:orientation="vertical">
  18 + <ImageView
  19 + android:id="@+id/result_img"
  20 + android:layout_width="wrap_content"
  21 + android:layout_height="wrap_content"
  22 + android:layout_gravity="center_horizontal"
  23 + android:src="@drawable/check_icon"/>
  24 +
  25 + <TextView
  26 + android:id="@+id/result_tx"
  27 + android:layout_width="wrap_content"
  28 + android:layout_height="wrap_content"
  29 + android:layout_gravity="center_horizontal"
  30 + android:layout_marginTop="20dp"
  31 + android:textColor="@color/color_999999"
  32 + android:textSize="15sp"
  33 + android:text="@string/checking"/>
  34 +
  35 + <LinearLayout
  36 + android:id="@+id/company_ly"
  37 + android:layout_width="wrap_content"
  38 + android:layout_height="wrap_content"
  39 + android:layout_marginTop="15dp"
  40 + android:orientation="vertical"
  41 + android:visibility="gone"
  42 + android:layout_gravity="center_horizontal">
  43 +
  44 + <LinearLayout
  45 + android:layout_width="wrap_content"
  46 + android:layout_height="wrap_content"
  47 + android:layout_gravity="center_horizontal"
  48 + android:orientation="horizontal">
  49 + <TextView
  50 + android:layout_width="wrap_content"
  51 + android:layout_height="wrap_content"
  52 + android:text="@string/please_copy"
  53 + android:textColor="@color/color_999999"
  54 + android:textSize="14sp"/>
  55 + <TextView
  56 + android:layout_width="wrap_content"
  57 + android:layout_height="wrap_content"
  58 + android:text="http://open.cnlive.com"
  59 + android:textColor="#4CAAFC"
  60 + android:textSize="14sp"/>
  61 + </LinearLayout>
  62 +
  63 + <TextView
  64 + android:layout_width="wrap_content"
  65 + android:layout_height="wrap_content"
  66 + android:layout_gravity="center_horizontal"
  67 + android:layout_marginTop="10dp"
  68 + android:text="@string/serch_pc"
  69 + android:textColor="@color/color_999999"
  70 + android:textSize="14sp"/>
  71 +
  72 + <TextView
  73 + android:layout_width="wrap_content"
  74 + android:layout_height="wrap_content"
  75 + android:lineHeight="20dp"
  76 + android:layout_gravity="center_horizontal"
  77 + android:gravity="center_horizontal"
  78 + android:layout_marginTop="90dp"
  79 + android:text="@string/n_pc_n"
  80 + android:textColor="@color/color_F56950"
  81 + android:textSize="12sp"/>
  82 +
  83 + </LinearLayout>
  84 +
  85 + <TextView
  86 + android:id="@+id/resule_btn"
  87 + android:layout_width="match_parent"
  88 + android:layout_height="45dp"
  89 + android:text="@string/backs"
  90 + android:layout_marginLeft="30dp"
  91 + android:layout_marginRight="30dp"
  92 + android:gravity="center"
  93 + android:textColor="@color/white"
  94 + android:textSize="18sp"
  95 + android:background="@drawable/bg_apply_btn"
  96 + android:layout_marginTop="40dp"/>
  97 + </LinearLayout>
  98 +
  99 +</RelativeLayout>
0 100 \ No newline at end of file
... ...
core/dentity_verfication/src/main/res/layout/fragment_company_check_success.xml 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + xmlns:tools="http://schemas.android.com/tools"
  4 + android:layout_width="match_parent"
  5 + android:layout_height="match_parent"
  6 + tools:context=".fragment.CompanyCheckSuccessFragment">
  7 +
  8 + <!-- TODO: Update blank fragment layout -->
  9 + <TextView
  10 + android:layout_width="match_parent"
  11 + android:layout_height="match_parent"
  12 + android:text="@string/hello_blank_fragment" />
  13 +
  14 +</FrameLayout>
0 15 \ No newline at end of file
... ...
core/dentity_verfication/src/main/res/layout/fragment_person_chech_success.xml 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + xmlns:tools="http://schemas.android.com/tools"
  4 + android:layout_width="match_parent"
  5 + android:layout_height="match_parent"
  6 + android:orientation="vertical"
  7 + tools:context=".fragment.PersonCheckSuccessFragment">
  8 +
  9 +
  10 + <com.qmuiteam.qmui.widget.QMUITopBar
  11 + android:id="@+id/topbar"
  12 + android:layout_width="match_parent"
  13 + android:layout_height="?attr/qmui_topbar_height" />
  14 +
  15 + <ScrollView
  16 + android:layout_width="match_parent"
  17 + android:layout_height="match_parent">
  18 +
  19 + <LinearLayout
  20 + android:layout_width="match_parent"
  21 + android:layout_height="match_parent"
  22 + android:orientation="vertical">
  23 +
  24 + <RelativeLayout
  25 + android:layout_width="match_parent"
  26 + android:layout_height="wrap_content"
  27 + android:layout_margin="10dp">
  28 +
  29 + <LinearLayout
  30 + android:layout_width="wrap_content"
  31 + android:layout_height="wrap_content"
  32 + android:orientation="vertical">
  33 +
  34 + <TextView
  35 + android:id="@+id/per_name"
  36 + android:layout_width="wrap_content"
  37 + android:layout_height="wrap_content"
  38 + android:layout_marginTop="10dp"
  39 + android:text="**琦"
  40 + android:textColor="@color/color_1a1a1a"
  41 + android:textSize="16sp" />
  42 +
  43 + <TextView
  44 + android:id="@+id/per_num"
  45 + android:layout_width="wrap_content"
  46 + android:layout_height="wrap_content"
  47 + android:layout_marginTop="10dp"
  48 + android:text="1***** ******** ***0"
  49 + android:textColor="@color/color_9c9c9c"
  50 + android:textSize="12sp" />
  51 +
  52 + <ImageView
  53 + android:id="@+id/per_img"
  54 + android:layout_width="100dp"
  55 + android:layout_height="150dp"
  56 + android:layout_marginTop="10dp"
  57 + android:src="@drawable/icon_verficat_company_license_add" />
  58 + </LinearLayout>
  59 +
  60 + <ImageView
  61 + android:layout_width="wrap_content"
  62 + android:layout_height="wrap_content"
  63 + android:layout_alignParentRight="true"
  64 + android:layout_margin="10dp"
  65 + android:src="@drawable/check_success" />
  66 + </RelativeLayout>
  67 +
  68 + <View
  69 + android:layout_width="match_parent"
  70 + android:layout_height="10dp"
  71 + android:background="#F2F2F2" />
  72 +
  73 + <androidx.recyclerview.widget.RecyclerView
  74 + android:id="@+id/company_recy"
  75 + android:layout_width="match_parent"
  76 + android:layout_height="wrap_content" />
  77 + </LinearLayout>
  78 + </ScrollView>
  79 +</LinearLayout>
0 80 \ No newline at end of file
... ...
core/dentity_verfication/src/main/res/layout/fragment_person_check.xml 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + xmlns:tools="http://schemas.android.com/tools"
  4 + android:layout_width="match_parent"
  5 + android:layout_height="match_parent"
  6 + tools:context=".fragment.PersonCheckFragment">
  7 +
  8 + <com.qmuiteam.qmui.widget.QMUITopBar
  9 + android:id="@+id/topbar"
  10 + android:layout_width="match_parent"
  11 + android:layout_height="?attr/qmui_topbar_height" />
  12 +
  13 + <LinearLayout
  14 + android:id="@+id/check_ly"
  15 + android:layout_width="match_parent"
  16 + android:layout_height="wrap_content"
  17 + android:layout_centerInParent="true"
  18 + android:orientation="vertical">
  19 + <ImageView
  20 + android:id="@+id/check_img"
  21 + android:layout_width="wrap_content"
  22 + android:layout_height="wrap_content"
  23 + android:layout_gravity="center_horizontal"
  24 + android:src="@drawable/p_icon"/>
  25 +
  26 + <TextView
  27 + android:id="@+id/check_tx"
  28 + android:layout_width="wrap_content"
  29 + android:layout_height="wrap_content"
  30 + android:layout_gravity="center_horizontal"
  31 + android:layout_marginTop="20dp"
  32 + android:textColor="@color/color_999999"
  33 + android:textSize="15sp"
  34 + android:text="@string/no_check"/>
  35 +
  36 + <TextView
  37 + android:id="@+id/check_btn"
  38 + android:layout_width="match_parent"
  39 + android:layout_height="45dp"
  40 + android:text="@string/to_check"
  41 + android:layout_marginLeft="30dp"
  42 + android:layout_marginRight="30dp"
  43 + android:gravity="center"
  44 + android:textColor="@color/white"
  45 + android:textSize="18sp"
  46 + android:background="@drawable/bg_apply_btn"
  47 + android:layout_marginTop="50dp"/>
  48 + </LinearLayout>
  49 +
  50 +</RelativeLayout>
0 51 \ No newline at end of file
... ...
core/dentity_verfication/src/main/res/layout/fragment_take_identity_picture.xml 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + xmlns:tools="http://schemas.android.com/tools"
  4 + android:layout_width="match_parent"
  5 + android:layout_height="match_parent"
  6 + android:orientation="vertical"
  7 + tools:context=".fragment.TakeIdentityPictureFragment">
  8 +
  9 + <com.qmuiteam.qmui.widget.QMUITopBar
  10 + android:id="@+id/topbar"
  11 + android:layout_width="match_parent"
  12 + android:layout_height="?attr/qmui_topbar_height" />
  13 +
  14 + <ScrollView
  15 + android:layout_width="match_parent"
  16 + android:layout_height="match_parent">
  17 +
  18 + <LinearLayout
  19 + android:layout_width="match_parent"
  20 + android:layout_height="match_parent"
  21 + android:orientation="vertical">
  22 +
  23 + <RelativeLayout
  24 + android:layout_width="match_parent"
  25 + android:layout_height="wrap_content"
  26 + android:layout_margin="10dp">
  27 +
  28 + <LinearLayout
  29 + android:layout_width="wrap_content"
  30 + android:layout_height="wrap_content"
  31 + android:orientation="vertical">
  32 +
  33 + <TextView
  34 + android:layout_width="wrap_content"
  35 + android:layout_height="wrap_content"
  36 + android:textColor="@color/color_1a1a1a"
  37 + android:drawablePadding="10dp"
  38 + android:drawableLeft="@drawable/xzjg"
  39 + android:text="@string/your_company_msg"
  40 + android:textSize="16sp"
  41 + />
  42 +
  43 + <LinearLayout
  44 + android:layout_width="wrap_content"
  45 + android:layout_height="wrap_content"
  46 + android:orientation="horizontal"
  47 + android:layout_marginTop="30dp">
  48 +
  49 + <TextView
  50 + android:layout_width="wrap_content"
  51 + android:layout_height="wrap_content"
  52 + android:textSize="13sp"
  53 + android:textColor="@color/color_333333"
  54 + android:text="@string/company_name"/>
  55 +
  56 + <TextView
  57 + android:id="@+id/company_name"
  58 + android:layout_width="wrap_content"
  59 + android:layout_height="wrap_content"
  60 + android:textSize="13sp"
  61 + android:textColor="@color/color_B9B9B9"
  62 + android:text="北京中投视讯文化传媒股份有限公司"/>
  63 + </LinearLayout>
  64 +
  65 + <LinearLayout
  66 + android:layout_width="wrap_content"
  67 + android:layout_height="wrap_content"
  68 + android:orientation="horizontal"
  69 + android:layout_marginTop="20dp">
  70 +
  71 + <TextView
  72 + android:layout_width="wrap_content"
  73 + android:layout_height="wrap_content"
  74 + android:textSize="13sp"
  75 + android:textColor="@color/color_333333"
  76 + android:text="@string/company_logo"/>
  77 +
  78 + <ImageView
  79 + android:id="@+id/company_logo"
  80 + android:layout_width="60dp"
  81 + android:layout_height="60dp"
  82 + android:layout_marginLeft="10dp"/>
  83 +
  84 + </LinearLayout>
  85 + </LinearLayout>
  86 +
  87 + <ImageView
  88 + android:layout_width="wrap_content"
  89 + android:layout_height="wrap_content"
  90 + android:layout_alignParentRight="true"
  91 + android:layout_margin="10dp"
  92 + android:src="@drawable/check_success" />
  93 + </RelativeLayout>
  94 +
  95 + <LinearLayout
  96 + android:layout_width="wrap_content"
  97 + android:layout_height="wrap_content"
  98 + android:orientation="horizontal"
  99 + android:layout_marginTop="30dp">
  100 +
  101 + <TextView
  102 + android:layout_width="wrap_content"
  103 + android:layout_height="wrap_content"
  104 + android:textSize="13sp"
  105 + android:textColor="@color/color_333333"
  106 + android:text="公司简称:"/>
  107 +
  108 + <TextView
  109 + android:layout_width="wrap_content"
  110 + android:layout_height="wrap_content"
  111 + android:textSize="13sp"
  112 + android:textColor="@color/color_B9B9B9"
  113 + android:text="正在上演"/>
  114 + </LinearLayout>
  115 + <LinearLayout
  116 + android:layout_width="wrap_content"
  117 + android:layout_height="wrap_content"
  118 + android:orientation="horizontal"
  119 + android:layout_marginTop="30dp">
  120 +
  121 + <TextView
  122 + android:layout_width="wrap_content"
  123 + android:layout_height="wrap_content"
  124 + android:textSize="13sp"
  125 + android:textColor="@color/color_333333"
  126 + android:text="企业代码:"/>
  127 +
  128 + <TextView
  129 + android:layout_width="wrap_content"
  130 + android:layout_height="wrap_content"
  131 + android:textSize="13sp"
  132 + android:textColor="@color/color_B9B9B9"
  133 + android:text="fbx654875121544"/>
  134 + </LinearLayout>
  135 + <LinearLayout
  136 + android:layout_width="wrap_content"
  137 + android:layout_height="wrap_content"
  138 + android:orientation="horizontal"
  139 + android:layout_marginTop="30dp">
  140 +
  141 + <TextView
  142 + android:layout_width="wrap_content"
  143 + android:layout_height="wrap_content"
  144 + android:textSize="13sp"
  145 + android:textColor="@color/color_333333"
  146 + android:text="企业简介:"/>
  147 +
  148 + <TextView
  149 + android:layout_width="wrap_content"
  150 + android:layout_height="wrap_content"
  151 + android:textSize="13sp"
  152 + android:textColor="@color/color_B9B9B9"
  153 + android:text="正在上演专门传播影视文化内容"/>
  154 + </LinearLayout>
  155 + <LinearLayout
  156 + android:layout_width="wrap_content"
  157 + android:layout_height="wrap_content"
  158 + android:orientation="horizontal"
  159 + android:layout_marginTop="30dp">
  160 +
  161 + <TextView
  162 + android:layout_width="wrap_content"
  163 + android:layout_height="wrap_content"
  164 + android:textSize="13sp"
  165 + android:textColor="@color/color_333333"
  166 + android:text="企业地址:"/>
  167 +
  168 + <TextView
  169 + android:layout_width="wrap_content"
  170 + android:layout_height="wrap_content"
  171 + android:textSize="13sp"
  172 + android:textColor="@color/color_B9B9B9"/>
  173 + </LinearLayout>
  174 + <LinearLayout
  175 + android:layout_width="wrap_content"
  176 + android:layout_height="wrap_content"
  177 + android:orientation="horizontal"
  178 + android:layout_marginTop="30dp">
  179 +
  180 + <TextView
  181 + android:layout_width="wrap_content"
  182 + android:layout_height="wrap_content"
  183 + android:textSize="13sp"
  184 + android:textColor="@color/color_333333"
  185 + android:text="企业类型:"/>
  186 +
  187 + <TextView
  188 + android:layout_width="wrap_content"
  189 + android:layout_height="wrap_content"
  190 + android:textSize="13sp"
  191 + android:textColor="@color/color_B9B9B9"/>
  192 + </LinearLayout>
  193 + <LinearLayout
  194 + android:layout_width="wrap_content"
  195 + android:layout_height="wrap_content"
  196 + android:orientation="horizontal"
  197 + android:layout_marginTop="30dp">
  198 +
  199 + <TextView
  200 + android:layout_width="wrap_content"
  201 + android:layout_height="wrap_content"
  202 + android:textSize="13sp"
  203 + android:textColor="@color/color_333333"
  204 + android:text="企业网站:"/>
  205 +
  206 + <TextView
  207 + android:layout_width="wrap_content"
  208 + android:layout_height="wrap_content"
  209 + android:textSize="13sp"
  210 + android:textColor="@color/color_B9B9B9"/>
  211 + </LinearLayout>
  212 + <LinearLayout
  213 + android:layout_width="wrap_content"
  214 + android:layout_height="wrap_content"
  215 + android:orientation="horizontal"
  216 + android:layout_marginTop="30dp">
  217 +
  218 + <TextView
  219 + android:layout_width="wrap_content"
  220 + android:layout_height="wrap_content"
  221 + android:textSize="13sp"
  222 + android:textColor="@color/color_333333"
  223 + android:text="企业法人:"/>
  224 +
  225 + <TextView
  226 + android:layout_width="wrap_content"
  227 + android:layout_height="wrap_content"
  228 + android:textSize="13sp"
  229 + android:textColor="@color/color_B9B9B9"/>
  230 + </LinearLayout>
  231 + <LinearLayout
  232 + android:layout_width="wrap_content"
  233 + android:layout_height="wrap_content"
  234 + android:orientation="horizontal"
  235 + android:layout_marginTop="30dp">
  236 +
  237 + <TextView
  238 + android:layout_width="wrap_content"
  239 + android:layout_height="wrap_content"
  240 + android:textSize="13sp"
  241 + android:textColor="@color/color_333333"
  242 + android:text="联系人:"/>
  243 +
  244 + <TextView
  245 + android:layout_width="wrap_content"
  246 + android:layout_height="wrap_content"
  247 + android:textSize="13sp"
  248 + android:textColor="@color/color_B9B9B9"/>
  249 + </LinearLayout>
  250 + <LinearLayout
  251 + android:layout_width="wrap_content"
  252 + android:layout_height="wrap_content"
  253 + android:orientation="horizontal"
  254 + android:layout_marginTop="30dp">
  255 +
  256 + <TextView
  257 + android:layout_width="wrap_content"
  258 + android:layout_height="wrap_content"
  259 + android:textSize="13sp"
  260 + android:textColor="@color/color_333333"
  261 + android:text="合同编号:"/>
  262 +
  263 + <TextView
  264 + android:layout_width="wrap_content"
  265 + android:layout_height="wrap_content"
  266 + android:textSize="13sp"
  267 + android:textColor="@color/color_B9B9B9"/>
  268 + </LinearLayout>
  269 + <LinearLayout
  270 + android:layout_width="wrap_content"
  271 + android:layout_height="wrap_content"
  272 + android:orientation="horizontal"
  273 + android:layout_marginTop="30dp">
  274 +
  275 + <TextView
  276 + android:layout_width="wrap_content"
  277 + android:layout_height="wrap_content"
  278 + android:textSize="13sp"
  279 + android:textColor="@color/color_333333"
  280 + android:text="营业执照号:"/>
  281 +
  282 + <TextView
  283 + android:layout_width="wrap_content"
  284 + android:layout_height="wrap_content"
  285 + android:textSize="13sp"
  286 + android:textColor="@color/color_B9B9B9"/>
  287 + </LinearLayout>
  288 + <LinearLayout
  289 + android:layout_width="wrap_content"
  290 + android:layout_height="wrap_content"
  291 + android:orientation="horizontal"
  292 + android:layout_marginTop="30dp">
  293 +
  294 + <TextView
  295 + android:layout_width="wrap_content"
  296 + android:layout_height="wrap_content"
  297 + android:textSize="13sp"
  298 + android:textColor="@color/color_333333"
  299 + android:text="营业执照:"/>
  300 +
  301 + <ImageView
  302 + android:layout_width="100dp"
  303 + android:layout_height="150dp"/>
  304 + </LinearLayout>
  305 + </LinearLayout>
  306 + </ScrollView>
  307 +</LinearLayout>
0 308 \ No newline at end of file
... ...
core/dentity_verfication/src/main/res/layout/person_item.xml 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<LinearLayout
  3 + xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
  4 + android:layout_height="match_parent"
  5 + android:orientation="vertical">
  6 +
  7 + <TextView
  8 + android:layout_width="wrap_content"
  9 + android:layout_height="wrap_content"
  10 + android:textColor="@color/color_333333"
  11 + android:drawablePadding="10dp"
  12 + android:drawableLeft="@drawable/xzjg"
  13 + android:text="@string/for_company"
  14 + android:textSize="16sp"
  15 + />
  16 + <LinearLayout
  17 + android:layout_width="wrap_content"
  18 + android:layout_height="wrap_content"
  19 + android:orientation="horizontal"
  20 + android:layout_marginTop="20dp">
  21 +
  22 + <TextView
  23 + android:layout_width="wrap_content"
  24 + android:layout_height="wrap_content"
  25 + android:textSize="13sp"
  26 + android:textColor="@color/color_333333"
  27 + android:text="@string/for_impor"/>
  28 +
  29 + <TextView
  30 + android:id="@+id/item_company"
  31 + android:layout_width="wrap_content"
  32 + android:layout_height="wrap_content"
  33 + android:textSize="13sp"
  34 + android:textColor="@color/color_B9B9B9"
  35 + android:text="北京中投视讯文化传媒股份有限公司"/>
  36 + </LinearLayout>
  37 +
  38 + <LinearLayout
  39 + android:layout_width="wrap_content"
  40 + android:layout_height="wrap_content"
  41 + android:orientation="horizontal"
  42 + android:layout_marginTop="20dp">
  43 +
  44 + <TextView
  45 + android:layout_width="wrap_content"
  46 + android:layout_height="wrap_content"
  47 + android:textSize="13sp"
  48 + android:textColor="@color/color_333333"
  49 + android:text="@string/your_circle"/>
  50 +
  51 + <TextView
  52 + android:id="@+id/small_num"
  53 + android:layout_width="wrap_content"
  54 + android:layout_height="wrap_content"
  55 + android:textSize="13sp"
  56 + android:textColor="@color/color_B9B9B9"
  57 + android:text="李德文老师的圈子"/>
  58 + </LinearLayout>
  59 +
  60 + <LinearLayout
  61 + android:layout_width="wrap_content"
  62 + android:layout_height="wrap_content"
  63 + android:orientation="horizontal"
  64 + android:layout_marginTop="20dp">
  65 +
  66 + <TextView
  67 + android:layout_width="wrap_content"
  68 + android:layout_height="wrap_content"
  69 + android:textSize="13sp"
  70 + android:textColor="@color/color_333333"
  71 + android:text="@string/circle_group"/>
  72 +
  73 + <androidx.recyclerview.widget.RecyclerView
  74 + android:layout_width="wrap_content"
  75 + android:layout_height="wrap_content"/>
  76 + </LinearLayout>
  77 + <LinearLayout
  78 + android:layout_width="wrap_content"
  79 + android:layout_height="wrap_content"
  80 + android:orientation="horizontal"
  81 + android:layout_marginTop="20dp">
  82 +
  83 + <TextView
  84 + android:layout_width="wrap_content"
  85 + android:layout_height="wrap_content"
  86 + android:textSize="13sp"
  87 + android:textColor="@color/color_333333"
  88 + android:text="@string/about_num"/>
  89 +
  90 + <TextView
  91 + android:layout_width="wrap_content"
  92 + android:layout_height="wrap_content"
  93 + android:textSize="13sp"
  94 + android:textColor="@color/color_B9B9B9"
  95 + android:text="德文文化社区"/>
  96 + </LinearLayout>
  97 +
  98 + <LinearLayout
  99 + android:layout_width="wrap_content"
  100 + android:layout_height="wrap_content"
  101 + android:orientation="horizontal"
  102 + android:layout_marginTop="20dp">
  103 +
  104 + <TextView
  105 + android:layout_width="wrap_content"
  106 + android:layout_height="wrap_content"
  107 + android:textSize="13sp"
  108 + android:textColor="@color/color_333333"
  109 + android:text="@string/about_group"/>
  110 +
  111 + <androidx.recyclerview.widget.RecyclerView
  112 + android:layout_width="wrap_content"
  113 + android:layout_height="wrap_content"/>
  114 + </LinearLayout>
  115 +</LinearLayout>
0 116 \ No newline at end of file
... ...
core/dentity_verfication/src/main/res/layout/person_items.xml 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<LinearLayout
  3 + xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
  4 + android:layout_height="match_parent">
  5 +
  6 + <TextView
  7 + android:layout_width="wrap_content"
  8 + android:layout_height="wrap_content"
  9 + android:text="书法一班"
  10 + android:textSize="12sp"
  11 + android:textColor="@color/color_48A7F9"
  12 + android:background="@drawable/bg_shape_blue"
  13 + android:paddingTop="3dp"
  14 + android:paddingBottom="3dp"
  15 + android:paddingLeft="5dp"
  16 + android:paddingRight="5dp"
  17 + />
  18 +</LinearLayout>
0 19 \ No newline at end of file
... ...
core/dentity_verfication/src/main/res/values/colors.xml 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<resources>
  3 + <color name="color_F56950">#F56950</color>
  4 + <color name="color_1a1a1a">#1A1A1A</color>
  5 +</resources>
0 6 \ No newline at end of file
... ...
core/dentity_verfication/src/main/res/values/strings.xml
... ... @@ -19,5 +19,24 @@
19 19 <string name="next">下一步</string>
20 20 <string name="change">更改</string>
21 21  
  22 + <!-- TODO: Remove or change this placeholder text -->
  23 + <string name="hello_blank_fragment">Hello blank fragment</string>
  24 + <string name="checking">请您耐心等待,后台正在提交审核中</string>
  25 + <string name="backs">返回</string>
  26 + <string name="no_check">亲,您未申请个人认证</string>
  27 + <string name="to_check">去认证</string>
  28 +
22 29 <string name="string_fill_in_company_data_license_tip">我同意并已阅读<font color="#4EABFD">《中国网+内容安全协议》</font></string>
  30 + <string name="please_copy">请复制链接:</string>
  31 + <string name="serch_pc">到电脑浏览器打开查询</string>
  32 + <string name="n_pc_n">-----查询须知:-----\n若您在PC端从未注册登录,注册时填写的手机号与\n网家家企业端的手机号保持一致,否则无法查询</string>
  33 + <string name="for_company">您在网家家平台上的所属机构</string>
  34 + <string name="for_impor">所属机构(主账号):</string>
  35 + <string name="your_circle">您的圈子(子账号):</string>
  36 + <string name="circle_group">圈子群组(子群组):</string>
  37 + <string name="about_num">相关账号(子账号):</string>
  38 + <string name="about_group">相关群组(子群组):</string>
  39 + <string name="your_company_msg">您的公司信息</string>
  40 + <string name="company_name">公司全称:</string>
  41 + <string name="company_logo">企业logo:</string>
23 42 </resources>
... ...