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
3a9d0b26
Commit
3a9d0b26
authored
Dec 21, 2019
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
web页面单独抽取一个右上角弹框,修复咨询列表页bug
parent
c946e76a
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
348 additions
and
8 deletions
+348
-8
build.gradle
app/build.gradle
+1
-1
BigShotOneView.kt
m-consultant/src/main/java/com/yidianling/consultant/ui/view/topView/BigShotOneView.kt
+1
-1
RecommendListView.kt
m-consultant/src/main/java/com/yidianling/consultant/ui/view/topView/RecommendListView.kt
+21
-3
consultant_expert_search_top_all_view.xml
m-consultant/src/main/res/layout/consultant_expert_search_top_all_view.xml
+1
-0
modular.gradle
m-im/modular.gradle
+1
-1
MsgReceiveHelper.java
m-im/src/main/java/com/yidianling/im/helper/MsgReceiveHelper.java
+26
-0
IMServiceImpl.kt
m-im/src/main/java/com/yidianling/im/modular/service/IMServiceImpl.kt
+5
-0
IImService.kt
m-im/src/main/modular_api/com/yidianling/im/api/service/IImService.kt
+8
-1
PopUtils.java
ydl-webview/src/main/java/com/ydl/utils/PopUtils.java
+30
-0
MoreClickView.kt
ydl-webview/src/main/java/com/ydl/view/MoreClickView.kt
+110
-0
NewH5Activity.java
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
+1
-1
web_message_num_bg.xml
ydl-webview/src/main/res/drawable/web_message_num_bg.xml
+11
-0
web_ui_new_more.xml
ydl-webview/src/main/res/layout/web_ui_new_more.xml
+132
-0
No files found.
app/build.gradle
View file @
3a9d0b26
...
@@ -202,7 +202,7 @@ dependencies {
...
@@ -202,7 +202,7 @@ dependencies {
//
implementation project(':m-muse')
implementation
project
(
':m-muse'
)
implementation
project
(
':m-im'
)
implementation
project
(
':m-im'
)
implementation
project
(
':m-dynamic'
)
implementation
project
(
':m-dynamic'
)
...
...
m-consultant/src/main/java/com/yidianling/consultant/ui/view/topView/BigShotOneView.kt
View file @
3a9d0b26
...
@@ -48,7 +48,7 @@ class BigShotOneView : LinearLayout {
...
@@ -48,7 +48,7 @@ class BigShotOneView : LinearLayout {
}
}
fun
setUrl
(
bean
:
ExpertSearchBigShotBean
)
{
fun
setUrl
(
bean
:
ExpertSearchBigShotBean
)
{
GlideApp
.
with
(
mContext
).
load
(
bean
.
topicImages
[
0
]).
into
(
consultant_one_img_1
)
GlideApp
.
with
(
mContext
).
load
(
bean
.
topicImages
[
0
]
.
imageUrl
).
into
(
consultant_one_img_1
)
consultant_one_img_1
.
setOnClickListener
{
consultant_one_img_1
.
setOnClickListener
{
val
h5Params
=
H5Params
(
bean
.
specialTopicUrl
,
null
)
val
h5Params
=
H5Params
(
bean
.
specialTopicUrl
,
null
)
NewH5Activity
.
start
(
context
,
h5Params
)
NewH5Activity
.
start
(
context
,
h5Params
)
...
...
m-consultant/src/main/java/com/yidianling/consultant/ui/view/topView/RecommendListView.kt
View file @
3a9d0b26
...
@@ -66,6 +66,12 @@ class RecommendListView : LinearLayout {
...
@@ -66,6 +66,12 @@ class RecommendListView : LinearLayout {
orientation
=
VERTICAL
orientation
=
VERTICAL
View
.
inflate
(
mContext
,
R
.
layout
.
consultant_expert_search_top_all_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
consultant_expert_search_top_all_view
,
this
)
//无数据则隐藏所有布局
recommendViewPager
.
visibility
=
View
.
GONE
recommendViewPagerIndicator
.
visibility
=
View
.
GONE
itemListView
.
visibility
=
View
.
GONE
requestData
()
requestData
()
}
}
...
@@ -79,8 +85,20 @@ class RecommendListView : LinearLayout {
...
@@ -79,8 +85,20 @@ class RecommendListView : LinearLayout {
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
subscribe
(
Consumer
{
.
subscribe
(
Consumer
{
if
(
null
!=
mContext
)
{
if
(
null
!=
mContext
)
{
mSceneSpecialTopicList
.
addAll
(
it
.
sceneSpecialTopics
)
if
(
it
.
sceneSpecialTopics
==
null
||
it
.
sceneSpecialTopics
.
size
==
0
)
{
mDoctorSpecialTopicsList
.
addAll
(
it
.
doctorSpecialTopics
)
recommendViewPager
.
visibility
=
View
.
GONE
recommendViewPagerIndicator
.
visibility
=
View
.
GONE
}
else
{
mSceneSpecialTopicList
.
addAll
(
it
.
sceneSpecialTopics
)
recommendViewPager
.
visibility
=
View
.
VISIBLE
recommendViewPagerIndicator
.
visibility
=
View
.
VISIBLE
}
if
(
it
.
doctorSpecialTopics
==
null
||
it
.
doctorSpecialTopics
.
size
==
0
)
{
itemListView
.
visibility
=
View
.
GONE
}
else
{
mDoctorSpecialTopicsList
.
addAll
(
it
.
doctorSpecialTopics
)
itemListView
.
visibility
=
View
.
VISIBLE
}
setData
()
setData
()
}
}
...
@@ -318,7 +336,7 @@ class RecommendListView : LinearLayout {
...
@@ -318,7 +336,7 @@ class RecommendListView : LinearLayout {
val
mView1
=
BigShotTwoView
(
mContext
!!
)
val
mView1
=
BigShotTwoView
(
mContext
!!
)
mView
.
setUrl
(
mDoctorSpecialTopicsList
[
0
],
mDoctorSpecialTopicsList
[
1
],
mDoctorSpecialTopicsList
[
2
])
mView
.
setUrl
(
mDoctorSpecialTopicsList
[
0
],
mDoctorSpecialTopicsList
[
1
],
mDoctorSpecialTopicsList
[
2
])
mView1
.
setUrl
(
mDoctorSpecialTopicsList
[
3
],
mDoctorSpecialTopicsList
[
3
])
mView1
.
setUrl
(
mDoctorSpecialTopicsList
[
3
],
mDoctorSpecialTopicsList
[
4
])
itemListView
.
addView
(
mView
)
itemListView
.
addView
(
mView
)
itemListView
.
addView
(
mView1
)
itemListView
.
addView
(
mView1
)
}
}
...
...
m-consultant/src/main/res/layout/consultant_expert_search_top_all_view.xml
View file @
3a9d0b26
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
android:background=
"#FAFAFA"
/>
android:background=
"#FAFAFA"
/>
<LinearLayout
<LinearLayout
android:id=
"@+id/recommendViewPagerIndicator"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"15dp"
android:layout_height=
"15dp"
android:orientation=
"horizontal"
android:orientation=
"horizontal"
...
...
m-im/modular.gradle
View file @
3a9d0b26
...
@@ -24,7 +24,7 @@ modular {
...
@@ -24,7 +24,7 @@ modular {
groupId
=
"com.ydl"
groupId
=
"com.ydl"
artifactId
=
"m-im-api"
artifactId
=
"m-im-api"
//开发时注释掉版本号,发布api时打开
//开发时注释掉版本号,发布api时打开
version
=
rootProject
.
ext
.
ydlPublishVersion
[
childProject
.
getName
()+
"-api"
]
//
version = rootProject.ext.ydlPublishVersion[childProject.getName()+"-api"]
// API 层打包时需要引入的依赖
// API 层打包时需要引入的依赖
apiDependencies
{
apiDependencies
{
implementation
"com.google.code.gson:gson:2.8.2"
implementation
"com.google.code.gson:gson:2.8.2"
...
...
m-im/src/main/java/com/yidianling/im/helper/MsgReceiveHelper.java
View file @
3a9d0b26
package
com
.
yidianling
.
im
.
helper
;
package
com
.
yidianling
.
im
.
helper
;
import
android.os.Build
;
import
android.support.annotation.RequiresApi
;
import
com.netease.nimlib.sdk.NIMClient
;
import
com.netease.nimlib.sdk.NIMClient
;
import
com.netease.nimlib.sdk.NIMSDK
;
import
com.netease.nimlib.sdk.NIMSDK
;
import
com.netease.nimlib.sdk.RequestCallbackWrapper
;
import
com.netease.nimlib.sdk.RequestCallbackWrapper
;
...
@@ -11,10 +14,13 @@ import com.netease.nimlib.sdk.team.model.MemberChangeAttachment;
...
@@ -11,10 +14,13 @@ import com.netease.nimlib.sdk.team.model.MemberChangeAttachment;
import
com.yidianling.common.tools.LogUtil
;
import
com.yidianling.common.tools.LogUtil
;
import
com.yidianling.im.event.UpdateTabUnreadNumEvent
;
import
com.yidianling.im.event.UpdateTabUnreadNumEvent
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.TimeUnit
;
import
java.util.function.BiConsumer
;
import
java.util.function.Consumer
;
import
de.greenrobot.event.EventBus
;
import
de.greenrobot.event.EventBus
;
import
io.reactivex.Observable
;
import
io.reactivex.Observable
;
...
@@ -41,6 +47,26 @@ public class MsgReceiveHelper {
...
@@ -41,6 +47,26 @@ public class MsgReceiveHelper {
}
}
}
}
/**
* 获取所有未读数
* @return
*/
public
static
int
getAllUnNum
()
{
Object
[]
list
=
unreadNumMap
.
values
().
toArray
();
int
sum
=
0
;
for
(
int
i
=
0
;
i
<
list
.
length
;
i
++)
{
try
{
sum
+=
Integer
.
parseInt
(
list
[
0
].
toString
());
}
catch
(
Exception
e
)
{
sum
+=
0
;
}
}
return
sum
;
}
public
static
void
onMessageReceived
()
{
public
static
void
onMessageReceived
()
{
reQueryUnreadNum
();
reQueryUnreadNum
();
...
...
m-im/src/main/java/com/yidianling/im/modular/service/IMServiceImpl.kt
View file @
3a9d0b26
...
@@ -201,4 +201,8 @@ class IMServiceImpl : IImService {
...
@@ -201,4 +201,8 @@ class IMServiceImpl : IImService {
override
fun
getUnReadByUid
(
uid
:
String
):
Int
{
override
fun
getUnReadByUid
(
uid
:
String
):
Int
{
return
MsgReceiveHelper
.
getUnNum
(
uid
)
return
MsgReceiveHelper
.
getUnNum
(
uid
)
}
}
override
fun
getAllUnReadNum
():
Int
{
return
MsgReceiveHelper
.
getAllUnNum
()
}
}
}
\ No newline at end of file
m-im/src/main/modular_api/com/yidianling/im/api/service/IImService.kt
View file @
3a9d0b26
...
@@ -53,7 +53,13 @@ interface IImService : IProvider {
...
@@ -53,7 +53,13 @@ interface IImService : IProvider {
fun
startChat
(
context
:
Activity
,
toUid
:
String
,
flag
:
Int
,
canTalk
:
Int
)
fun
startChat
(
context
:
Activity
,
toUid
:
String
,
flag
:
Int
,
canTalk
:
Int
)
/**
/**
* 根据uid获取未读数
* 根据
对方
uid获取未读数
*/
*/
fun
getUnReadByUid
(
uid
:
String
):
Int
fun
getUnReadByUid
(
uid
:
String
):
Int
/**
* 获取自己的所有未读数
*/
fun
getAllUnReadNum
():
Int
}
}
\ No newline at end of file
ydl-webview/src/main/java/com/ydl/utils/PopUtils.java
0 → 100644
View file @
3a9d0b26
package
com
.
ydl
.
utils
;
import
android.content.Context
;
import
android.graphics.drawable.BitmapDrawable
;
import
android.view.Gravity
;
import
android.view.View
;
import
android.view.WindowManager
;
import
android.widget.PopupWindow
;
import
com.ydl.view.MoreClickView
;
/**
* Created by Wi1ls on 2016/10/17;
*/
public
class
PopUtils
{
public
static
PopupWindow
showMoreItem
(
Context
context
,
View
view
,
int
offX
,
int
offY
){
MoreClickView
v
=
new
MoreClickView
(
context
);
WindowManager
windowManager
=
(
WindowManager
)
context
.
getSystemService
(
Context
.
WINDOW_SERVICE
);
final
PopupWindow
popupWindow
=
new
PopupWindow
(
v
,
windowManager
.
getDefaultDisplay
().
getWidth
(),
windowManager
.
getDefaultDisplay
().
getHeight
());
v
.
setPopupWindow
(
popupWindow
);
popupWindow
.
setFocusable
(
false
);
popupWindow
.
setOutsideTouchable
(
true
);
popupWindow
.
setBackgroundDrawable
(
new
BitmapDrawable
());
popupWindow
.
showAtLocation
(
view
,
Gravity
.
CENTER
,
0
,
0
);
return
popupWindow
;
}
}
ydl-webview/src/main/java/com/ydl/view/MoreClickView.kt
0 → 100644
View file @
3a9d0b26
package
com.ydl.view
import
android.content.Context
import
android.content.Intent
import
android.net.Uri
import
android.text.TextUtils
import
android.util.AttributeSet
import
android.view.View
import
android.widget.PopupWindow
import
android.widget.RelativeLayout
import
com.ydl.webview.R
import
com.ydl.ydlcommon.data.PlatformDataManager
import
com.ydl.ydlcommon.modular.ModularServiceManager
import
com.ydl.ydlcommon.router.YdlCommonRouterManager
import
com.ydl.ydlcommon.view.dialog.CommonDialog
import
com.yidianling.im.api.service.IImService
import
kotlinx.android.synthetic.main.web_ui_new_more.view.*
/**
* Created by Wi1ls on 2016/10/17;
*/
class
MoreClickView
@JvmOverloads
constructor
(
private
val
mContext
:
Context
,
attrs
:
AttributeSet
?
=
null
,
defStyleAttr
:
Int
=
0
)
:
RelativeLayout
(
mContext
,
attrs
,
defStyleAttr
),
View
.
OnClickListener
{
private
var
mPopupWindow
:
PopupWindow
?
=
null
private
val
work_time
=
if
(
PlatformDataManager
.
getRam
().
getGlobalInfo
()
==
null
)
"早8:30-凌晨2:00"
else
PlatformDataManager
.
getRam
().
getGlobalInfo
()
?.
info
?.
work_time
private
val
tel
=
if
(
PlatformDataManager
.
getRam
().
getGlobalInfo
()
==
null
)
"400-114-1010'"
else
PlatformDataManager
.
getRam
().
getGlobalInfo
()
?.
info
?.
tel
init
{
View
.
inflate
(
mContext
,
R
.
layout
.
web_ui_new_more
,
this
)
init
()
}
internal
fun
init
()
{
fl_main
.
setOnClickListener
(
this
)
more_msg
.
setOnClickListener
(
this
)
more_homepage
.
setOnClickListener
(
this
)
more_service
.
setOnClickListener
(
this
)
more_ray
.
setOnClickListener
(
this
)
/* if (YdlCommonRouterManager.getYdlCommonRoute().isHasUnread()) {
msg_new.setVisibility(View.VISIBLE)
} else {
msg_new.setVisibility(View.INVISIBLE)
}*/
un_read_num
.
text
=
ModularServiceManager
.
provide
(
IImService
::
class
.
java
).
getAllUnReadNum
().
toString
()
}
override
fun
onClick
(
view
:
View
)
{
if
(
mPopupWindow
!=
null
&&
mPopupWindow
!!
.
isShowing
)
{
mPopupWindow
!!
.
dismiss
()
}
when
(
view
.
id
)
{
R
.
id
.
fl_main
->
{
}
R
.
id
.
more_msg
->
setMoreMsg
()
R
.
id
.
more_homepage
->
setMoreHomePage
()
R
.
id
.
more_service
->
setMoreService
()
R
.
id
.
more_ray
->
setMoreRay
()
}
}
private
fun
setMoreMsg
()
{
if
(
PlatformDataManager
.
getRam
().
getChannelName
().
startsWith
(
"ATK_3"
))
{
YdlCommonRouterManager
.
getYdlCommonRoute
().
startMain
(
context
,
2
,
null
)
}
else
{
YdlCommonRouterManager
.
getYdlCommonRoute
().
startMain
(
context
,
3
,
null
)
}
}
private
fun
setMoreHomePage
()
{
YdlCommonRouterManager
.
getYdlCommonRoute
().
startMain
(
context
,
0
,
null
)
}
private
fun
setMoreService
()
{
YdlCommonRouterManager
.
getYdlCommonRoute
().
setMoreService
(
context
)
}
private
fun
setMoreRay
()
{
CommonDialog
(
context
)
.
setMessage
(
"欢迎致电壹点灵客服热线\n"
+
PlatformDataManager
.
getRam
().
getGlobalInfo
()
?.
info
?.
tel
+
"\n服务时间:"
+
work_time
)
.
setLeftOnclick
(
"取消"
,
null
)
.
setRightClick
(
"拨打"
)
{
if
(
null
!=
tel
&&
!
TextUtils
.
isEmpty
(
tel
))
{
val
phoneIntent
=
Intent
(
Intent
.
ACTION_DIAL
,
Uri
.
parse
(
"tel:$tel"
))
context
.
startActivity
(
phoneIntent
)
}
}.
show
()
}
private
var
callBack
:
CallPhoneCallBack
?
=
null
fun
setCallPhoneCallBack
(
callBack
:
CallPhoneCallBack
)
{
this
.
callBack
=
callBack
}
interface
CallPhoneCallBack
{
fun
call
(
tel
:
String
,
action
:
String
)
}
fun
setPopupWindow
(
popupWindow
:
PopupWindow
)
{
mPopupWindow
=
popupWindow
}
}
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
View file @
3a9d0b26
...
@@ -35,6 +35,7 @@ import com.tencent.smtt.sdk.WebView;
...
@@ -35,6 +35,7 @@ import com.tencent.smtt.sdk.WebView;
import
com.tencent.smtt.sdk.WebViewClient
;
import
com.tencent.smtt.sdk.WebViewClient
;
import
com.umeng.socialize.UMShareAPI
;
import
com.umeng.socialize.UMShareAPI
;
import
com.umeng.socialize.bean.SHARE_MEDIA
;
import
com.umeng.socialize.bean.SHARE_MEDIA
;
import
com.ydl.utils.PopUtils
;
import
com.ydl.ydl_router.manager.YDLRouterManager
;
import
com.ydl.ydl_router.manager.YDLRouterManager
;
import
com.ydl.ydlcommon.base.BaseActivity
;
import
com.ydl.ydlcommon.base.BaseActivity
;
import
com.ydl.ydlcommon.base.BaseApp
;
import
com.ydl.ydlcommon.base.BaseApp
;
...
@@ -44,7 +45,6 @@ import com.ydl.ydlcommon.ui.LogoLoadingView;
...
@@ -44,7 +45,6 @@ import com.ydl.ydlcommon.ui.LogoLoadingView;
import
com.ydl.ydlcommon.utils.BuryPointUtils
;
import
com.ydl.ydlcommon.utils.BuryPointUtils
;
import
com.ydl.ydlcommon.utils.LogUtil
;
import
com.ydl.ydlcommon.utils.LogUtil
;
import
com.ydl.ydlcommon.utils.NetWorkSpeedUtils
;
import
com.ydl.ydlcommon.utils.NetWorkSpeedUtils
;
import
com.ydl.ydlcommon.utils.PopUtils
;
import
com.ydl.ydlcommon.utils.StatusBarUtils
;
import
com.ydl.ydlcommon.utils.StatusBarUtils
;
import
com.ydl.ydlcommon.utils.TemporaryUtils
;
import
com.ydl.ydlcommon.utils.TemporaryUtils
;
import
com.ydl.ydlcommon.utils.URLUtils
;
import
com.ydl.ydlcommon.utils.URLUtils
;
...
...
ydl-webview/src/main/res/drawable/web_message_num_bg.xml
0 → 100644
View file @
3a9d0b26
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<corners
android:radius=
"7dp"
/>
<solid
android:color=
"#FF5040"
/>
</shape>
\ No newline at end of file
ydl-webview/src/main/res/layout/web_ui_new_more.xml
0 → 100644
View file @
3a9d0b26
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:id=
"@+id/fl_main"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<LinearLayout
android:layout_width=
"150dp"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
android:layout_gravity=
"right"
android:elevation=
"4dp"
android:background=
"@color/platform_white"
android:layout_marginTop=
"55dp"
android:layout_marginRight=
"5dp"
>
<LinearLayout
android:id=
"@+id/more_msg"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:orientation=
"horizontal"
android:gravity=
"center_vertical"
>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"19dp"
android:layout_marginRight=
"15dp"
android:src=
"@drawable/platform_ic_pop_news"
/>
<TextView
android:id=
"@+id/tv_msg"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"17sp"
android:text=
"消息"
android:textColor=
"#333333"
/>
<TextView
android:id=
"@+id/un_read_num"
android:layout_width=
"wrap_content"
android:layout_height=
"14dp"
android:textSize=
"10dp"
tools:text=
"10"
android:textColor=
"#ffffff"
android:paddingLeft=
"3dp"
android:paddingRight=
"3dp"
android:gravity=
"center"
android:background=
"@drawable/web_message_num_bg"
android:layout_marginLeft=
"5dp"
/>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"#e5e5e5"
android:layout_marginRight=
"2dp"
/>
<LinearLayout
android:id=
"@+id/more_homepage"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:orientation=
"horizontal"
android:gravity=
"center_vertical"
>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"19dp"
android:layout_marginRight=
"15dp"
android:src=
"@drawable/platform_ic_pop_home"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"17sp"
android:text=
"首页"
android:textColor=
"#333333"
/>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"#e5e5e5"
android:layout_marginRight=
"2dp"
/>
<LinearLayout
android:id=
"@+id/more_service"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:orientation=
"horizontal"
android:gravity=
"center_vertical"
>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"19dp"
android:layout_marginRight=
"15dp"
android:src=
"@drawable/platform_ic_pop_kefu"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"17sp"
android:text=
"在线客服"
android:textColor=
"#333333"
/>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"#e5e5e5"
android:layout_marginRight=
"2dp"
/>
<LinearLayout
android:id=
"@+id/more_ray"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:orientation=
"horizontal"
android:gravity=
"center_vertical"
>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"19dp"
android:layout_marginRight=
"15dp"
android:src=
"@drawable/platform_ic_pop_phone"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"17sp"
android:text=
"免费热线"
android:textColor=
"#333333"
/>
</LinearLayout>
</LinearLayout>
</FrameLayout>
\ 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