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
e4159e8f
Commit
e4159e8f
authored
Nov 21, 2019
by
洪国微
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
咨詢ui微調
parent
772879aa
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
13 deletions
+21
-13
MainActivity.kt
app/src/main/java/com/ydl/component/MainActivity.kt
+6
-0
config.gradle
config.gradle
+1
-1
ExpertSearchFragment.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
+3
-1
consultant_expert_search_item_view.xml
m-consultant/src/main/res/layout/consultant_expert_search_item_view.xml
+4
-6
consultant_layout_search_content.xml
m-consultant/src/main/res/layout/consultant_layout_search_content.xml
+6
-5
consultant_layout_search_toolbar.xml
m-consultant/src/main/res/layout/consultant_layout_search_toolbar.xml
+1
-0
No files found.
app/src/main/java/com/ydl/component/MainActivity.kt
View file @
e4159e8f
...
...
@@ -13,6 +13,8 @@ import android.util.Log
import
com.alibaba.android.arouter.launcher.ARouter
import
com.tbruyelle.rxpermissions2.RxPermissions
import
com.umeng.analytics.MobclickAgent
import
com.umeng.commonsdk.framework.UMModuleRegister.getAppContext
import
com.ydl.audioim.YDLavManager
import
com.ydl.component.music.MusicPlayActivity
import
com.ydl.component.mvp.DemoContract
import
com.ydl.component.mvp.DemoPresenter
...
...
@@ -61,6 +63,9 @@ class MainActivity : BaseLceActivity<DemoContract.View, DemoContract.Presenter>(
}
override
fun
initDataAndEvent
()
{
YDLavManager
.
instances
.
init
(
this
,
"3387e9b251f3491e9221a9877e8f7830"
)
bindService
()
reLoadData
()
requestPermission
()
...
...
@@ -94,6 +99,7 @@ class MainActivity : BaseLceActivity<DemoContract.View, DemoContract.Presenter>(
startActivity
(
Intent
(
this
,
TestHomeActivity
::
class
.
java
))
}
bt_to_confide
.
setOnClickListener
{
YDLavManager
.
instances
.
login
(
"1193016"
)
startActivity
(
Intent
(
this
,
ConfideHomeActivity
::
class
.
java
))
}
bt_to_muse
.
setOnClickListener
{
...
...
config.gradle
View file @
e4159e8f
...
...
@@ -42,7 +42,7 @@ ext {
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.1
8
"
,
"m-confide"
:
"0.0.1
9
"
,
"m-consultant"
:
"0.0.29"
,
"m-course"
:
"0.0.17"
,
"m-fm"
:
"0.0.15"
,
...
...
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
View file @
e4159e8f
...
...
@@ -29,6 +29,7 @@ import com.ydl.ydlcommon.base.config.HttpConfig
import
com.ydl.ydlcommon.router.IYDLRouterConstant
import
com.ydl.ydlcommon.ui.LogoLoadingView
import
com.ydl.ydlcommon.utils.BuryPointUtils
import
com.ydl.ydlcommon.utils.DisplayUtils
import
com.ydl.ydlcommon.utils.StatusBarUtils
import
com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
import
com.ydl.ydlcommon.utils.remind.ToastHelper
...
...
@@ -72,7 +73,8 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
override
fun
initDataAndEvent
()
{
var
statusBarHeight
=
StatusBarUtils
.
getStatusBarHeight
(
context
);
rootView
.
setPadding
(
0
,
statusBarHeight
,
0
,
0
)
btn_back
?.
visibility
=
View
.
INVISIBLE
btn_back
.
visibility
=
View
.
GONE
title_layout
.
setPadding
(
DisplayUtils
.
dp2px
(
context
,
15
),
0
,
0
,
0
)
initViews
()
initData
()
}
...
...
m-consultant/src/main/res/layout/consultant_expert_search_item_view.xml
View file @
e4159e8f
...
...
@@ -13,7 +13,6 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/platform_dp_15"
android:padding=
"0.5dp"
android:background=
"@drawable/consultant_bg_radius_line_gray_05"
android:orientation=
"vertical"
>
<android.support.v7.widget.CardView
...
...
@@ -39,7 +38,6 @@
android:scaleType=
"centerCrop"
android:layout_alignBottom=
"@+id/cvHead"
app:srcCompat=
"@drawable/consultant_online_yue"
android:layout_marginLeft=
"@dimen/platform_dp_2"
tools:visibility=
"visible"
android:layout_marginBottom=
"@dimen/platform_dp_05"
android:visibility=
"gone"
/>
...
...
@@ -79,7 +77,6 @@
android:layout_toRightOf=
"@+id/tvName"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/platform_dp_2"
android:orientation=
"horizontal"
android:paddingLeft=
"10dp"
android:gravity=
"center_vertical"
...
...
@@ -93,13 +90,14 @@
android:layout_width=
"42dp"
android:layout_height=
"12dp"
android:layout_marginStart=
"@dimen/platform_dp_4"
android:layout_marginRight=
"4dp"
android:visibility=
"gone"
/>
<!--公益图标-->
<ImageView
android:id=
"@+id/imgServiceFree"
android:layout_width=
"26dp"
android:layout_height=
"@dimen/platform_dp_12"
android:layout_margin
Left=
"@dimen/platform_dp_4
"
android:layout_margin
Right=
"4dp
"
android:scaleType=
"centerCrop"
tools:background=
"@drawable/consultant_service_free"
android:layout_marginStart=
"@dimen/platform_dp_4"
/>
...
...
@@ -108,7 +106,7 @@
android:id=
"@+id/imgNewEnter"
android:layout_width=
"26dp"
android:layout_height=
"@dimen/platform_dp_12"
android:layout_margin
Left=
"@dimen/platform_dp_4
"
android:layout_margin
Right=
"4dp
"
android:scaleType=
"fitCenter"
tools:background=
"@drawable/consultant_new_enter"
android:layout_marginStart=
"@dimen/platform_dp_4"
/>
...
...
@@ -117,7 +115,7 @@
android:id=
"@+id/imgAbilityLevel"
android:layout_width=
"26dp"
android:layout_height=
"@dimen/platform_dp_12"
android:layout_margin
Left=
"@dimen/platform_dp_4
"
android:layout_margin
Right=
"4dp
"
android:scaleType=
"fitCenter"
tools:background=
"@drawable/consultant_expert_search_shixi"
android:layout_marginStart=
"@dimen/platform_dp_4"
...
...
m-consultant/src/main/res/layout/consultant_layout_search_content.xml
View file @
e4159e8f
...
...
@@ -68,6 +68,10 @@
android:text=
"@string/platform_filter"
/>
</LinearLayout>
<android.support.v7.widget.CardView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
app:cardElevation=
"0.5dp"
>
<LinearLayout
android:id=
"@+id/lin_filter2"
android:layout_width=
"match_parent"
...
...
@@ -75,12 +79,9 @@
android:paddingLeft=
"10dp"
android:paddingBottom=
"10dp"
android:orientation=
"horizontal"
>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:background=
"@color/platform_line"
/>
</android.support.v7.widget.CardView>
</LinearLayout>
</com.yidianling.consultant.ui.view.DisInterceptNestedScrollView>
...
...
m-consultant/src/main/res/layout/consultant_layout_search_toolbar.xml
View file @
e4159e8f
...
...
@@ -5,6 +5,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:orientation=
"horizontal"
android:background=
"@color/white"
app:layout_collapseMode=
"pin"
>
...
...
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