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
Expand all
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 {
...
@@ -206,7 +206,7 @@ interface RounterApi {
@RounterUri
(
Constant
.
scheme
+
"://zero_buy"
)
@RounterUri
(
Constant
.
scheme
+
"://zero_buy"
)
fun
getIntentZeroBuyList
():
Intent
fun
getIntentZeroBuyList
():
Intent
@RounterUri
(
Constant
.
scheme
+
"://tb_goods_detail"
)
@RounterUri
(
Constant
.
scheme
+
"://tb_goods_detail"
)
fun
getIntentTbGoodsDetail
():
Intent
fun
getIntentTbGoodsDetail
():
Intent
@RounterUri
(
Constant
.
scheme
+
"://after_login"
)
@RounterUri
(
Constant
.
scheme
+
"://after_login"
)
...
@@ -255,4 +255,7 @@ interface RounterApi {
...
@@ -255,4 +255,7 @@ interface RounterApi {
@RounterUri
(
Constant
.
scheme
+
"://flashsale"
)
@RounterUri
(
Constant
.
scheme
+
"://flashsale"
)
fun
getIntentFlashSale
():
Intent
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 {
...
@@ -378,4 +378,13 @@ public class JumpUtils {
Utils
.
showToast
(
AppContext
.
get
(),
"该版本暂不支持,请更新版本!"
);
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 @@
...
@@ -68,7 +68,17 @@
android:scheme=
"xxsq"
/>
android:scheme=
"xxsq"
/>
</intent-filter>
</intent-filter>
</activity>
</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"
>
<activity
android:name=
".activity.RightsDetailActivity"
>
<intent-filter>
<intent-filter>
<action
android:name=
"android.intent.action.VIEW"
/>
<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> {
...
@@ -32,7 +32,7 @@ class UserCenterFragment : BaseFragment(), AdCallback<String> {
JumpUtils
.
webJump
(
"关于我们"
,
NetConfig
.
H5
.
WEB_URL_ABOUT_US
)
JumpUtils
.
webJump
(
"关于我们"
,
NetConfig
.
H5
.
WEB_URL_ABOUT_US
)
}
}
id_ll_login_out
?.
setOnClickListener
{
id_ll_login_out
?.
setOnClickListener
{
showToast
(
"1"
)
}
}
id_ll_xieyi_zhengze
?.
setOnClickListener
{
id_ll_xieyi_zhengze
?.
setOnClickListener
{
JumpUtils
.
webJump
(
"隐私政策"
,
NetConfig
.
H5
.
WEB_URL_PRIVACY
)
JumpUtils
.
webJump
(
"隐私政策"
,
NetConfig
.
H5
.
WEB_URL_PRIVACY
)
...
@@ -44,7 +44,7 @@ class UserCenterFragment : BaseFragment(), AdCallback<String> {
...
@@ -44,7 +44,7 @@ class UserCenterFragment : BaseFragment(), AdCallback<String> {
JumpUtils
.
FlashSaleJump
()
JumpUtils
.
FlashSaleJump
()
}
}
id_ll_shangwu_hezuo
?.
setOnClickListener
{
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
This diff is collapsed.
Click to expand it.
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