张文飞 3 年之前
父節點
當前提交
ba6927fa5d
共有 1 個文件被更改,包括 20 次插入11 次删除
  1. 20 11
      components/subComponents/dmWithDrawalRecord.vue

+ 20 - 11
components/subComponents/dmWithDrawalRecord.vue

@@ -28,15 +28,20 @@
 					 	<view class="withDrawal_item">
 					 		{{item.applyTime}}
 					 	</view>
-					 	<view class="withDrawal_item_success" v-if="item.cashStatus==1">
-					 		成功
-					 	</view>
-					 	<view class="withDrawal_item_failure" v-if="item.cashStatus==2">
-					 		失败
-					 	</view>
-					 	<view class="withDrawal_item_confirmed"  v-if="item.cashStatus==3">
-					 		待确认
-					 	</view>
+						<view class="withDrawal_item" v-if="item.cashStatus">
+							<view class="withDrawal_item_success" v-if="item.cashStatus==1">
+								成功
+							</view>
+							<view class="withDrawal_item_failure" v-if="item.cashStatus==2">
+								失败
+							</view>
+							<view class="withDrawal_item_confirmed"  v-if="item.cashStatus==3">
+								待确认
+							</view>
+						</view>
+						<view class="withDrawal_item" v-else>
+	
+						</view>
 					 	<view class="withDrawal_item">
 					 		{{item.cashTime}}
 					 	</view>
@@ -73,6 +78,8 @@
 		},
 		methods:{
 			show() {
+				this.pageNo=1;
+				this.getRecordList();
 				this.$refs.popView.show()
 			},
 			knowAction(){
@@ -105,8 +112,7 @@
 			}
 		},
 		mounted() {
-			this.pageNo=1;
-			this.getRecordList();
+			
 		},
 		components:{
 			dmDialog
@@ -178,6 +184,9 @@
 				font-weight: 400;
 				text-align: center;
 				color: #2c2c2c;
+				display: flex;
+				justify-content: center;
+				align-items: center;
 			}
 			.withDrawal_item_success{
 				width: 84rpx;