Commit edfc8fcf by 刘鹏

feat: 回滚+UI还原

parent a9600f90
...@@ -1485,20 +1485,20 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres ...@@ -1485,20 +1485,20 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
needRefresh = true needRefresh = true
} }
val orderToPayTime = SharedPreferencesEditor.getString("orderToPayTime") // val orderToPayTime = SharedPreferencesEditor.getString("orderToPayTime")
//
var timeLimit = if (TextUtils.isEmpty(orderToPayTime)) { // var timeLimit = if (TextUtils.isEmpty(orderToPayTime)) {
0L // 0L
} else { // } else {
orderToPayTime.toLong() // orderToPayTime.toLong()
} // }
//
//
if (isShow && !(consultSubPayDialog != null && consultSubPayDialog?.isShowing == true)) { // if (isShow && !(consultSubPayDialog != null && consultSubPayDialog?.isShowing == true)) {
if (findRouteService(IUserService::class.java).isLogin() && System.currentTimeMillis() > timeLimit) { // if (findRouteService(IUserService::class.java).isLogin() && System.currentTimeMillis() > timeLimit) {
getPresenter().fetchPromptPayment() // getPresenter().fetchPromptPayment()
} // }
} // }
ActionCountUtils.count(ConsultBIConstants.ConsultEvent.APP_CONSULT_LIST_PAGE_VISIT) ActionCountUtils.count(ConsultBIConstants.ConsultEvent.APP_CONSULT_LIST_PAGE_VISIT)
ActionCountUtils.count("daoyi_advertisement_page|daoyi_advertisement_visit", "6") ActionCountUtils.count("daoyi_advertisement_page|daoyi_advertisement_visit", "6")
......
...@@ -71,13 +71,20 @@ ...@@ -71,13 +71,20 @@
android:layout_marginRight="@dimen/platform_dp_16" android:layout_marginRight="@dimen/platform_dp_16"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageView <androidx.cardview.widget.CardView
android:id="@+id/avaterIv" android:layout_width="wrap_content"
android:layout_width="41dp" android:layout_height="wrap_content"
android:layout_height="41dp"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/platform_dp_12" android:layout_marginLeft="@dimen/platform_dp_12"
android:layout_marginRight="@dimen/platform_dp_8"/> android:layout_marginRight="@dimen/platform_dp_8"
app:cardCornerRadius="4dp">
<ImageView
android:id="@+id/avaterIv"
android:layout_width="40dp"
android:layout_height="40dp"
android:scaleType="centerCrop" />
</androidx.cardview.widget.CardView>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
......
...@@ -481,7 +481,7 @@ public class SessionHelper { ...@@ -481,7 +481,7 @@ public class SessionHelper {
NimUIKit.registerMsgItemViewHolder(CustomAttachLingxiAnswerQuestion.class, MsgViewHolderLingxiAnswerQuestion.class);//灵犀2.0-回答问题 NimUIKit.registerMsgItemViewHolder(CustomAttachLingxiAnswerQuestion.class, MsgViewHolderLingxiAnswerQuestion.class);//灵犀2.0-回答问题
NimUIKit.registerMsgItemViewHolder(CustomAttachLingxiFirstQuestion.class, MsgViewHolderLingxiFirstQuestion.class);//灵犀2.0-首问语 NimUIKit.registerMsgItemViewHolder(CustomAttachLingxiFirstQuestion.class, MsgViewHolderLingxiFirstQuestion.class);//灵犀2.0-首问语
NimUIKit.registerMsgItemViewHolder(CustomAttachLingXiJumpConfideList.class, MsgViewHolderLingXiJumpConfideList.class);//灵犀2.0-倾诉列表 NimUIKit.registerMsgItemViewHolder(CustomAttachLingXiJumpConfideList.class, MsgViewHolderLingXiJumpConfideList.class);//灵犀2.0-倾诉列表
NimUIKit.registerMsgItemViewHolder(CustomAttachConsultSubScriptPayment.class, MsgViewHolderConsultSubScribePayment.class);//咨询预约支付 // NimUIKit.registerMsgItemViewHolder(CustomAttachConsultSubScriptPayment.class, MsgViewHolderConsultSubScribePayment.class);//咨询预约支付
} }
......
...@@ -158,9 +158,9 @@ public class CustomAttachParser implements MsgAttachmentParser { ...@@ -158,9 +158,9 @@ public class CustomAttachParser implements MsgAttachmentParser {
case CustomAttachmentType.TYPE_LINGXI_FIRST_QUESTION: //首问语 case CustomAttachmentType.TYPE_LINGXI_FIRST_QUESTION: //首问语
attachment = new CustomAttachLingxiFirstQuestion(); attachment = new CustomAttachLingxiFirstQuestion();
break; break;
case CustomAttachmentType.TYPE_CONSULT_SUBSCRIBE_PAY: // case CustomAttachmentType.TYPE_CONSULT_SUBSCRIBE_PAY:
attachment = new CustomAttachConsultSubScriptPayment(); // attachment = new CustomAttachConsultSubScriptPayment();
break; // break;
default: default:
attachment = new DefaultCustomAttachment(); attachment = new DefaultCustomAttachment();
break; break;
......
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