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
54348d30
Commit
54348d30
authored
May 18, 2022
by
upwork.021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 咨询筛选代码提交
parent
a5d2d185
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
39 deletions
+50
-39
build.gradle
app/build.gradle
+0
-29
ExpertSearchActivity.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
+4
-2
consultant_solid_1da1f2_r_8.xml
m-consultant/src/main/res/drawable/consultant_solid_1da1f2_r_8.xml
+8
-0
consultant_stroke_ebebeb_r_8.xml
m-consultant/src/main/res/drawable/consultant_stroke_ebebeb_r_8.xml
+10
-0
consultant_ui_subject_popup_window.xml
m-consultant/src/main/res/layout/consultant_ui_subject_popup_window.xml
+28
-8
No files found.
app/build.gradle
View file @
54348d30
...
@@ -188,12 +188,7 @@ dependencies {
...
@@ -188,12 +188,7 @@ dependencies {
implementation
(
rootProject
.
ext
.
dependencies
[
"espresso-core"
])
implementation
(
rootProject
.
ext
.
dependencies
[
"espresso-core"
])
implementation
(
rootProject
.
ext
.
dependencies
[
"okhttp3"
])
implementation
(
rootProject
.
ext
.
dependencies
[
"okhttp3"
])
// TPNS SDK 主工程依赖包
// implementation 'com.tencent.liteav:LiteAVSDK_TRTC:latest.release'
if
(
true
)
{
//开发模式
implementation
fileTree
(
dir:
'aars'
,
include:
[
'*.aar'
])
implementation
fileTree
(
dir:
'aars'
,
include:
[
'*.aar'
])
implementation
project
(
':m-user'
)
implementation
project
(
':m-user'
)
implementation
modularPublication
(
'com.ydl:m-user-api'
)
implementation
modularPublication
(
'com.ydl:m-user-api'
)
...
@@ -202,50 +197,26 @@ dependencies {
...
@@ -202,50 +197,26 @@ dependencies {
api
project
(
':m-consultant'
)
api
project
(
':m-consultant'
)
implementation
modularPublication
(
'com.ydl:m-consultant-api'
)
implementation
modularPublication
(
'com.ydl:m-consultant-api'
)
api
project
(
':m-tests'
)
api
project
(
':m-tests'
)
api
project
(
':m-home'
)
api
project
(
':m-home'
)
api
project
(
':m-confide'
)
api
project
(
':m-confide'
)
implementation
project
(
':ydl-flutter-base'
)
implementation
project
(
':ydl-flutter-base'
)
api
(
project
(
':ydl-platform'
))
{
api
(
project
(
':ydl-platform'
))
{
transitive
=
true
transitive
=
true
}
}
implementation
project
(
':ydl-webview'
)
implementation
project
(
':ydl-webview'
)
implementation
project
(
':ydl-media'
)
implementation
project
(
':ydl-media'
)
implementation
project
(
':m-muse'
)
implementation
project
(
':m-muse'
)
implementation
project
(
':m-im'
)
implementation
project
(
':m-im'
)
implementation
modularPublication
(
'com.ydl:m-im-api'
)
implementation
modularPublication
(
'com.ydl:m-im-api'
)
implementation
project
(
':m-dynamic'
)
implementation
project
(
':m-dynamic'
)
implementation
project
(
':m-course'
)
implementation
project
(
':m-course'
)
//文章模块
implementation
project
(
':m-article'
)
implementation
project
(
':m-article'
)
implementation
project
(
':m-audioim'
)
implementation
project
(
':m-audioim'
)
implementation
modularPublication
(
'com.ydl:m-audioim-api'
)
implementation
modularPublication
(
'com.ydl:m-audioim-api'
)
implementation
project
(
':m-fm'
)
implementation
project
(
':m-fm'
)
implementation
modularPublication
(
'com.ydl:m-fm-api'
)
implementation
modularPublication
(
'com.ydl:m-fm-api'
)
implementation
project
(
':ydl-tuicore'
)
implementation
project
(
':ydl-tuicore'
)
}
else
{
//发布模式
api
'com.ydl:m-user-module-ydl:0.0.6'
api
rootProject
.
ext
.
dependencies
[
"ydl-webview"
]
api
rootProject
.
ext
.
dependencies
[
"ydl-m-user-api"
]
api
rootProject
.
ext
.
dependencies
[
"ydl-m-fm-api"
]
api
rootProject
.
ext
.
dependencies
[
"m-article"
]
api
(
rootProject
.
ext
.
dependencies
[
"ydl-platform"
])
{
transitive
=
true
}
api
(
rootProject
.
ext
.
dependencies
[
"ydl-tuicalling"
])
{
transitive
=
true
}
}
implementation
rootProject
.
ext
.
dependencies
[
"retrofit-url-manager"
]
implementation
rootProject
.
ext
.
dependencies
[
"retrofit-url-manager"
]
kapt
'com.alibaba:arouter-compiler:1.2.2'
kapt
'com.alibaba:arouter-compiler:1.2.2'
...
...
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
View file @
54348d30
...
@@ -449,7 +449,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -449,7 +449,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
if
(
cate
.
cateId
==
initCategory
)
{
if
(
cate
.
cateId
==
initCategory
)
{
allFilter
.
categories
.
clear
()
allFilter
.
categories
.
clear
()
allFilter
.
categories
.
add
(
cate
)
allFilter
.
categories
.
add
(
cate
)
if
(
allFilter
.
categories
.
size
==
1
&&
!
"全部"
.
equals
(
allFilter
.
categories
[
0
].
cateName
)
)
{
if
(
allFilter
.
categories
.
size
==
1
&&
"全部"
!=
allFilter
.
categories
[
0
].
cateName
)
{
//显示选中标题
//显示选中标题
tvSubject
.
text
=
allFilter
.
categories
[
0
].
cateName
tvSubject
.
text
=
allFilter
.
categories
[
0
].
cateName
}
else
{
}
else
{
...
@@ -1368,7 +1368,9 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -1368,7 +1368,9 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
private
var
categoryPopup
:
CategoryPopupWindow
?
=
null
private
var
categoryPopup
:
CategoryPopupWindow
?
=
null
//显示主题弹窗
/**
* 显示主题弹窗
*/
private
fun
showSubjectPopupWindow
()
{
private
fun
showSubjectPopupWindow
()
{
tempFilter
.
categories
.
clear
()
tempFilter
.
categories
.
clear
()
tempFilter
.
categories
.
addAll
(
allFilter
.
categories
)
tempFilter
.
categories
.
addAll
(
allFilter
.
categories
)
...
...
m-consultant/src/main/res/drawable/consultant_solid_1da1f2_r_8.xml
0 → 100644
View file @
54348d30
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"8dp"
/>
<solid
android:color=
"@color/platform_main_theme"
/>
</shape>
\ No newline at end of file
m-consultant/src/main/res/drawable/consultant_stroke_ebebeb_r_8.xml
0 → 100644
View file @
54348d30
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"8dp"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/platform_color_EBEBEB"
/>
</shape>
\ No newline at end of file
m-consultant/src/main/res/layout/consultant_ui_subject_popup_window.xml
View file @
54348d30
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
android:textColor=
"@color/platform_color_242424"
android:textColor=
"@color/platform_color_242424"
android:textStyle=
"bold"
android:textStyle=
"bold"
android:layout_marginTop=
"@dimen/platform_dp_24"
android:layout_marginTop=
"@dimen/platform_dp_24"
android:layout_margin
Lef
t=
"@dimen/platform_dp_15"
android:layout_margin
Star
t=
"@dimen/platform_dp_15"
android:layout_marginBottom=
"7dp"
/>
android:layout_marginBottom=
"7dp"
/>
<androidx.recyclerview.widget.RecyclerView
<androidx.recyclerview.widget.RecyclerView
...
@@ -24,18 +24,38 @@
...
@@ -24,18 +24,38 @@
android:layout_marginRight=
"10dp"
android:layout_marginRight=
"10dp"
android:overScrollMode=
"never"
/>
android:overScrollMode=
"never"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"68dp"
android:orientation=
"horizontal"
android:paddingStart=
"16dp"
android:paddingEnd=
"16dp"
android:paddingTop=
"8dp"
>
<TextView
android:id=
"@+id/btn_reset"
android:layout_width=
"0dp"
android:layout_weight=
"1"
android:layout_height=
"44dp"
android:background=
"@drawable/consultant_stroke_ebebeb_r_8"
android:gravity=
"center"
android:text=
"@string/platform_reset"
android:textSize=
"16sp"
android:textColor=
"@color/platform_color_242424"
/>
<TextView
<TextView
android:id=
"@+id/btnConfirm"
android:id=
"@+id/btnConfirm"
android:layout_width=
"match_parent"
android:layout_width=
"0dp"
android:layout_weight=
"1"
android:layout_height=
"44dp"
android:layout_height=
"44dp"
android:layout_marginBottom=
"16dp"
android:layout_marginStart=
"13dp"
android:layout_marginLeft=
"15dp"
android:background=
"@drawable/consultant_solid_1da1f2_r_8"
android:layout_marginRight=
"15dp"
android:layout_marginTop=
"19dp"
android:background=
"@drawable/consultant_bg_radius_5_dark"
android:gravity=
"center"
android:gravity=
"center"
android:text=
"@string/platform_confirm"
android:text=
"@string/platform_confirm"
android:textSize=
"17d
p"
android:textSize=
"16s
p"
android:textColor=
"@color/platform_but_text_color"
/>
android:textColor=
"@color/platform_but_text_color"
/>
</LinearLayout>
</LinearLayout>
</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