sunChengjie 11 months ago
parent
commit
999e9a0661
1 changed files with 6 additions and 7 deletions
  1. 6 7
      src/pages/search.vue

+ 6 - 7
src/pages/search.vue

@@ -8,7 +8,7 @@
 				<van-pull-refresh v-model="refreshLoading" @refresh="onRefresh">
 					<div class="sjlist" v-for="item in expressList">
 						<div class="listinfo">
-							<div class="list_top">
+							<div class="list_top" @click="mailDetail(item.id)">
 								<div class="list_top_left">
 									<img src="../assets/images/ad_icon1.png" alt="">
 									<div>
@@ -18,10 +18,6 @@
 										<p>{{ item.recordDate }}</p>
 									</div>
 								</div>
-								<!-- <p>
-							<template v-if="item.expressStatus == 1">未派送</template>
-<template v-if="item.expressStatus == 2">已派送</template>
-</p> -->
 							</div>
 						</div>
 					</div>
@@ -38,9 +34,7 @@
 					</template>
 				</van-pull-refresh>
 			</div>
-
 		</div>
-
 	</div>
 </template>
 
@@ -114,6 +108,9 @@ export default {
 				this.noData = false;
 			}
 		},
+		mailDetail(id) {
+			this.$router.push({ path: '/MailInfo', query: { id: id } })
+		}
 
 	}
 };
@@ -383,5 +380,7 @@ export default {
 
 .bottom_text {
 	font-size: 16px;
+	color: #969799;
+	text-align: center;
 }
 </style>