Commit 25e85cf4 authored by yinjiacheng's avatar yinjiacheng

add 订单详情跳转活动详情页逻辑

parent 4f4d4a0a
...@@ -58,4 +58,11 @@ class OrderCommodityInfoViewModel : BaseViewModel() { ...@@ -58,4 +58,11 @@ class OrderCommodityInfoViewModel : BaseViewModel() {
}, hashMapOf("order_id" to orderId, "business_from" to "2")) }, hashMapOf("order_id" to orderId, "business_from" to "2"))
} }
/**
* 跳转活动详情页
*/
fun gotoActivityDetail() {
// TODO: 2021/8/24 跳转H5活动详情
}
} }
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
android:id="@+id/tv_activity_title" android:id="@+id/tv_activity_title"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:onClick="@{() -> vm.gotoActivityDetail()}"
android:text="@{data.marketingName}" android:text="@{data.marketingName}"
android:textColor="@color/color_333333" android:textColor="@color/color_333333"
android:textSize="@dimen/sp16" android:textSize="@dimen/sp16"
......
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