Commit 0b812b0025fa2907dd955db6cefaebfa36b2c087
1 parent
8eafc164
添加身份校验成功页面
Showing
11 changed files
with
231 additions
and
6 deletions
core/dentity_verfication/src/main/java/com/cnlive/core/people_verfication/fragment/PersonCheckSuccessFragment.java
| @@ -6,7 +6,10 @@ import android.view.View; | @@ -6,7 +6,10 @@ import android.view.View; | ||
| 6 | import android.view.ViewGroup; | 6 | import android.view.ViewGroup; |
| 7 | 7 | ||
| 8 | import com.cnlive.core.people_verfication.R; | 8 | import com.cnlive.core.people_verfication.R; |
| 9 | +import com.qmuiteam.qmui.widget.QMUITopBar; | ||
| 9 | 10 | ||
| 11 | +import androidx.annotation.NonNull; | ||
| 12 | +import androidx.annotation.Nullable; | ||
| 10 | import androidx.fragment.app.Fragment; | 13 | import androidx.fragment.app.Fragment; |
| 11 | 14 | ||
| 12 | /** | 15 | /** |
| @@ -16,6 +19,7 @@ import androidx.fragment.app.Fragment; | @@ -16,6 +19,7 @@ import androidx.fragment.app.Fragment; | ||
| 16 | */ | 19 | */ |
| 17 | public class PersonCheckSuccessFragment extends Fragment { | 20 | public class PersonCheckSuccessFragment extends Fragment { |
| 18 | 21 | ||
| 22 | + private QMUITopBar topBar; | ||
| 19 | public PersonCheckSuccessFragment() { | 23 | public PersonCheckSuccessFragment() { |
| 20 | // Required empty public constructor | 24 | // Required empty public constructor |
| 21 | } | 25 | } |
| @@ -27,4 +31,13 @@ public class PersonCheckSuccessFragment extends Fragment { | @@ -27,4 +31,13 @@ public class PersonCheckSuccessFragment extends Fragment { | ||
| 27 | // Inflate the layout for this fragment | 31 | // Inflate the layout for this fragment |
| 28 | return inflater.inflate(R.layout.fragment_person_chech_success, container, false); | 32 | return inflater.inflate(R.layout.fragment_person_chech_success, container, false); |
| 29 | } | 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 | + | ||
| 30 | } | 43 | } |
core/dentity_verfication/src/main/res/drawable-hdpi/check_success.png
0 → 100644
19.7 KB
core/dentity_verfication/src/main/res/drawable-hdpi/xzjg.png
0 → 100644
997 Bytes
core/dentity_verfication/src/main/res/drawable-xhdpi/xzjg.png
0 → 100644
1.12 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 | \ No newline at end of file | 8 | \ No newline at end of file |
core/dentity_verfication/src/main/res/layout/fragment_person_chech_success.xml
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | 2 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | xmlns:tools="http://schemas.android.com/tools" | 3 | xmlns:tools="http://schemas.android.com/tools" |
| 4 | android:layout_width="match_parent" | 4 | android:layout_width="match_parent" |
| 5 | android:layout_height="match_parent" | 5 | android:layout_height="match_parent" |
| 6 | + android:orientation="vertical" | ||
| 6 | tools:context=".fragment.PersonCheckSuccessFragment"> | 7 | tools:context=".fragment.PersonCheckSuccessFragment"> |
| 7 | 8 | ||
| 8 | - <!-- TODO: Update blank fragment layout --> | ||
| 9 | - <TextView | 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 | ||
| 10 | android:layout_width="match_parent" | 16 | android:layout_width="match_parent" |
| 11 | - android:layout_height="match_parent" | ||
| 12 | - android:text="@string/hello_blank_fragment" /> | 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" /> | ||
| 13 | 72 | ||
| 14 | -</FrameLayout> | ||
| 15 | \ No newline at end of file | 73 | \ No newline at end of file |
| 74 | + <androidx.recyclerview.widget.RecyclerView | ||
| 75 | + android:id="@+id/company_recy" | ||
| 76 | + android:layout_width="match_parent" | ||
| 77 | + android:layout_height="wrap_content" /> | ||
| 78 | + </LinearLayout> | ||
| 79 | + </ScrollView> | ||
| 80 | +</LinearLayout> | ||
| 16 | \ No newline at end of file | 81 | \ 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 | \ No newline at end of file | 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 | \ No newline at end of file | 19 | \ No newline at end of file |
core/dentity_verfication/src/main/res/values/colors.xml
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <resources> | 2 | <resources> |
| 3 | <color name="color_F56950">#F56950</color> | 3 | <color name="color_F56950">#F56950</color> |
| 4 | + <color name="color_1a1a1a">#1A1A1A</color> | ||
| 4 | </resources> | 5 | </resources> |
| 5 | \ No newline at end of file | 6 | \ No newline at end of file |
core/dentity_verfication/src/main/res/values/strings.xml
| @@ -30,4 +30,10 @@ | @@ -30,4 +30,10 @@ | ||
| 30 | <string name="please_copy">请复制链接:</string> | 30 | <string name="please_copy">请复制链接:</string> |
| 31 | <string name="serch_pc">到电脑浏览器打开查询</string> | 31 | <string name="serch_pc">到电脑浏览器打开查询</string> |
| 32 | <string name="n_pc_n">-----查询须知:-----\n若您在PC端从未注册登录,注册时填写的手机号与\n网家家企业端的手机号保持一致,否则无法查询</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> | ||
| 33 | </resources> | 39 | </resources> |