Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RvApp
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
1
Merge Requests
1
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
lify
RvApp
Commits
021f1841
Commit
021f1841
authored
Dec 11, 2019
by
linfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
活动优化
parent
22811d3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
ConsumeRecordListAdapter.java
.../java/com/rv.member/adapter/ConsumeRecordListAdapter.java
+0
-1
RvWebView.java
plugin_share/src/main/java/com/rv/share/view/RvWebView.java
+14
-1
No files found.
plugin_member/src/main/java/com/rv.member/adapter/ConsumeRecordListAdapter.java
View file @
021f1841
...
...
@@ -28,7 +28,6 @@ public class ConsumeRecordListAdapter extends BaseQuickAdapter<OrderListBean.Dat
}
@Override
protected
void
convert
(
BaseViewHolder
helper
,
final
OrderListBean
.
DataBeanX
.
DataBean
bean
)
{
...
...
plugin_share/src/main/java/com/rv/share/view/RvWebView.java
View file @
021f1841
...
...
@@ -18,9 +18,12 @@ import android.webkit.WebViewClient;
import
android.widget.ProgressBar
;
import
android.widget.Toast
;
import
com.alibaba.android.arouter.launcher.ARouter
;
import
com.frame.base.url.Constance
;
import
com.ruiwenliu.wrapper.SPConstance
;
import
com.rv.component.utils.Cookie
;
import
com.rv.component.utils.LogUtil
;
import
com.rv.home.rv.module.ApiConfig
;
import
com.rv.home.rv.module.ui.login.LoginRvActivity
;
import
com.yuyife.okgo.OkGoUtil
;
...
...
@@ -194,7 +197,6 @@ public class RvWebView extends WebView {
}
@JavascriptInterface
public
void
toMyWallet
()
{
ComponentName
name
=
new
ComponentName
(
getContext
(),
"com.xxfc.rv.MainActivity"
);
...
...
@@ -250,6 +252,17 @@ public class RvWebView extends WebView {
return
password
;
}
/**
* 跳到规则
*/
@JavascriptInterface
public
void
goRule
()
{
ARouter
.
getInstance
().
build
(
Constance
.
ACTIVITY_URL_WEBVIEW
)
.
withString
(
"title"
,
"活动规则"
)
.
withString
(
"url"
,
ApiConfig
.
HTTP_URL_CAR_TYPE_NOTICE
)
.
withInt
(
"type"
,
30
)
.
navigation
();
}
}
public
interface
WebViewListener
{
...
...
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