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
61c5b853
Commit
61c5b853
authored
Apr 14, 2022
by
yang.kai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: m-home组件升级,修复心里咨询包首页不弹活动弹窗问题
parent
67ad8a6e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
DemoGlobalConfig.java
app/src/main/java/com/ydl/component/base/DemoGlobalConfig.java
+2
-2
config.gradle
config.gradle
+2
-2
YdlHomeFragment.kt
m-home/src/xlzx/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
+3
-3
No files found.
app/src/main/java/com/ydl/component/base/DemoGlobalConfig.java
View file @
61c5b853
...
...
@@ -21,9 +21,9 @@ import java.util.List;
public
final
class
DemoGlobalConfig
implements
IConfigModule
{
String
APP_DOMAIN
=
"https://api.github.com/"
;
// public static String appEnv = YDLConstants.ENV_AUTO_TEST;
public
static
String
appEnv
=
YDLConstants
.
ENV_TEST
;
//
public static String appEnv = YDLConstants.ENV_TEST;
// public static String appEnv = YDLConstants.ENV_NEW_TEST;//配置未上传到maven库
//
public static String appEnv = YDLConstants.ENV_PROD;
public
static
String
appEnv
=
YDLConstants
.
ENV_PROD
;
@Override
public
void
injectAppLifecycle
(
@NotNull
Context
context
,
@NotNull
List
<
IAppLifecycles
>
lifecycles
)
{
lifecycles
.
add
(
new
DemoAppLifecycles
());
...
...
config.gradle
View file @
61c5b853
...
...
@@ -9,7 +9,7 @@ ext {
"m-consultant"
:
"0.0.60.11"
,
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.62.01"
,
"m-home"
:
"0.0.22.9
3
"
,
"m-home"
:
"0.0.22.9
4
"
,
"m-im"
:
"0.0.21.18"
,
"m-dynamic"
:
"0.0.7.35"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -93,7 +93,7 @@ ext {
"m-consultant"
:
"0.0.60.11"
,
"m-fm"
:
"0.0.30.07"
,
"m-user"
:
"0.0.62.01"
,
"m-home"
:
"0.0.22.9
3
"
,
"m-home"
:
"0.0.22.9
4
"
,
"m-im"
:
"0.0.21.18"
,
"m-dynamic"
:
"0.0.7.35"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-home/src/xlzx/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
View file @
61c5b853
...
...
@@ -22,6 +22,7 @@ import com.ydl.ydlcommon.utils.StatusBarUtils
import
com.ydl.ydlcommon.utils.Utils
import
com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
import
com.ydl.ydlcommon.utils.remind.ToastHelper
import
com.yidianling.common.tools.ToastUtil
import
com.yidianling.consultant.api.IConsultantService
import
com.yidianling.home.R
import
com.yidianling.home.adapter.YdlHomeAdapter
...
...
@@ -248,11 +249,10 @@ class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterImpl>()
}
}
if
(!
ModularServiceManager
.
provide
(
IUserService
::
class
.
java
).
isLogin
()
||!
ModularServiceManager
.
provide
(
IUserService
::
class
.
java
).
isFirstLogin
()
)
{
//未登录
/首次登录
不显示
if
(!
ModularServiceManager
.
provide
(
IUserService
::
class
.
java
).
isLogin
())
{
//未登录不显示
return
}
if
(!
TextUtils
.
isEmpty
(
act
.
imageBanner
))
{
//展示弹窗
if
(
aa
==
null
)
{
...
...
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