|
@@ -20,465 +20,549 @@
|
|
|
android:background="@color/white"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:paddingBottom="10dp">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:onClick="@{v->vm.toClose()}"
|
|
|
- android:layout_width="38dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:paddingLeft="20dp"
|
|
|
- android:src="@drawable/ic_back_black" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="14dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center_horizontal"
|
|
|
- android:text="臧品详情"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="18sp"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/img_share"
|
|
|
- android:layout_width="28dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_marginEnd="16dp"
|
|
|
- android:src="@drawable/ct_share" />
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <androidx.core.widget.NestedScrollView
|
|
|
+ <FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:scrollbars="none">
|
|
|
-
|
|
|
+ android:layout_weight="1">
|
|
|
|
|
|
- <FrameLayout
|
|
|
+ <com.zswc.creativity.view.MyScrollView
|
|
|
+ android:id="@+id/scroll"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:scrollbars="none">
|
|
|
+
|
|
|
|
|
|
<FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
-
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/image_gif_view"
|
|
|
+ <FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="360dp"
|
|
|
- android:src="@drawable/bg_need_error" />
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/image_view"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="360dp"
|
|
|
- android:scaleType="centerCrop"
|
|
|
- android:background="@drawable/bg_need_error"
|
|
|
- />
|
|
|
|
|
|
- </FrameLayout>
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/image_gif_view"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="360dp"
|
|
|
+ android:src="@drawable/bg_need_error" />
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="336dp"
|
|
|
- android:orientation="vertical"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_borderColor="@color/translucent"
|
|
|
- app:qmui_radius="16dp">
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/image_view"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="360dp"
|
|
|
+ android:background="@drawable/bg_need_error"
|
|
|
+ android:scaleType="centerCrop" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:text="@{vm.data.name}"
|
|
|
- android:textColor="#141414"
|
|
|
- android:textSize="22sp"
|
|
|
- android:textStyle="bold" />
|
|
|
+ </FrameLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
- android:layout_marginTop="5dp">
|
|
|
+ android:layout_marginTop="336dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_borderColor="@color/translucent"
|
|
|
+ app:qmui_radius="16dp">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:background="#38D3D3"
|
|
|
- android:paddingStart="9dp"
|
|
|
- android:paddingTop="2dp"
|
|
|
- android:paddingEnd="9dp"
|
|
|
- android:paddingBottom="2dp"
|
|
|
- android:text="限量"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/dp_11" />
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:text="@{vm.data.name}"
|
|
|
+ android:textColor="#141414"
|
|
|
+ android:textSize="22sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:background="@drawable/bg_kuang_blue"
|
|
|
- android:hint="100份"
|
|
|
- android:paddingStart="9dp"
|
|
|
- android:paddingTop="2dp"
|
|
|
- android:paddingEnd="9dp"
|
|
|
- android:paddingBottom="2dp"
|
|
|
- android:text="@{vm.data.inventory+`份`}"
|
|
|
- android:textColor="#54D7E9"
|
|
|
- android:textColorHint="#54D7E9"
|
|
|
- android:textSize="@dimen/dp_11" />
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginTop="5dp">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="#38D3D3"
|
|
|
+ android:paddingStart="9dp"
|
|
|
+ android:paddingTop="2dp"
|
|
|
+ android:paddingEnd="9dp"
|
|
|
+ android:paddingBottom="2dp"
|
|
|
+ android:text="限量"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/dp_11" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="15dp"
|
|
|
- android:layout_marginTop="11dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/bg_kuang_blue"
|
|
|
+ android:hint="100份"
|
|
|
+ android:paddingStart="9dp"
|
|
|
+ android:paddingTop="2dp"
|
|
|
+ android:paddingEnd="9dp"
|
|
|
+ android:paddingBottom="2dp"
|
|
|
+ android:text="@{vm.data.inventory+`份`}"
|
|
|
+ android:textColor="#54D7E9"
|
|
|
+ android:textColorHint="#54D7E9"
|
|
|
+ android:textSize="@dimen/dp_11" />
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="4dp"
|
|
|
- android:layout_height="14dp"
|
|
|
- android:background="@drawable/bg_chose_line" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="4dp"
|
|
|
- android:text="认证信息"
|
|
|
- android:textColor="#222222"
|
|
|
- android:textSize="16sp"
|
|
|
- android:textStyle="bold" />
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
+ android:layout_marginTop="11dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <View
|
|
|
+ android:layout_width="4dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:background="@drawable/bg_chose_line" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ android:text="认证信息"
|
|
|
+ android:textColor="#222222"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="15dp"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="区块链"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="12sp" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="14dp"
|
|
|
- android:gravity="right"
|
|
|
- android:text="蚂蚁链LASH"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="区块链"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="蚂蚁链LASH"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="15dp"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:visibility="gone"
|
|
|
- tools:visibility="visible">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="合约地址"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="12sp" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="12dp"
|
|
|
- android:layout_marginEnd="6dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="right"
|
|
|
- android:text="蚂蚁链LASH"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:visibility="visible">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="17dp"
|
|
|
- android:layout_height="17dp"
|
|
|
- android:layout_marginEnd="14dp"
|
|
|
- android:src="@drawable/ct_copy" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="合约地址"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
+ android:layout_marginEnd="6dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="蚂蚁链LASH"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="17dp"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:src="@drawable/ct_copy" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="15dp"
|
|
|
- android:layout_marginTop="11dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="4dp"
|
|
|
- android:layout_height="14dp"
|
|
|
- android:background="@drawable/bg_chose_line" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="4dp"
|
|
|
- android:text="藏品描述"
|
|
|
- android:textColor="#222222"
|
|
|
- android:textSize="16sp"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
+ android:layout_marginTop="11dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <View
|
|
|
+ android:layout_width="4dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:background="@drawable/bg_chose_line" />
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.QMUIRadiusImageView
|
|
|
- android:id="@+id/img_deatils"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="15dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_marginEnd="15dp"
|
|
|
- android:src="@drawable/bg_need_error"
|
|
|
- app:qmui_border_color="@color/translucent" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ android:text="藏品描述"
|
|
|
+ android:textColor="#222222"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="15dp"
|
|
|
- android:layout_marginTop="14dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="发行方"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="13sp" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:id="@+id/img_deatils"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="14dp"
|
|
|
- android:gravity="right"
|
|
|
- android:text="@{vm.data.issuer}"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="13sp" />
|
|
|
-
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginEnd="15dp"
|
|
|
+ android:adjustViewBounds="true"
|
|
|
+ android:scaleType="fitXY"
|
|
|
+ android:src="@drawable/bg_need_error" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="15dp"
|
|
|
- android:layout_marginTop="14dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="发行时间"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="13sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="14dp"
|
|
|
- android:gravity="right"
|
|
|
- android:text="@{vm.data.sell_time}"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="13sp" />
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="发行方"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="13sp" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.data.issuer}"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="13sp" />
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingStart="10dp"
|
|
|
- android:paddingTop="10dp"
|
|
|
- android:paddingEnd="10dp"
|
|
|
- android:paddingBottom="6dp"
|
|
|
- app:qmui_backgroundColor="#F1F9F9"
|
|
|
- app:qmui_borderColor="@color/translucent"
|
|
|
- app:qmui_radius="8dp">
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="4dp"
|
|
|
- android:layout_height="14dp"
|
|
|
- android:background="@drawable/bg_chose_line" />
|
|
|
-
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="4dp"
|
|
|
- android:text="藏品简介"
|
|
|
- android:textColor="#222222"
|
|
|
- android:textSize="16sp"
|
|
|
- android:textStyle="bold" />
|
|
|
+ android:text="发行时间"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="13sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.data.sell_time}"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="6dp"
|
|
|
- android:text="@{vm.data.instructions}"
|
|
|
- android:textColor="#B5B5B5"
|
|
|
- android:textSize="11sp" />
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="10dp"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:paddingEnd="10dp"
|
|
|
+ android:paddingBottom="6dp"
|
|
|
+ app:qmui_backgroundColor="#F1F9F9"
|
|
|
+ app:qmui_borderColor="@color/translucent"
|
|
|
+ app:qmui_radius="8dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <View
|
|
|
+ android:layout_width="4dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:background="@drawable/bg_chose_line" />
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ android:text="藏品简介"
|
|
|
+ android:textColor="#222222"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingStart="10dp"
|
|
|
- android:paddingTop="10dp"
|
|
|
- android:paddingEnd="10dp"
|
|
|
- android:paddingBottom="6dp"
|
|
|
- app:qmui_backgroundColor="#F1F9F9"
|
|
|
- app:qmui_borderColor="@color/translucent"
|
|
|
- app:qmui_radius="8dp">
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ android:text="@{vm.data.instructions}"
|
|
|
+ android:textColor="#B5B5B5"
|
|
|
+ android:textSize="11sp" />
|
|
|
+
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="10dp"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:paddingEnd="10dp"
|
|
|
+ android:paddingBottom="6dp"
|
|
|
+ app:qmui_backgroundColor="#F1F9F9"
|
|
|
+ app:qmui_borderColor="@color/translucent"
|
|
|
+ app:qmui_radius="8dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="4dp"
|
|
|
- android:layout_height="14dp"
|
|
|
- android:background="@drawable/bg_chose_line" />
|
|
|
+ <View
|
|
|
+ android:layout_width="4dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:background="@drawable/bg_chose_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ android:text="购买须知"
|
|
|
+ android:textColor="#222222"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="4dp"
|
|
|
- android:text="购买须知"
|
|
|
- android:textColor="#222222"
|
|
|
- android:textSize="16sp"
|
|
|
- android:textStyle="bold" />
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ android:text="@{vm.data.buy_notice}"
|
|
|
+ android:textColor="#B5B5B5"
|
|
|
+ android:textSize="11sp" />
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="6dp"
|
|
|
- android:text="@{vm.data.buy_notice}"
|
|
|
- android:textColor="#B5B5B5"
|
|
|
- android:textSize="11sp" />
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="10dp"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:paddingEnd="10dp"
|
|
|
+ android:paddingBottom="6dp"
|
|
|
+ app:qmui_backgroundColor="#F1F9F9"
|
|
|
+ app:qmui_borderColor="@color/translucent"
|
|
|
+ app:qmui_radius="8dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <View
|
|
|
+ android:layout_width="4dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:background="@drawable/bg_chose_line" />
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ android:text="温馨提示"
|
|
|
+ android:textColor="#222222"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ android:text="@{vm.data.warm_prompt}"
|
|
|
+ android:textColor="#B5B5B5"
|
|
|
+
|
|
|
+ android:textSize="11sp" />
|
|
|
+
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_20" />
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_show_one"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
android:orientation="vertical"
|
|
|
- android:paddingStart="10dp"
|
|
|
- android:paddingTop="10dp"
|
|
|
- android:paddingEnd="10dp"
|
|
|
- android:paddingBottom="6dp"
|
|
|
- app:qmui_backgroundColor="#F1F9F9"
|
|
|
- app:qmui_borderColor="@color/translucent"
|
|
|
- app:qmui_radius="8dp">
|
|
|
-
|
|
|
+ android:layout_height="wrap_content">
|
|
|
<LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="4dp"
|
|
|
- android:layout_height="14dp"
|
|
|
- android:background="@drawable/bg_chose_line" />
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<TextView
|
|
|
+ android:id="@+id/tv"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="4dp"
|
|
|
- android:text="温馨提示"
|
|
|
- android:textColor="#222222"
|
|
|
- android:textSize="16sp"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
-
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="6dp"
|
|
|
- android:text="@{vm.data.warm_prompt}"
|
|
|
- android:textColor="#B5B5B5"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:paddingBottom="10dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="28dp"
|
|
|
+ android:layout_height="28dp"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:onClick="@{v->vm.toClose()}"
|
|
|
+ android:src="@drawable/ct_tib_back" />
|
|
|
|
|
|
- android:textSize="11sp" />
|
|
|
+ <View
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1" />
|
|
|
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/img_share_to"
|
|
|
+ android:layout_width="28dp"
|
|
|
+ android:layout_height="28dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:src="@drawable/ct_tib_share" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/dp_20" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ </com.zswc.creativity.view.MyScrollView>
|
|
|
+ <!-- 滑动时候显示的 -->
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_show_two"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_two"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:paddingBottom="10dp"
|
|
|
+ >
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="38dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:onClick="@{v->vm.toClose()}"
|
|
|
+ android:paddingLeft="20dp"
|
|
|
+ android:src="@drawable/ic_back_black" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_show_title"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:text="臧品详情"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/img_share"
|
|
|
+ android:layout_width="28dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:src="@drawable/ct_share" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
- </FrameLayout>
|
|
|
|
|
|
- </androidx.core.widget.NestedScrollView>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
|
|
|
<!-- 已售罄-->
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="60dp"
|
|
|
- android:visibility="@{vm.data.state==3?View.VISIBLE:View.GONE}"
|
|
|
- android:gravity="center_vertical">
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:visibility="@{vm.data.state==3?View.VISIBLE:View.GONE}">
|
|
|
|
|
|
<com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
android:layout_width="match_parent"
|
|
@@ -535,8 +619,8 @@
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="48dp"
|
|
|
- android:orientation="horizontal"
|
|
|
android:layout_marginBottom="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
android:visibility="@{vm.data.state==2?View.VISIBLE:View.GONE}"
|
|
|
tools:visibility="visible">
|
|
|
|
|
@@ -552,37 +636,35 @@
|
|
|
|
|
|
<com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="180dp"
|
|
|
- android:orientation="vertical"
|
|
|
+ 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"
|
|
|
- android:gravity="center"
|
|
|
- android:layout_height="40dp">
|
|
|
+ app:qmui_radius="4dp">
|
|
|
|
|
|
<TextView
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="16sp"
|
|
|
+ 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"/>
|
|
|
- <TextView
|
|
|
- android:text="12:13:18"
|
|
|
- android:textSize="12sp"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="12:13:18"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
</com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
-
|
|
|
</LinearLayout>
|
|
|
</layout>
|