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
84550edf
Commit
84550edf
authored
Jun 02, 2021
by
yinjiacheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 职业标签UI
parent
ef82a071
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
49 deletions
+9
-49
LifeAccountPersonalAuthActivity.kt
...an/newscontent/ui/auth/LifeAccountPersonalAuthActivity.kt
+2
-2
activity_life_account_personal_auth.xml
...c/main/res/layout/activity_life_account_personal_auth.xml
+6
-45
strings.xml
Components/newscontent/src/main/res/values/strings.xml
+1
-2
No files found.
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/auth/LifeAccountPersonalAuthActivity.kt
View file @
84550edf
...
...
@@ -38,14 +38,14 @@ class LifeAccountPersonalAuthActivity : BaseActivity<ActivityLifeAccountPersonal
private
fun
initListener
()
{
viewBind
.
viewCommonHeader
.
ivBack
.
setOnClickListener
(
this
)
viewBind
.
ivProfessionalLabelChoose
.
setOnClickListener
(
this
)
viewBind
.
svOccupation
.
setOnClickListener
(
this
)
viewBind
.
btnNext
.
setOnClickListener
(
this
)
}
override
fun
onClick
(
v
:
View
?)
{
when
(
v
?.
id
)
{
R
.
id
.
iv_back
->
XPageManager
.
pop
(
null
)
R
.
id
.
iv_professional_label_choose
->
{
R
.
id
.
sv_occupation
->
{
// TODO: 5/27/21 跳转职业标签选择
}
R
.
id
.
btn_next
->
{
...
...
Components/newscontent/src/main/res/layout/activity_life_account_personal_auth.xml
View file @
84550edf
...
...
@@ -13,52 +13,13 @@
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<com.yidian.
nightmode.widget.YdRelativeLayout
android:id=
"@+id/
rl_professional_label
"
<com.yidian.
shenghuoquan.newscontent.widget.LifeAccountAuthSelectView
android:id=
"@+id/
sv_occupation
"
android:layout_width=
"match_parent"
android:layout_height=
"58dp"
android:paddingStart=
"19dp"
android:paddingEnd=
"12dp"
app:layout_constraintTop_toBottomOf=
"@id/view_common_header"
>
<com.yidian.nightmode.widget.YdTextView
android:id=
"@+id/tv_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerVertical=
"true"
android:includeFontPadding=
"false"
android:text=
"@string/professional_label"
android:textColor=
"#FF333333"
android:textSize=
"15sp"
/>
<com.yidian.nightmode.widget.YdTextView
android:id=
"@+id/tv_professional_label"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerVertical=
"true"
android:layout_marginStart=
"23dp"
android:layout_toEndOf=
"@id/tv_content"
android:hint=
"@string/describe_yourself"
android:includeFontPadding=
"false"
android:textColor=
"#FF333333"
android:textColorHint=
"#FFC2C2C2"
android:textSize=
"15sp"
/>
<com.yidian.nightmode.widget.YdImageView
android:id=
"@+id/iv_professional_label_choose"
android:layout_width=
"23dp"
android:layout_height=
"23dp"
android:layout_alignParentEnd=
"true"
android:layout_centerVertical=
"true"
android:src=
"@mipmap/icon_next"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_alignParentBottom=
"true"
android:background=
"#FFF2F2F2"
/>
</com.yidian.nightmode.widget.YdRelativeLayout>
app:LifeAccountAuthSelectView_content_hint_text=
"@string/describe_yourself"
app:LifeAccountAuthSelectView_name_text=
"@string/occupation_label"
app:layout_constraintTop_toBottomOf=
"@id/view_common_header"
/>
<com.yidian.nightmode.widget.YdFrameLayout
android:id=
"@+id/fragment_container"
...
...
@@ -66,7 +27,7 @@
android:layout_height=
"0dp"
android:layout_marginBottom=
"19dp"
app:layout_constraintBottom_toTopOf=
"@id/ll_protocol"
app:layout_constraintTop_toBottomOf=
"@id/
rl_professional_label
"
/>
app:layout_constraintTop_toBottomOf=
"@id/
sv_occupation
"
/>
<com.yidian.nightmode.widget.YdLinearLayout
android:id=
"@+id/ll_protocol"
...
...
Components/newscontent/src/main/res/values/strings.xml
View file @
84550edf
...
...
@@ -86,8 +86,7 @@
<string
name=
"enterprise_auth"
>
企业认证
</string>
<string
name=
"enterprise_auth_condition"
>
开店条件:营业执照、经营者身份证或法人身份证
</string>
<string
name=
"enterprise_auth_description"
>
企业店开通适合拥有个体工商户或企业营业执照商户申请,入住成功将享有更优质企业级服务于管理
</string>
<string
name=
"professional_label"
>
职业标签
</string>
<string
name=
"describe_yourself"
>
一句话描述自己(选填)
</string>
<string
name=
"describe_yourself"
>
一句话描述自己
</string>
<string
name=
"chinese_id_card"
>
中国大陆居民身份证
</string>
<string
name=
"upload_portrait_face"
>
点击上传人像面
</string>
<string
name=
"upload_national_emblem_face"
>
点击上传国徽面
</string>
...
...
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