Commit 2f12450b by 严久程

导医入口紧急修改

parent fc454a68
......@@ -6,10 +6,10 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.48.74",
"m-consultant" : "0.0.59.31",
"m-consultant" : "0.0.59.34",
"m-fm" : "0.0.30.00",
"m-user" : "0.0.60.23",
"m-home" : "0.0.22.30",
"m-home" : "0.0.22.31",
"m-im" : "0.0.18.15",
"m-dynamic" : "0.0.7.13",
"m-article" : "0.0.0.6",
......
......@@ -16,7 +16,7 @@ class ConsultBIConstants {
const val POSITION_OTHER_CHOICE_CLICK = "other_choice_click" //其他选择
const val POSITION_CONSULT_FILTER_RESET_CLICK = "consult_filter_reset_click" //重置
const val POSITION_CONSULT_FILTER_CHECKOUT_CLICK = "consult_filter_checkoutallconsultants_click" //查看XXX位咨询师
const val POSITION_DAOYI_ADVERTISEMENT_CLICK="daoyi_advertisement_click"
const val POSITION_DAOYI_ADVERTISEMENT_CLICK="daoyi_advertisement_page|daoyi_advertisement_click"
}
//====================APP咨询列表页(app_consult_list_page)====================
......
......@@ -61,7 +61,7 @@ class ConsultAssistantDialog(
// ConsultAssistantDialogUtils.INSTANCE.ASSISTANT_DIALOG_SP_TAG,
// System.currentTimeMillis().toString()
// )
ConsultAssistantDialogUtils.INSTANCE.isSHowDesc = false
ConsultAssistantDialogUtils.isSHowDesc = false
animate = ObjectAnimator.ofFloat(
consultant_assistant_dialog_desc_ll,
"translationX",
......
......@@ -25,6 +25,7 @@ class ConsultAssistantDialogUtils private constructor() {
companion object {
val INSTANCE by lazy { ConsultAssistantDialogUtils() }
var isSHowDesc=true
}
var consultAssistantDialogFromHomePage: ConsultAssistantDialog? = null // 首页展示的dialog
......@@ -35,7 +36,7 @@ class ConsultAssistantDialogUtils private constructor() {
var expertSearchActivityPageHasShown: Boolean = false // 专家咨询列表activity页面是否已经展示
// var ASSISTANT_DIALOG_SP_TAG = "assistant_dialog_sp_tag" // 是否展示左侧文本的缓存key
var minWidth = 0 // 最小宽度
var isSHowDesc=true
/**
......@@ -110,7 +111,7 @@ class ConsultAssistantDialogUtils private constructor() {
//获取用户uid
ActionCountUtils.count("main_page|main_daoyi_entry_click")
YdlBuryPointUtil.sendClick("home_page_assistant_click")
ActionCountUtils.count("daoyi_advertisement_click", "1")
ActionCountUtils.count(ConsultBIConstants.POSITION_DAOYI_ADVERTISEMENT_CLICK, "1")
getConsultAssistantUid(activity,1)
}
......@@ -143,7 +144,7 @@ class ConsultAssistantDialogUtils private constructor() {
object : ConsultAssistantDialog.OnConsultAssistantClickListener {
override fun onClickAction() {
//获取用户uid
ActionCountUtils.count("daoyi_advertisement_click", "4")
ActionCountUtils.count(ConsultBIConstants.POSITION_DAOYI_ADVERTISEMENT_CLICK, "4")
getConsultAssistantUid(activity,4)
}
......@@ -197,7 +198,7 @@ class ConsultAssistantDialogUtils private constructor() {
activity,
object : ConsultAssistantDialog.OnConsultAssistantClickListener {
override fun onClickAction() {
ActionCountUtils.count("daoyi_advertisement_click", "6")
ActionCountUtils.count(ConsultBIConstants.POSITION_DAOYI_ADVERTISEMENT_CLICK, "6")
ActionCountUtils.count("app_consult_list_page|app_consult_list_daoyi_entry_click")
YdlBuryPointUtil.sendClick("assistant_list_click")
// 咨询师列表页面且未登录情况下,跳转登录页面
......
package com.yidianling.home.ui.view
import android.app.Activity
import android.content.Context
import android.text.TextUtils
import android.view.View
......@@ -7,9 +8,11 @@ import android.view.ViewGroup
import android.widget.FrameLayout
import com.ydl.ydl_image.config.SimpleImageOpConfiger
import com.ydl.ydl_image.manager.YDLImageCacheManager
import com.ydl.ydlcommon.modular.ModularServiceManager
import com.ydl.ydlcommon.utils.StringUtils
import com.ydl.ydlcommon.utils.URLUtils
import com.yidianling.common.tools.RxImageTool
import com.yidianling.consultant.api.IConsultantService
import com.yidianling.home.R
import com.yidianling.home.event.IHomeBaseEvent
import com.yidianling.home.model.bean.HomeConsultBean
......@@ -58,8 +61,13 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
//设置红包、原价
setPrice(bean)
this.setOnClickListener {
val url = URLUtils.appendParmas(bean.linkUrl,"cateId",cateId)
homeEvent!!.consultItemClick(url,bean.doctorId)
// val url = URLUtils.appendParmas(bean.linkUrl,"cateId",cateId)
// homeEvent!!.consultItemClick(url,bean.doctorId)
ModularServiceManager.provide(IConsultantService::class.java).jumpConsultAssistant(
mContext as Activity,
11
)
}
}
......@@ -113,7 +121,11 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
*/
private fun setConfideButton(bodyBean: HomeConsultBean.ListBean) {
tv_consult_chat.setOnClickListener {
homeEvent!!.consultChatClick(bodyBean.uid.toString())
// homeEvent!!.consultChatClick(bodyBean.uid.toString())
ModularServiceManager.provide(IConsultantService::class.java).jumpConsultAssistant(
mContext as Activity,
11
)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment