Browse Source

电费充值记录显示优化。

程志平 4 years ago
parent
commit
a68d73b4c1
2 changed files with 31 additions and 3 deletions
  1. 21 1
      pages/show/show.css
  2. 10 2
      pages/show/show.vue

+ 21 - 1
pages/show/show.css

@@ -130,7 +130,8 @@ page {
 .item-list-left {
 .item-list-left {
 	display: flex;
 	display: flex;
 	justify-content: space-around;
 	justify-content: space-around;
-	width: 425upx;
+	align-items: center;
+	width: 510upx;
 }
 }
 
 
 .item-list-txt {
 .item-list-txt {
@@ -138,6 +139,25 @@ page {
 	color: #333333;
 	color: #333333;
 }
 }
 
 
+.info-txt {
+	display: flex;
+	flex-direction: column;
+	justify-content: space-around;
+	width: 320upx;
+}
+
+.up-txt {
+	display: flex;
+	justify-content: space-around;
+	align-items: center;
+}
+
+.bottom-txt {
+	display: flex;
+	justify-content: center;
+	align-items: center;
+}
+
 .show-money {
 .show-money {
 	margin-right: 10upx;
 	margin-right: 10upx;
 	color: #F76200;
 	color: #F76200;

+ 10 - 2
pages/show/show.vue

@@ -36,7 +36,15 @@
 					<view class="item-list" v-for="(item, i) in list" :key="i">
 					<view class="item-list" v-for="(item, i) in list" :key="i">
 						<view class="item-list-left">
 						<view class="item-list-left">
 							<text class="item-list-txt">{{item.user_name}}</text>
 							<text class="item-list-txt">{{item.user_name}}</text>
-							<text class="item-list-txt">{{item.re_time}}</text>
+							<view class="info-txt">
+								<view class="up-txt">
+									<text class="item-list-txt">{{item.school}}</text>
+									<text class="item-list-txt">{{item.room}}</text>
+								</view>
+								<view class="bottom-txt">
+									<text class="item-list-txt">{{item.re_time}}</text>
+								</view>
+							</view>
 						</view>
 						</view>
 						<text class="item-list-txt show-money">{{item.account}}</text>
 						<text class="item-list-txt show-money">{{item.account}}</text>
 					</view>
 					</view>
@@ -162,7 +170,7 @@
 									this.changeDate = false
 									this.changeDate = false
 								}
 								}
 							});
 							});
-							
+
 							this.list = []
 							this.list = []
 						}
 						}
 					} else {
 					} else {