Commit 7e6a3f5e by 刘鹏

feat : 信息收集卡UI 逻辑完成

parent c40666c1
......@@ -5,12 +5,12 @@ ext {
ydlPublishVersion = [
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.49.36",
"m-confide" : "0.0.49.37",
"m-consultant" : "0.0.60.03",
"m-fm" : "0.0.30.04",
"m-user" : "0.0.61.94",
"m-home" : "0.0.22.84",
"m-im" : "0.0.20.93",
"m-im" : "0.0.20.99",
"m-dynamic" : "0.0.7.35",
"m-article" : "0.0.0.10",
......@@ -39,7 +39,7 @@ ext {
"ydl-webview" : "0.0.38.47",
"ydl-media" : "0.0.21.42",
"ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.29.57",
"m-audioim" : "0.0.49.29.58",
"ydl-flutter-base": "0.0.14.38",
//以下 几乎不会动
......@@ -88,12 +88,12 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.49.36",
"m-confide" : "0.0.49.37",
"m-consultant" : "0.0.60.03",
"m-fm" : "0.0.30.07",
"m-user" : "0.0.61.94",
"m-home" : "0.0.22.83",
"m-im" : "0.0.20.93",
"m-im" : "0.0.20.99",
"m-dynamic" : "0.0.7.35",
"m-article" : "0.0.0.8",
......@@ -121,7 +121,7 @@ ext {
"ydl-webview" : "0.0.38.47",
"ydl-media" : "0.0.21.42",
"ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.29.57",
"m-audioim" : "0.0.49.29.58",
"ydl-flutter-base": "0.0.14.38",
//以下 几乎不会动
......
......@@ -533,7 +533,7 @@ class AudioHomeActivity :
}
private fun initView() {
callEventSave("30", "通话页面打开")
callEventSave("20", "通话页面打开")
writeAgoraLog("用户拨打电话界面开启")
AliYunRichLogsHelper.getInstance()
.sendRichLog(AliYunLogConfig.AGORA, "用户拨打电话界面开启")
......
......@@ -419,6 +419,7 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
} else {
//没有下一题了,跳转按钮展示
tv_finish.visibility = View.VISIBLE
tv_skip.visibility = View.GONE
}
mQuestionAdapter.notifyDataSetChanged()
recycle.scrollToPosition(mData.size - 1)
......@@ -587,8 +588,13 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
) {
val questionsBean = mQuestionBean!!.questionPaper.questions[questionChain.questionId]
questionMultiItem2.questionsBean = questionsBean
if ("radio" == questionsBean?.type) {
questionMultiItem2.viewType = 3
if (RADIO_KEY == questionsBean?.type) {
if(!questionsBean.image.isNullOrEmpty()||!questionsBean.url.isNullOrEmpty()){
tv_skip.visibility = View.GONE
questionMultiItem2.viewType = 7
}else{
questionMultiItem2.viewType = 3
}
} else {
questionMultiItem2.viewType = 4
questionMultiItem2.type4CanClick = true
......
......@@ -116,7 +116,7 @@ public class QuestionAdapter extends BaseMultiItemQuickAdapter<QuestionMultiItem
jumpUrlView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
ActionCountUtils.Companion.count("daoyi_consult_assess_page|leave_click");
ActionCountUtils.Companion.count("daoyi_consult_assess_page|leave_click",item.questionsBean.questionPaperId);
NewH5Activity.start(mContext,new H5Params(item.questionsBean.url, ""));
}
});
......
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#e8f5fe" />
<corners
android:radius="@dimen/platform_dp_18"/>
<solid android:color="@color/white" />
<corners android:radius="@dimen/platform_dp_18" />
<stroke
android:width="1px"
android:color="@color/platform_color_1DA1F2" />
</shape>
......@@ -51,6 +51,7 @@
android:layout_marginTop="12dp" />
<LinearLayout
android:layout_marginTop="12dp"
android:id="@+id/jump_url"
android:layout_width="match_parent"
android:layout_height="32dp"
......
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