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
bc2815e8
Commit
bc2815e8
authored
Apr 14, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/最新Dev' into MDT群聊搭建
parents
74fbae25
53b44f0a
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
14 deletions
+19
-14
config.gradle
config.gradle
+6
-6
consultant_expert_consult_assistant_popup_window.xml
m-consultant/src/main/res/layout/consultant_expert_consult_assistant_popup_window.xml
+3
-2
consultant_assistant_dialog_img.png
m-consultant/src/xlzx/res/drawable-xhdpi/consultant_assistant_dialog_img.png
+0
-0
consultant_assistant_dialog_img.webp
m-consultant/src/xlzx/res/drawable-xhdpi/consultant_assistant_dialog_img.webp
+0
-0
consultant_assistant_dialog_text_bg.xml
m-consultant/src/xlzx/res/drawable/consultant_assistant_dialog_text_bg.xml
+5
-4
LoginUtils.kt
m-user/src/main/java/com/yidianling/user/LoginUtils.kt
+3
-0
OneKeyLoginHelp.kt
m-user/src/main/java/com/yidianling/user/ui/login/OneKeyLoginHelp.kt
+2
-2
No files found.
config.gradle
View file @
bc2815e8
...
...
@@ -6,10 +6,10 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.53"
,
"m-consultant"
:
"0.0.60.1
0
"
,
"m-consultant"
:
"0.0.60.1
1
"
,
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.6
1.96
"
,
"m-home"
:
"0.0.22.
87
"
,
"m-user"
:
"0.0.6
2.00
"
,
"m-home"
:
"0.0.22.
93
"
,
"m-im"
:
"0.0.21.18"
,
"m-dynamic"
:
"0.0.7.35"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -90,10 +90,10 @@ ext {
//第三步 若干
"m-confide"
:
"0.0.49.52"
,
"m-consultant"
:
"0.0.60.1
0
"
,
"m-consultant"
:
"0.0.60.1
1
"
,
"m-fm"
:
"0.0.30.07"
,
"m-user"
:
"0.0.6
1.96
"
,
"m-home"
:
"0.0.22.
87
"
,
"m-user"
:
"0.0.6
2.00
"
,
"m-home"
:
"0.0.22.
93
"
,
"m-im"
:
"0.0.21.18"
,
"m-dynamic"
:
"0.0.7.35"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-consultant/src/main/res/layout/consultant_expert_consult_assistant_popup_window.xml
View file @
bc2815e8
...
...
@@ -39,7 +39,7 @@
android:layout_width=
"0.5dp"
android:layout_height=
"26dp"
android:layout_marginRight=
"8dp"
android:background=
"#
80
ffffff"
/>
android:background=
"#
59
ffffff"
/>
<LinearLayout
android:id=
"@+id/ll_desc_assistant"
...
...
@@ -64,7 +64,7 @@
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"为你精准匹配咨询师
"
android:text=
"为你精准匹配咨询师"
android:textColor=
"#ffffff"
android:textStyle=
"bold"
android:textSize=
"12dp"
/>
...
...
@@ -72,6 +72,7 @@
<ImageView
android:layout_width=
"10dp"
android:layout_height=
"10dp"
android:layout_marginStart=
"3dp"
android:src=
"@drawable/consultant_assistant_dialog_go_icon"
/>
</LinearLayout>
</LinearLayout>
...
...
m-consultant/src/xlzx/res/drawable-xhdpi/consultant_assistant_dialog_img.png
deleted
100644 → 0
View file @
74fbae25
49.9 KB
m-consultant/src/xlzx/res/drawable-xhdpi/consultant_assistant_dialog_img.webp
0 → 100644
View file @
bc2815e8
File added
m-consultant/src/xlzx/res/drawable/consultant_assistant_dialog_text_bg.xml
View file @
bc2815e8
...
...
@@ -2,11 +2,11 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<corners
android:topLeftRadius=
"
8
dp"
android:bottomLeftRadius=
"
8
dp"
/>
<corners
android:topLeftRadius=
"
22
dp"
android:bottomLeftRadius=
"
22
dp"
/>
<gradient
android:angle=
"0"
android:startColor=
"#
CC1DA1F2
"
android:endColor=
"#
CC1DA1F2
"
/>
android:startColor=
"#
DDFF7A5C
"
android:endColor=
"#
DDFF406C
"
/>
</shape>
\ No newline at end of file
m-user/src/main/java/com/yidianling/user/LoginUtils.kt
View file @
bc2815e8
...
...
@@ -102,6 +102,7 @@ object LoginUtils {
@JvmStatic
fun
logoutClearLocal
()
{
logingCallBackListener
=
null
AliYunRichLogsHelper
.
getInstance
().
sendRichLog
(
AliYunLogConfig
.
LOGIN
,
"退出登录"
)
UserIn
.
imLogout
()
UserIn
.
closePlayer
()
...
...
@@ -111,7 +112,9 @@ object LoginUtils {
@JvmStatic
fun
loginSuccessOperate
(
activity
:
Activity
)
{
if
(
logingCallBackListener
!=
null
){
logingCallBackListener
?.
loginSuccess
()
}
// 登录成功后,如果一键登录界面没有关闭,则关闭掉
OneKeyLoginHelp
.
quitLoginPage
()
val
size
=
ActivityManager
.
getActivitySize
()
...
...
m-user/src/main/java/com/yidianling/user/ui/login/OneKeyLoginHelp.kt
View file @
bc2815e8
...
...
@@ -437,7 +437,7 @@ object OneKeyLoginHelp {
.
subscribe
({
if
(
it
.
code
==
200
)
{
AliYunRichLogsHelper
.
getInstance
()
.
sendRichLog
(
AliYunLogConfig
.
LOGIN
,
"一键登录成功
"
)
.
sendRichLog
(
AliYunLogConfig
.
LOGIN
,
"一键登录成功
uid:"
+
it
.
data
.
uid
+
"firstLogin:"
+
it
.
data
.
firstLogin
)
ToastUtil
.
toastShort
(
"登录成功"
)
saveUserData
(
it
.
data
)
if
(
it
.
data
.
firstLogin
==
1
)
{
//第一次登录:是注册
...
...
@@ -599,8 +599,8 @@ object OneKeyLoginHelp {
* @return true:登录。false:未登录
* */
fun
startLoginByStatusLoginCallBack
(
context
:
Context
,
isOpenDialog
:
Boolean
,
listener
:
LoginCallBackListener
)
{
LoginUtils
.
setLoginCallBack
(
listener
)
if
(!
UserHelper
.
isLogin
())
{
LoginUtils
.
setLoginCallBack
(
listener
)
if
(
this
::
mActivity
.
isInitialized
)
{
//如果mActivity有初始化,代表项目使用了一键登录
startLogin
(
context
as
Activity
,
isOpenDialog
)
...
...
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