|
@@ -361,8 +361,7 @@
|
|
|
android:layout_marginTop="14dp"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal"
|
|
|
- android:visibility="gone"
|
|
|
- tools:visibility="visible">
|
|
|
+ >
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
@@ -954,40 +953,145 @@
|
|
|
</LinearLayout>
|
|
|
|
|
|
<!-- 未开始-->
|
|
|
+
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="81dp"
|
|
|
+ android:orientation="vertical"
|
|
|
android:visibility="@{vm.isShowStart(vm.data.apply_st,vm.data.sell_time)}"
|
|
|
- android:orientation="horizontal"
|
|
|
- >
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="14dp"
|
|
|
- android:layout_marginStart="16dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:text="@{`¥`+vm.data.price}"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="30sp" />
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="91dp"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:visibility="@{vm.is_remind?View.GONE:View.VISIBLE}"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ tools:visibility="visible">
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
- android:layout_width="180dp"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_marginStart="25dp"
|
|
|
- android:layout_marginEnd="25dp"
|
|
|
- android:layout_marginTop="6dp"
|
|
|
- android:text="未开始"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="16sp"
|
|
|
- app:qmui_backgroundColor="#666666"
|
|
|
- app:qmui_borderColor="@color/translucent"
|
|
|
- app:qmui_radius="14dp" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@{`¥`+vm.data.price}"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="30sp" />
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="180dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:layout_marginEnd="25dp"
|
|
|
+ android:onClick="@{v->vm.toBuyTime()}"
|
|
|
+ android:background="@drawable/bg_logo_but"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="设置购买提醒"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@{vm.data.sell_time}"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:textSize="12sp" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="91dp"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="@{vm.is_remind?View.VISIBLE:View.GONE}"
|
|
|
+ >
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@{`¥`+vm.data.price}"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="30sp" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="180dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:layout_marginEnd="25dp"
|
|
|
+ android:onClick="@{v->vm.toBuyTime()}"
|
|
|
+ android:background="@drawable/bg_logo_but_on"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="设置购买提醒"
|
|
|
+ android:textColor="#DFDFDF"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@{vm.data.sell_time}"
|
|
|
+ android:textColor="#DFDFDF"
|
|
|
+ android:textSize="12sp" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+<!-- <LinearLayout-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="81dp"-->
|
|
|
+<!-- android:visibility="@{vm.isShowStart(vm.data.apply_st,vm.data.sell_time)}"-->
|
|
|
+<!-- android:orientation="horizontal"-->
|
|
|
+<!-- >-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="0dp"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_marginTop="14dp"-->
|
|
|
+<!-- android:layout_marginStart="16dp"-->
|
|
|
+<!-- android:layout_weight="1"-->
|
|
|
+<!-- android:text="@{`¥`+vm.data.price}"-->
|
|
|
+<!-- android:textColor="@color/white"-->
|
|
|
+<!-- android:textSize="30sp" />-->
|
|
|
+
|
|
|
+
|
|
|
+<!-- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton-->
|
|
|
+<!-- android:layout_width="180dp"-->
|
|
|
+<!-- android:layout_height="40dp"-->
|
|
|
+<!-- android:layout_marginStart="25dp"-->
|
|
|
+<!-- android:layout_marginEnd="25dp"-->
|
|
|
+<!-- android:layout_marginTop="6dp"-->
|
|
|
+<!-- android:text="未开始"-->
|
|
|
+<!-- android:textColor="@color/white"-->
|
|
|
+<!-- android:textSize="16sp"-->
|
|
|
+<!-- app:qmui_backgroundColor="#666666"-->
|
|
|
+<!-- app:qmui_borderColor="@color/translucent"-->
|
|
|
+<!-- app:qmui_radius="14dp" />-->
|
|
|
+
|
|
|
+<!-- </LinearLayout>-->
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
<!-- 去支付-->
|