|
@@ -25,7 +25,7 @@
|
|
|
android:layout_height="0dp"
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
- <com.zswc.creativity.view.MyScrollView
|
|
|
+ <androidx.core.widget.NestedScrollView
|
|
|
android:id="@+id/scroll"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
@@ -192,10 +192,10 @@
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
<ImageView
|
|
|
- android:onClick="@{v->vm.toCopy()}"
|
|
|
android:layout_width="17dp"
|
|
|
android:layout_height="17dp"
|
|
|
android:layout_marginEnd="14dp"
|
|
|
+ android:onClick="@{v->vm.toCopy()}"
|
|
|
android:src="@drawable/ct_copy" />
|
|
|
|
|
|
|
|
@@ -227,11 +227,11 @@
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="14dp"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ >
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
@@ -241,7 +241,7 @@
|
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
tools:listitem="@layout/item_images" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
@@ -451,8 +451,9 @@
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_show_one"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -465,6 +466,7 @@
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -497,19 +499,18 @@
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
-
|
|
|
</FrameLayout>
|
|
|
|
|
|
- </com.zswc.creativity.view.MyScrollView>
|
|
|
+ </androidx.core.widget.NestedScrollView>
|
|
|
<!-- 滑动时候显示的 -->
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_show_two"
|
|
|
android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:orientation="vertical"
|
|
|
- android:visibility="gone"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
@@ -529,8 +530,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="horizontal"
|
|
|
android:paddingTop="10dp"
|
|
|
- android:paddingBottom="10dp"
|
|
|
- >
|
|
|
+ android:paddingBottom="10dp">
|
|
|
|
|
|
<ImageView
|
|
|
android:layout_width="38dp"
|
|
@@ -562,7 +562,6 @@
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
-
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
@@ -627,50 +626,109 @@
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="48dp"
|
|
|
- android:layout_marginBottom="10dp"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:visibility="@{vm.data.state==2?View.VISIBLE:View.GONE}"
|
|
|
- tools:visibility="visible">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:visibility="@{vm.data.state==2?View.VISIBLE:View.GONE}">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginStart="16dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:text="@{`¥`+vm.data.price}"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="30sp" />
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="180dp"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:layout_marginEnd="25dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical"
|
|
|
- app:qmui_backgroundColor="#38D3D3"
|
|
|
- app:qmui_borderColor="@color/translucent"
|
|
|
- app:qmui_radius="4dp">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="@{vm.isRemind?View.GONE:View.VISIBLE}"
|
|
|
+ tools:visibility="visible">
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="设置购买提醒"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="16sp" />
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@{`¥`+vm.data.price}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="30sp" />
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:id="@+id/ll_set_time"
|
|
|
+ android:layout_width="180dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:layout_marginEnd="25dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:qmui_backgroundColor="#38D3D3"
|
|
|
+ app:qmui_borderColor="@color/translucent"
|
|
|
+ app:qmui_radius="4dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="设置购买提醒"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@{vm.data.sellTime}"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="12sp" />
|
|
|
+
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="@{vm.isRemind?View.VISIBLE:View.GONE}"
|
|
|
+ tools:visibility="visible">
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="12:13:18"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@{`¥`+vm.data.price}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="30sp" />
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="180dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:layout_marginEnd="25dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:qmui_backgroundColor="#C4C1C4"
|
|
|
+ app:qmui_borderColor="@color/translucent"
|
|
|
+ app:qmui_radius="4dp">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="已设置购买提醒"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@{vm.data.sellTime}"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|