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
ef6058b3
Commit
ef6058b3
authored
Aug 30, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 专家状态未调试完提交
parent
c2689a91
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
86 additions
and
128 deletions
+86
-128
ExpertSearchAdapter.kt
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
+0
-0
ExpertServiceItem.kt
m-consultant/src/main/java/com/yidianling/consultant/model/bean/ExpertServiceItem.kt
+65
-127
consult_location_icon.png
m-consultant/src/main/res/drawable-xxxhdpi/consult_location_icon.png
+0
-0
consultant_ns_bg.xml
m-consultant/src/main/res/drawable/consultant_ns_bg.xml
+13
-0
consultant_expert_search_item_view.xml
m-consultant/src/main/res/layout/consultant_expert_search_item_view.xml
+0
-0
colors.xml
m-consultant/src/main/res/values/colors.xml
+8
-1
No files found.
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
View file @
ef6058b3
This diff is collapsed.
Click to expand it.
m-consultant/src/main/java/com/yidianling/consultant/model/bean/ExpertServiceItem.kt
View file @
ef6058b3
package
com.yidianling.consultant.model.bean
import
com.yidianling.consultant.bean.ExpertSearchProductsBean
import
com.yidianling.consultant.bean.ExpertSearchTagsIconBean
/**
* @author yuanWai
* @描述:
...
...
@@ -23,153 +20,94 @@ data class ExpertServiceItem(
* 专家名称
*/
val
doctor_name
:
String
?,
/**
* 跳转路由地址(正常为专家主页地址)
*/
/*** 跳转路由地址(正常为专家主页地址)*/
val
link_url
:
String
?,
/**
* 专家头像地址
*/
/*** 专家头像地址*/
val
head
:
String
?,
/**
* 专家是否在线 1.在线
*/
/*** 私聊状态:1.上线;2.离线;3.忙碌中*/
val
chat_status
:
Int
?,
/**
* 能力等级 1.实习 2.新手 3.精英
*/
val
abilityLevel
:
Int
?,
/**
* 有免费咨询:1.有,2.无
*/
val
has_servicefree_consult
:
Int
?,
/**
* 活动图标
*/
val
activityImg
:
String
?,
/**
* 是否参加活动
*/
val
joinActivity
:
Boolean
?,
/**
* 是否新入驻:true:是,false:否
*/
var
is_new_enter
:
Boolean
?,
/**
* 好评率(倾诉+咨询)
*/
var
evaluation_average_score
:
Float
=
0f
,
/**
* 是否抗疫先锋图标
*/
var
fightEpidemicIconShow
:
Boolean
=
false
,
/**
* 评价数(咨询订单数)
*/
/*** 评价数(咨询订单数)*/
var
evaluate_num
:
Int
=
0
,
/**
* 咨询最低价
*/
/*** 咨询最低价*/
val
min_price
:
String
?,
/**
* 资质材料
*/
/*** 资质材料*/
val
title
:
String
?,
/**
* 已帮助人数(咨询人数)
*/
val
help_num
:
String
?,
/**
* 月售时长
*/
var
p30d_sold_hour
:
Float
=
0f
,
/**
* 服务时长
*/
/*** 服务时长*/
var
sum_service_time
:
Float
=
0f
,
/**
* 服务
*/
val
doctor_products
:
MutableList
<
ExpertSearchProductsBean
>?,
/**
* 标签图片
*/
val
icons
:
ExpertSearchTagsIconBean
?,
// /**
// * 今日是否可约
// */
// val booking_status: Int,
// /**
// * 咨询状态 1-待服务 2-服务中
// */
// var consult_status: Int,
// /**
// * 倾诉状态 1-待服务 2-服务中
// */
// var listen_status: Int,
var
open_chat_agency
:
Int
,
/***服务状态:1.空闲,2.忙碌*/
var
service_status
:
Int
,
var
is_free_today
:
Int
,
/**
* 私聊人数
*/
/*** 私聊人数*/
var
chat_num
:
Int
=
0
,
/**
* 个人铭言
*/
val
famous_remark
:
String
?,
/**
* 省
*/
val
province
:
String
?,
/**
* 市
*/
val
city
:
String
?,
/**
* 私聊按钮的文案(如果不为空则取这个字段的值,如果为空 则默认为:“私聊”)
*/
/*** 私聊按钮的文案(如果不为空则取这个字段的值,如果为空 则默认为:“私聊”)*/
val
chat_btn_text
:
String
?,
/**
* 新标签分类
*/
/*** 新标签分类*/
val
feature_tags
:
ArrayList
<
FeatureTag
>?,
/**
* 是否是头部headView
*/
/*** 是否是头部headView*/
val
is_head_view
:
Boolean
=
false
,
/**
* 搜索词
*/
/*** 搜索词*/
val
search_content
:
String
,
/**
* 联想词
*/
/*** 联想词*/
val
related_word
:
String
,
/**
* 地区
*/
/*** 地区*/
val
display_region
:
String
,
/**
* 是否展示公益图标
*/
val
has_servicefree_experience
:
Int
?
/***咨询显示状态:1.忙碌;2.现在有空;3.今日可约;4.最近可约;5.已约满;6.休息中*/
val
consult_display_status
:
Int
,
/***专家头像下方文案:如 忙碌;现在有空;今日可约;最近可约;已约满;休息中*/
val
consult_display_status_str
:
String
,
/***私聊下方时间描述:如 最快可约今天19:00*/
val
today_time_des
:
String
,
/***服务方式:如 当面/视频*/
val
attr_combine
:
String
=
""
,
/***0:关闭代聊,1:开启代聊*/
val
open_chat_agency
:
Int
,
)
{
)
{
constructor
(
is_head_view
:
Boolean
,
search_content
:
String
,
related_word
:
String
)
:
this
(
""
,
""
,
""
,
""
,
""
,
1
,
1
,
1
,
""
,
false
,
true
,
1f
,
false
,
0
,
""
,
""
,
""
,
1f
,
1f
,
null
,
null
,
1
,
1
,
1
,
1
,
""
,
""
,
""
,
""
,
null
,
is_head_view
,
search_content
,
related_word
,
""
,
1
id
=
""
,
uid
=
""
,
doctor_name
=
""
,
link_url
=
""
,
head
=
""
,
chat_status
=
1
,
evaluate_num
=
0
,
min_price
=
""
,
title
=
""
,
sum_service_time
=
0f
,
service_status
=
1
,
chat_num
=
0
,
chat_btn_text
=
null
,
feature_tags
=
null
,
is_head_view
=
is_head_view
,
search_content
=
search_content
,
related_word
=
related_word
,
display_region
=
""
,
consult_display_status
=
2
,
consult_display_status_str
=
""
,
today_time_des
=
""
,
attr_combine
=
""
,
open_chat_agency
=
0
)
}
...
...
m-consultant/src/main/res/drawable-xxxhdpi/consult_location_icon.png
0 → 100644
View file @
ef6058b3
1.51 KB
m-consultant/src/main/res/drawable/consultant_ns_bg.xml
0 → 100644
View file @
ef6058b3
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<solid
android:color=
"@color/color_f6f6f7"
/>
<corners
android:radius=
"2dp"
/>
<padding
android:bottom=
"2dp"
android:left=
"4dp"
android:right=
"4dp"
android:top=
"3dp"
/>
</shape>
\ No newline at end of file
m-consultant/src/main/res/layout/consultant_expert_search_item_view.xml
View file @
ef6058b3
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/values/colors.xml
View file @
ef6058b3
...
...
@@ -26,5 +26,12 @@
<color
name=
"consultant_colorBg"
>
#f5f5f5
</color>
<color
name=
"color_EB892C"
>
#EB892C
</color>
<color
name=
"color_1AEB892C"
>
#1AEB892C
</color>
<color
name=
"color_1c1f28_60"
>
#a61c1f28
</color>
<color
name=
"color_1c1f28_40"
>
#661c1f28
</color>
<color
name=
"color_ef8a4a"
>
#EF8A4A
</color>
<color
name=
"color_f6f6f7"
>
#f6f6f7
</color>
<color
name=
"color_6ec8f9"
>
#6ec8f9
</color>
<color
name=
"color_b6bece"
>
#B6BECE
</color>
<color
name=
"color_f5a082"
>
#F5A082
</color>
<color
name=
"color_f28e6b"
>
#F28E6B
</color>
</resources>
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