Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShenghuoquanBusiness
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
ShenghuoquanBusiness
Commits
50970a16
Commit
50970a16
authored
Jun 29, 2021
by
yinjiacheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix UI走查 营业执照信息提交页
parent
c25e7e35
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
28 additions
and
24 deletions
+28
-24
colors.xml
CommonLib/Common/src/main/res/values/colors.xml
+1
-0
LifeAccountEnterpriseAuthActivity.kt
.../newscontent/ui/auth/LifeAccountEnterpriseAuthActivity.kt
+10
-10
LifeAccountPersonalAuthActivity.kt
...an/newscontent/ui/auth/LifeAccountPersonalAuthActivity.kt
+6
-6
activity_life_account_enterprise_auth.xml
...main/res/layout/activity_life_account_enterprise_auth.xml
+4
-3
activity_life_account_personal_auth.xml
...c/main/res/layout/activity_life_account_personal_auth.xml
+5
-4
fragment_life_account_business_license_auth.xml
...es/layout/fragment_life_account_business_license_auth.xml
+1
-0
fragment_life_account_id_card_auth.xml
...rc/main/res/layout/fragment_life_account_id_card_auth.xml
+1
-1
No files found.
CommonLib/Common/src/main/res/values/colors.xml
View file @
50970a16
...
...
@@ -32,4 +32,5 @@
<color
name=
"color_333333"
>
#333333
</color>
<color
name=
"color_666666"
>
#666666
</color>
<color
name=
"color_999999"
>
#999999
</color>
<color
name=
"color_bg_page"
>
#FFFFFFFF
</color>
</resources>
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/auth/LifeAccountEnterpriseAuthActivity.kt
View file @
50970a16
...
...
@@ -118,7 +118,7 @@ class LifeAccountEnterpriseAuthActivity : BaseActivity<ActivityLifeAccountEnterp
private
fun
initListener
()
{
viewBind
.
bvTopBar
.
setOnCommonTopBarCallback
(
this
,
null
)
viewBind
.
svMerchantType
.
setOnClickListener
(
this
)
viewBind
.
btn
Next
.
setOnClickListener
(
this
)
viewBind
.
tv
Next
.
setOnClickListener
(
this
)
}
/**
...
...
@@ -131,15 +131,15 @@ class LifeAccountEnterpriseAuthActivity : BaseActivity<ActivityLifeAccountEnterp
&&
!
LifeAccountAuthDataManager
.
merchantAuthData
.
registrationName
.
isNullOrEmpty
()
&&
!
LifeAccountAuthDataManager
.
merchantAuthData
.
registrationCode
.
isNullOrEmpty
()
)
{
viewBind
.
btn
Next
.
alpha
=
1f
viewBind
.
btn
Next
.
isEnabled
=
true
viewBind
.
tv
Next
.
alpha
=
1f
viewBind
.
tv
Next
.
isEnabled
=
true
}
else
if
(
viewBind
.
pvAuthProcess
.
curProcess
==
LifeAccountAuthProcessView
.
PROCESS_ENTERPRISE_MANAGER
&&
LifeAccountAuthDataManager
.
personalAuthData
.
isAgreePrivacyAgreement
&&
LifeAccountAuthDataManager
.
merchantAuthData
.
merchantType
==
Constant
.
TYPE_INDIVIDUAL_BUSINESS
&&
LifeAccountAuthDataManager
.
personalAuthData
.
isFaceAuthPass
)
{
viewBind
.
btn
Next
.
alpha
=
1f
viewBind
.
btn
Next
.
isEnabled
=
true
viewBind
.
tv
Next
.
alpha
=
1f
viewBind
.
tv
Next
.
isEnabled
=
true
}
else
if
(
viewBind
.
pvAuthProcess
.
curProcess
==
LifeAccountAuthProcessView
.
PROCESS_ENTERPRISE_MANAGER
&&
LifeAccountAuthDataManager
.
personalAuthData
.
isAgreePrivacyAgreement
&&
LifeAccountAuthDataManager
.
merchantAuthData
.
merchantType
==
Constant
.
TYPE_COMMON_ENTERPRISE
...
...
@@ -149,11 +149,11 @@ class LifeAccountEnterpriseAuthActivity : BaseActivity<ActivityLifeAccountEnterp
&&
!
LifeAccountAuthDataManager
.
personalAuthData
.
idCardNum
.
isNullOrEmpty
()
&&
!
LifeAccountAuthDataManager
.
personalAuthData
.
phoneNum
.
isNullOrEmpty
()
)
{
viewBind
.
btn
Next
.
alpha
=
1f
viewBind
.
btn
Next
.
isEnabled
=
true
viewBind
.
tv
Next
.
alpha
=
1f
viewBind
.
tv
Next
.
isEnabled
=
true
}
else
{
viewBind
.
btn
Next
.
alpha
=
0.32f
viewBind
.
btn
Next
.
isEnabled
=
false
viewBind
.
tv
Next
.
alpha
=
0.32f
viewBind
.
tv
Next
.
isEnabled
=
false
}
}
...
...
@@ -244,7 +244,7 @@ class LifeAccountEnterpriseAuthActivity : BaseActivity<ActivityLifeAccountEnterp
)
).
show
()
}
R
.
id
.
btn
_next
->
{
R
.
id
.
tv
_next
->
{
if
(
viewBind
.
pvAuthProcess
.
curProcess
==
LifeAccountAuthProcessView
.
PROCESS_ENTERPRISE_QUALIFICATION
)
{
// personalLifeAccountId不为null则是由个人生活号升级为企业生活号情况
// personalLifeAccountId为null则是直接进行企业认证情况
...
...
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/auth/LifeAccountPersonalAuthActivity.kt
View file @
50970a16
...
...
@@ -87,7 +87,7 @@ class LifeAccountPersonalAuthActivity :
private
fun
initListener
()
{
viewBind
.
svOccupation
.
setOnClickListener
(
this
)
viewBind
.
btn
Next
.
setOnClickListener
(
this
)
viewBind
.
tv
Next
.
setOnClickListener
(
this
)
}
private
fun
initData
()
{
...
...
@@ -110,11 +110,11 @@ class LifeAccountPersonalAuthActivity :
&&
!
LifeAccountAuthDataManager
.
personalAuthData
.
occupation
.
isNullOrEmpty
()
&&
LifeAccountAuthDataManager
.
personalAuthData
.
isFaceAuthPass
)
{
viewBind
.
btn
Next
.
alpha
=
1f
viewBind
.
btn
Next
.
isEnabled
=
true
viewBind
.
tv
Next
.
alpha
=
1f
viewBind
.
tv
Next
.
isEnabled
=
true
}
else
{
viewBind
.
btn
Next
.
alpha
=
0.32f
viewBind
.
btn
Next
.
isEnabled
=
false
viewBind
.
tv
Next
.
alpha
=
0.32f
viewBind
.
tv
Next
.
isEnabled
=
false
}
}
...
...
@@ -145,7 +145,7 @@ class LifeAccountPersonalAuthActivity :
R
.
id
.
sv_occupation
->
{
XPageManager
.
push
(
XRouterPathConstants
.
CHOOSE_CAREER
,
null
)
}
R
.
id
.
btn
_next
->
{
R
.
id
.
tv
_next
->
{
// 个人认证 完成认证
ApiService
.
authComplete
(
this
,
lifeAccountId
?.
let
{
hashMapOf
(
Pair
(
EXTRA_LIFE_ACCOUNT_ID
,
it
))
}
?:
hashMapOf
())
}
...
...
Components/newscontent/src/main/res/layout/activity_life_account_enterprise_auth.xml
View file @
50970a16
...
...
@@ -3,6 +3,7 @@
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/color_bg_page"
android:fitsSystemWindows=
"true"
>
<com.yidian.shenghuoquan.newscontent.widget.CommonTopBarView
...
...
@@ -40,7 +41,7 @@
android:layout_height=
"0dp"
android:layout_marginBottom=
"16dp"
android:fillViewport=
"true"
app:layout_constraintBottom_toTopOf=
"@id/
btn
_next"
app:layout_constraintBottom_toTopOf=
"@id/
tv
_next"
app:layout_constraintTop_toBottomOf=
"@id/sv_merchant_type"
>
<com.yidian.nightmode.widget.YdFrameLayout
...
...
@@ -50,8 +51,8 @@
</com.yidian.nightmode.widget.YdScrollView>
<
com.yidian.nightmode.widget.YdButton
android:id=
"@+id/
btn
_next"
<
TextView
android:id=
"@+id/
tv
_next"
android:layout_width=
"302dp"
android:layout_height=
"42dp"
android:layout_marginBottom=
"33dp"
...
...
Components/newscontent/src/main/res/layout/activity_life_account_personal_auth.xml
View file @
50970a16
...
...
@@ -3,7 +3,7 @@
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/color_
FFFFFFFF
"
android:background=
"@color/color_
bg_page
"
android:fitsSystemWindows=
"true"
>
<com.yidian.shenghuoquan.newscontent.widget.CommonTopBarView
...
...
@@ -34,17 +34,18 @@
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_marginBottom=
"16dp"
app:layout_constraintBottom_toTopOf=
"@id/
btn
_next"
app:layout_constraintBottom_toTopOf=
"@id/
tv
_next"
app:layout_constraintTop_toBottomOf=
"@id/sv_occupation"
/>
<
com.yidian.nightmode.widget.YdButton
android:id=
"@+id/
btn
_next"
<
TextView
android:id=
"@+id/
tv
_next"
android:layout_width=
"302dp"
android:layout_height=
"42dp"
android:layout_marginBottom=
"33dp"
android:alpha=
"0.32"
android:background=
"@drawable/bg_btn_auth"
android:enabled=
"true"
android:gravity=
"center"
android:text=
"@string/auth_finish"
android:textColor=
"#FFFFFFFF"
android:textSize=
"17sp"
...
...
Components/newscontent/src/main/res/layout/fragment_life_account_business_license_auth.xml
View file @
50970a16
...
...
@@ -3,6 +3,7 @@
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/color_bg_page"
android:paddingStart=
"19dp"
android:paddingEnd=
"19dp"
>
...
...
Components/newscontent/src/main/res/layout/fragment_life_account_id_card_auth.xml
View file @
50970a16
...
...
@@ -3,7 +3,7 @@
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/color_
FFFFFFFF
"
>
android:background=
"@color/color_
bg_page
"
>
<com.yidian.nightmode.widget.YdTextView
android:id=
"@+id/tv_id_card_type"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment