Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
X
xxsq
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
xxsq
Commits
6314c153
Commit
6314c153
authored
May 25, 2022
by
maxiaoliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加体现页面
parent
8da58e26
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
357 additions
and
3 deletions
+357
-3
RounterApi.kt
cms/src/main/java/com/zxhl/cms/router/RounterApi.kt
+4
-1
JumpUtils.java
cms/src/main/java/com/zxhl/cms/utils/JumpUtils.java
+9
-0
AndroidManifest.xml
moduleMain/src/main/AndroidManifest.xml
+10
-0
WithDrawalActivity.kt
...n/java/com/zxbw/modulemain/activity/WithDrawalActivity.kt
+23
-0
UserCenterFragment.kt
...n/java/com/zxbw/modulemain/fragment/UserCenterFragment.kt
+2
-2
button_tixiananniu.png
...leMain/src/main/res/drawable-xhdpi/button_tixiananniu.png
+0
-0
shape_333333_r13.xml
moduleMain/src/main/res/drawable/shape_333333_r13.xml
+11
-0
activity_layout_withdrawal.xml
...leMain/src/main/res/layout/activity_layout_withdrawal.xml
+298
-0
No files found.
cms/src/main/java/com/zxhl/cms/router/RounterApi.kt
View file @
6314c153
...
...
@@ -206,7 +206,7 @@ interface RounterApi {
@RounterUri
(
Constant
.
scheme
+
"://zero_buy"
)
fun
getIntentZeroBuyList
():
Intent
@RounterUri
(
Constant
.
scheme
+
"://tb_goods_detail"
)
@RounterUri
(
Constant
.
scheme
+
"://tb_goods_detail"
)
fun
getIntentTbGoodsDetail
():
Intent
@RounterUri
(
Constant
.
scheme
+
"://after_login"
)
...
...
@@ -255,4 +255,7 @@ interface RounterApi {
@RounterUri
(
Constant
.
scheme
+
"://flashsale"
)
fun
getIntentFlashSale
():
Intent
@RounterUri
(
Constant
.
scheme
+
"://withdrawal"
)
fun
getIntentWithdrawal
():
Intent
}
\ No newline at end of file
cms/src/main/java/com/zxhl/cms/utils/JumpUtils.java
View file @
6314c153
...
...
@@ -378,4 +378,13 @@ public class JumpUtils {
Utils
.
showToast
(
AppContext
.
get
(),
"该版本暂不支持,请更新版本!"
);
}
}
public
static
void
WithdrawalJump
()
{
try
{
Intent
intent
=
RounterBus
.
getRounter
(
RounterApi
.
class
).
getIntentWithdrawal
();
intent
.
addFlags
(
Intent
.
FLAG_ACTIVITY_NEW_TASK
);
AppContext
.
get
().
startActivity
(
intent
);
}
catch
(
Exception
e
)
{
Utils
.
showToast
(
AppContext
.
get
(),
"该版本暂不支持,请更新版本!"
);
}
}
}
moduleMain/src/main/AndroidManifest.xml
View file @
6314c153
...
...
@@ -68,7 +68,17 @@
android:scheme=
"xxsq"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.WithDrawalActivity"
>
<intent-filter>
<action
android:name=
"android.intent.action.VIEW"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
<data
android:host=
"withdrawal"
android:scheme=
"xxsq"
/>
</intent-filter>
</activity>
<activity
android:name=
".activity.RightsDetailActivity"
>
<intent-filter>
<action
android:name=
"android.intent.action.VIEW"
/>
...
...
moduleMain/src/main/java/com/zxbw/modulemain/activity/WithDrawalActivity.kt
0 → 100644
View file @
6314c153
package
com.zxbw.modulemain.activity
import
android.view.View
import
com.zxbw.modulemain.R
import
com.zxhl.cms.AppContext
import
com.zxhl.cms.common.base.BaseActivity
class
WithDrawalActivity
:
BaseActivity
()
{
override
fun
onClick
(
v
:
View
?)
{
}
override
fun
before
()
{
super
.
before
()
setStatusBarBackground
(
AppContext
.
get
().
resources
.
getColor
(
R
.
color
.
transparent
))
}
override
fun
layoutID
():
Int
{
return
R
.
layout
.
activity_layout_withdrawal
}
override
fun
init
()
{
}
}
\ No newline at end of file
moduleMain/src/main/java/com/zxbw/modulemain/fragment/UserCenterFragment.kt
View file @
6314c153
...
...
@@ -32,7 +32,7 @@ class UserCenterFragment : BaseFragment(), AdCallback<String> {
JumpUtils
.
webJump
(
"关于我们"
,
NetConfig
.
H5
.
WEB_URL_ABOUT_US
)
}
id_ll_login_out
?.
setOnClickListener
{
showToast
(
"1"
)
}
id_ll_xieyi_zhengze
?.
setOnClickListener
{
JumpUtils
.
webJump
(
"隐私政策"
,
NetConfig
.
H5
.
WEB_URL_PRIVACY
)
...
...
@@ -44,7 +44,7 @@ class UserCenterFragment : BaseFragment(), AdCallback<String> {
JumpUtils
.
FlashSaleJump
()
}
id_ll_shangwu_hezuo
?.
setOnClickListener
{
JumpUtils
.
WithdrawalJump
()
}
}
...
...
moduleMain/src/main/res/drawable-xhdpi/button_tixiananniu.png
0 → 100644
View file @
6314c153
26.7 KB
moduleMain/src/main/res/drawable/shape_333333_r13.xml
0 → 100644
View file @
6314c153
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<solid
android:color=
"#ff333333"
/>
<corners
android:bottomLeftRadius=
"14dp"
android:bottomRightRadius=
"14dp"
android:topLeftRadius=
"14dp"
android:topRightRadius=
"14dp"
/>
</shape>
\ No newline at end of file
moduleMain/src/main/res/layout/activity_layout_withdrawal.xml
0 → 100644
View file @
6314c153
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"#F3F4F5"
android:orientation=
"vertical"
>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"68dp"
android:background=
"@color/white"
>
<ImageView
android:id=
"@+id/id_img_back"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
android:padding=
"16dp"
android:src=
"@drawable/icon_fanhui"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
android:layout_centerHorizontal=
"true"
android:layout_marginBottom=
"15dp"
android:text=
"提现"
android:textColor=
"@color/color_333333"
android:textSize=
"16sp"
android:textStyle=
"bold"
/>
</RelativeLayout>
<androidx.core.widget.NestedScrollView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
android:layout_marginBottom=
"10dp"
android:background=
"@color/white"
android:gravity=
"center_vertical"
android:paddingTop=
"12dp"
android:paddingBottom=
"12dp"
>
<TextView
android:layout_width=
"60dp"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:text=
"可提现至"
android:textColor=
"@color/color_333333"
android:textSize=
"14sp"
android:textStyle=
"bold"
/>
<EditText
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"20dp"
android:layout_marginRight=
"16dp"
android:layout_weight=
"1"
android:background=
"@null"
android:hint=
"请输入支付宝账号"
android:textColor=
"@color/color_333333"
android:textColorHint=
"@color/color_999999"
android:textSize=
"12sp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
android:layout_marginBottom=
"10dp"
android:background=
"@color/white"
android:gravity=
"center_vertical"
android:paddingTop=
"12dp"
android:paddingBottom=
"12dp"
>
<TextView
android:layout_width=
"60dp"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:text=
"姓名"
android:textColor=
"@color/color_333333"
android:textSize=
"14sp"
android:textStyle=
"bold"
/>
<EditText
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"20dp"
android:layout_marginRight=
"16dp"
android:layout_weight=
"1"
android:background=
"@null"
android:hint=
"请输入真实姓名"
android:textColor=
"@color/color_333333"
android:textColorHint=
"@color/color_999999"
android:textSize=
"12sp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:orientation=
"vertical"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:paddingTop=
"12dp"
android:paddingBottom=
"12dp"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:layout_weight=
"1"
android:text=
"提现金额"
android:textColor=
"@color/color_333333"
android:textSize=
"14sp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginRight=
"16dp"
android:text=
"提现金额不能低于 ¥ 5"
android:textColor=
"#C46B00"
android:textSize=
"12sp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"60dp"
android:gravity=
"center_vertical"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:text=
"¥"
android:textColor=
"@color/color_333333"
android:textSize=
"28sp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:text=
"0"
android:textColor=
"@color/color_333333"
android:textSize=
"28sp"
android:textStyle=
"bold"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"15dp"
android:orientation=
"horizontal"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:layout_weight=
"1"
android:text=
"可提现余额 ¥ 0.00"
android:textColor=
"@color/color_999999"
android:textSize=
"12sp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginRight=
"16dp"
android:text=
"全部提现"
android:textColor=
"#C46B00"
android:textSize=
"14sp"
android:textStyle=
"bold"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
android:background=
"@color/white"
android:gravity=
"center_vertical"
android:paddingTop=
"12dp"
android:paddingBottom=
"12dp"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:layout_marginRight=
"34dp"
android:text=
"验证码"
android:textColor=
"@color/color_333333"
android:textSize=
"14sp"
/>
<EditText
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:background=
"@null"
android:hint=
"请输入验证码"
android:textColor=
"@color/color_333333"
android:textColorHint=
"@color/color_999999"
android:textSize=
"12sp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:layout_marginRight=
"16dp"
android:background=
"@drawable/shape_333333_r13"
android:paddingLeft=
"14dp"
android:paddingTop=
"5dp"
android:paddingRight=
"14dp"
android:paddingBottom=
"5dp"
android:text=
"获取验证码"
android:textColor=
"#F8E8CC"
android:textSize=
"12sp"
/>
</LinearLayout>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"36dp"
android:layout_marginBottom=
"20dp"
android:background=
"@drawable/button_tixiananniu"
android:gravity=
"center"
android:text=
"提现"
android:textColor=
"#FDDFA5"
android:textSize=
"14sp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:text=
"提现规则:"
android:textColor=
"@color/color_333333"
android:textSize=
"14sp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:layout_marginTop=
"10dp"
android:layout_marginRight=
"16dp"
android:text=
"提现需要收取1%的手续费,单比服务费小于1元的,按照1元收取。"
android:textColor=
"@color/color_666666"
android:textSize=
"12sp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:layout_marginTop=
"10dp"
android:layout_marginRight=
"16dp"
android:text=
"例如:若您需要提现200元,您需要支付1%的手续费,即2元的手续费。"
android:textColor=
"@color/color_666666"
android:textSize=
"12sp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:layout_marginTop=
"20dp"
android:layout_marginRight=
"16dp"
android:text=
"注意事项:"
android:textColor=
"@color/color_333333"
android:textSize=
"14sp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:layout_marginTop=
"10dp"
android:layout_marginRight=
"16dp"
android:text=
"1、提现需要收取1%的手续费,单比服务费小于1元的,按照1元收取。\n2、不同银行的提现需要收取1%的手续费,单比服务费小于1元的按照1元收取。"
android:textColor=
"@color/color_666666"
android:textSize=
"12sp"
android:textStyle=
"bold"
/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</LinearLayout>
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