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
aad70c51
Commit
aad70c51
authored
Jun 16, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修复倾诉绑定的手机号问题
parent
cdd04085
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
8 deletions
+13
-8
config.gradle
config.gradle
+4
-4
AudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
+1
-1
audioim_activity_audio_home.xml
m-audioim/src/main/res/layout/audioim_activity_audio_home.xml
+1
-1
ConfideBottomSheetDialogFragment.kt
m-confide/src/main/java/com/ydl/confide/home/ConfideBottomSheetDialogFragment.kt
+7
-2
No files found.
config.gradle
View file @
aad70c51
...
...
@@ -5,7 +5,7 @@ ext {
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.50.
27
"
,
"m-confide"
:
"0.0.50.
32
"
,
"m-consultant"
:
"0.0.60.68"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.54"
,
...
...
@@ -29,7 +29,7 @@ ext {
"ydl-webview"
:
"0.0.38.93"
,
"ydl-media"
:
"0.0.21.52"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.30.
19
"
,
"m-audioim"
:
"0.0.49.30.
22
"
,
"ydl-flutter-base"
:
"0.0.14.38"
,
...
...
@@ -92,7 +92,7 @@ ext {
ydlCompileVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.50.
27
"
,
"m-confide"
:
"0.0.50.
32
"
,
"m-consultant"
:
"0.0.60.68"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.54"
,
...
...
@@ -117,7 +117,7 @@ ext {
"ydl-webview"
:
"0.0.38.93"
,
"ydl-media"
:
"0.0.21.52"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.30.
19
"
,
"m-audioim"
:
"0.0.49.30.
22
"
,
"ydl-flutter-base"
:
"0.0.14.38"
,
//以下 几乎不会动
...
...
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
aad70c51
...
...
@@ -561,7 +561,7 @@ class AudioHomeActivity :
writeAgoraLog
(
"主叫方发送的邀请通话消息内容:$content"
,
true
)
AliYunRichLogsHelper
.
getInstance
()
.
sendRichLog
(
AliYunLogConfig
.
AGORA
,
"主叫方发送的邀请通话消息内容:$content"
)
localRemainTime
=
(
totalDuration
?:
1500
).
minus
(
remainTime
?.
toInt
()
?:
1500
)
localRemainTime
=
remainTime
?.
toInt
()
?:
1500
handler
=
Handler
()
vibrator
=
getSystemService
(
Service
.
VIBRATOR_SERVICE
)
as
Vibrator
?
...
...
m-audioim/src/main/res/layout/audioim_activity_audio_home.xml
View file @
aad70c51
...
...
@@ -107,7 +107,7 @@
android:id=
"@+id/tv_notes"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
已通话时长
"
android:text=
"
剩余时长:
"
android:textColor=
"@color/white"
android:textSize=
"18sp"
app:layout_constraintEnd_toStartOf=
"@+id/tv_remain_time"
...
...
m-confide/src/main/java/com/ydl/confide/home/ConfideBottomSheetDialogFragment.kt
View file @
aad70c51
...
...
@@ -335,6 +335,9 @@ class ConfideBottomSheetDialogFragment : BottomSheetDialogFragment() {
@SuppressLint
(
"ClickableViewAccessibility"
)
private
fun
webViewInit
(
wv_content
:
ProgressWebView
)
{
val
userService
=
findRouteService
(
IUserService
::
class
.
java
)
val
isLogin
=
userService
.
isLogin
()
first_order
.
visibility
=
if
(
isLogin
)
View
.
GONE
else
View
.
VISIBLE
val
setting
:
WebSettings
=
wv_content
?.
settings
!!
//支持js
setting
.
setJavaScriptEnabled
(
true
)
...
...
@@ -583,10 +586,11 @@ class ConfideBottomSheetDialogFragment : BottomSheetDialogFragment() {
}
//登录成功
fun
onEvent
(
event
:
UserLoginEvent
)
{
loadUrl
()
webViewInit
(
wv_content
)
}
//绑定成功
fun
onEvent
(
event
:
UserBindPhoneEvent
)
{
loadUrl
(
)
webViewInit
(
wv_content
)
}
}
\ No newline at end of file
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