|
@@ -17,102 +17,128 @@
|
|
|
android:background="@color/color_bg"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ <View
|
|
|
android:layout_width="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_marginStart="17dp"
|
|
|
- android:layout_marginEnd="16dp"
|
|
|
- android:layout_marginTop="12dp"
|
|
|
- android:layout_marginBottom="12dp"
|
|
|
- android:paddingStart="12dp"
|
|
|
- android:paddingTop="11dp"
|
|
|
- app:qmui_radius="4dp"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_borderColor="@color/white"
|
|
|
- android:layout_height="80dp">
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="#E3E4E5" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="39dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingStart="6dp"
|
|
|
+ android:paddingEnd="12dp">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:text="共计"
|
|
|
- android:textSize="16sp"
|
|
|
- android:textColor="#3D3F4E"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- tools:text="48"
|
|
|
- android:text="@{vm.info.total}"
|
|
|
- android:textSize="16sp"
|
|
|
- android:textColor="#3D3F4E"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:text="条评论"
|
|
|
- android:textSize="16sp"
|
|
|
- android:textColor="#3D3F4E"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:hint="选择时间"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textColorHint="#95959A"
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="19dp"
|
|
|
+ android:layout_height="19dp"
|
|
|
+ android:layout_marginStart="11dp"
|
|
|
+ android:src="@drawable/ic_account_timeon" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
+ android:id="@+id/refresh_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_marginTop="12dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:text="平均评分"
|
|
|
- android:textSize="14sp"
|
|
|
- android:textColor="#3D3F4E"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
- <ImageView
|
|
|
- android:layout_width="13dp"
|
|
|
- android:layout_height="14dp"
|
|
|
- android:textSize="16sp"
|
|
|
- android:src="@drawable/ic_star_on"
|
|
|
- android:layout_marginStart="5dp"
|
|
|
- />
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- tools:text="4.9分"
|
|
|
- android:text="@{vm.info.avg+@string/branch}"
|
|
|
- android:textSize="12sp"
|
|
|
- android:layout_marginStart="3dp"
|
|
|
- android:textColor="#939393"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/recycler_view"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:paddingBottom="54dp"
|
|
|
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
+ tools:listitem="@layout/item_invoice_list" />
|
|
|
|
|
|
+ </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="54dp"
|
|
|
+ android:layout_gravity="bottom"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="30dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="17dp"
|
|
|
+ android:layout_height="18dp"
|
|
|
+ android:src="@drawable/select_on" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="全选"
|
|
|
+ android:layout_marginStart="3dp"
|
|
|
+ android:textColor="#1C1C1C"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="合计:"
|
|
|
+ android:layout_marginStart="39dp"
|
|
|
+ android:textColor="#1C1C1C"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
- android:id="@+id/refresh_layout"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="¥"
|
|
|
+ android:textColor="#FFBC00"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/recycler_view"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
- tools:listitem="@layout/item_comment_list" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textColor="#FFBC00"
|
|
|
+ android:textSize="20sp"
|
|
|
+ tools:text="70000.00" />
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginEnd="12dp"
|
|
|
+ android:text="申请开票"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="14sp"
|
|
|
+ app:qmui_backgroundColor="#FFBB00"
|
|
|
+ app:qmui_borderColor="#FFBB00"
|
|
|
+ app:qmui_radius="20dp" />
|
|
|
|
|
|
- </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|