Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
6b02b248
Commit
6b02b248
authored
Jan 17, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : 我的界面隐藏推广返利
parent
b484462d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
42 deletions
+14
-42
config.gradle
config.gradle
+2
-2
MineFragment.java
m-user/src/main/java/com/yidianling/user/mine/MineFragment.java
+7
-12
user_mine_fragment_mine.xml
m-user/src/main/res/layout/user_mine_fragment_mine.xml
+5
-28
No files found.
config.gradle
View file @
6b02b248
...
...
@@ -8,7 +8,7 @@ ext {
"m-confide"
:
"0.0.49.19"
,
"m-consultant"
:
"0.0.60.02"
,
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.9
1
"
,
"m-user"
:
"0.0.61.9
3
"
,
"m-home"
:
"0.0.22.84"
,
"m-im"
:
"0.0.20.88"
,
"m-dynamic"
:
"0.0.7.35"
,
...
...
@@ -91,7 +91,7 @@ ext {
"m-confide"
:
"0.0.49.19"
,
"m-consultant"
:
"0.0.60.02"
,
"m-fm"
:
"0.0.30.07"
,
"m-user"
:
"0.0.61.9
1
"
,
"m-user"
:
"0.0.61.9
3
"
,
"m-home"
:
"0.0.22.83"
,
"m-im"
:
"0.0.20.88"
,
"m-dynamic"
:
"0.0.7.35"
,
...
...
m-user/src/main/java/com/yidianling/user/mine/MineFragment.java
View file @
6b02b248
...
...
@@ -161,7 +161,6 @@ public class MineFragment extends BaseFragment implements SwipeRefreshLayout.OnR
getRootView
().
findViewById
(
R
.
id
.
ll_trade_order
).
setOnClickListener
(
this
);
getRootView
().
findViewById
(
R
.
id
.
jtv_introduce
).
setOnClickListener
(
this
);
getRootView
().
findViewById
(
R
.
id
.
iv_edit_info
).
setOnClickListener
(
this
);
getRootView
().
findViewById
(
R
.
id
.
ll_reward
).
setOnClickListener
(
this
);
getRootView
().
findViewById
(
R
.
id
.
ll_my_courses
).
setOnClickListener
(
this
);
getRootView
().
findViewById
(
R
.
id
.
ll_red_packet
).
setOnClickListener
(
this
);
getRootView
().
findViewById
(
R
.
id
.
ll_call_order
).
setOnClickListener
(
this
);
...
...
@@ -354,13 +353,16 @@ public class MineFragment extends BaseFragment implements SwipeRefreshLayout.OnR
private
void
setUserInfo
(
UserResponseBean
.
UserInfo
userInfo
)
{
this
.
userInfoData
=
userInfo
;
if
(
userInfo
==
null
)
return
;
if
(
userInfo
==
null
)
{
return
;
}
String
nick_name
=
userInfo
.
getNick_name
();
if
(!
TextUtils
.
isEmpty
(
nick_name
))
if
(!
TextUtils
.
isEmpty
(
nick_name
))
{
text_userName
.
setText
(
nick_name
);
else
}
else
{
text_userName
.
setText
(
"昵称未设置"
);
}
mAttentionTv
.
setText
(
String
.
valueOf
(
userInfo
.
getAttentionNum
()));
mTendNumTv
.
setText
(
String
.
valueOf
(
userInfo
.
getTrendNum
()));
...
...
@@ -522,14 +524,7 @@ public class MineFragment extends BaseFragment implements SwipeRefreshLayout.OnR
ActionCountUtils
.
Companion
.
count
(
YDL_USER_MY_BOTTOM_TYPE_CLICK
,
"壹点灵介绍"
);
H5Params
params1
=
new
H5Params
(
"https://m.yidianling.com/about"
,
"网站介绍"
);
NewH5Activity
.
start
(
getActivity
(),
params1
);
}
else
if
(
id
==
R
.
id
.
ll_reward
)
{
ActionCountUtils
.
Companion
.
count
(
YDL_USER_MY_MIDDLE_TYPE_CLICK
,
"推广返利"
);
if
(!
OneKeyLoginHelp
.
INSTANCE
.
startLoginByStatus
(
mActivity
,
true
))
{
return
;
}
H5Params
h5Param
=
new
H5Params
(
HttpConfig
.
Companion
.
getH5_URL
()
+
"course/invite-record"
,
null
);
NewH5Activity
.
start
(
getActivity
(),
h5Param
);
}
else
if
(
id
==
R
.
id
.
btn_change
)
{
}
else
if
(
id
==
R
.
id
.
btn_change
)
{
}
else
if
(
id
==
R
.
id
.
jtv_test
)
{
//debug下任意门入口
SimpleDateFormat
sdf
=
new
SimpleDateFormat
();
sdf
.
applyPattern
(
"yyyy-MM-dd HH:mm:ss"
);
...
...
m-user/src/main/res/layout/user_mine_fragment_mine.xml
View file @
6b02b248
...
...
@@ -345,8 +345,9 @@
</RelativeLayout>
<LinearLayout
android:id=
"@+id/ll_
reward
"
android:id=
"@+id/ll_
call_order
"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
...
...
@@ -358,13 +359,13 @@
android:layout_width=
"25dp"
android:layout_height=
"25dp"
android:layout_marginTop=
"3dp"
android:src=
"@drawable/user_mine_ic_
tuiguang
"
/>
android:src=
"@drawable/user_mine_ic_
qinshu_record
"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
android:text=
"
推广返利
"
android:text=
"
倾诉记录
"
android:textColor=
"@color/platform_color_999999"
android:textSize=
"12sp"
/>
...
...
@@ -403,30 +404,6 @@
android:layout_marginTop=
"28dp"
>
<LinearLayout
android:id=
"@+id/ll_call_order"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:background=
"?android:attr/selectableItemBackground"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
>
<ImageView
android:layout_width=
"25dp"
android:layout_height=
"25dp"
android:src=
"@drawable/user_mine_ic_qinshu_record"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
android:text=
"倾诉记录"
android:textColor=
"@color/platform_color_999999"
android:textSize=
"12sp"
/>
</LinearLayout>
<LinearLayout
android:id=
"@+id/ll_my_courses"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
...
...
@@ -453,7 +430,7 @@
<View
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"
2
"
/>
android:layout_weight=
"
3
"
/>
</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