caojunjie 4 anni fa
parent
commit
8a998dd5aa
1 ha cambiato i file con 9 aggiunte e 2 eliminazioni
  1. 9 2
      pages/me/scancodequery/result.vue

+ 9 - 2
pages/me/scancodequery/result.vue

@@ -3,8 +3,9 @@
 	<view>
 		<view class="head" v-if="empty == true">
 			<view class="tips">
-				<image src="../../../static/sailun/successful.png" mode=""></image>
-				<view>查询失败</view>
+				<br>
+				<br>
+				<u-empty icon-color="#FFFFFF" color="#FFFFFF" text="查询失败" mode="data"></u-empty>
 			</view>
 			<view class="stripe"></view>
 			<view class="roll">
@@ -97,6 +98,11 @@
 				}).then(res => {
 					console.log(res.data)
 					if(res.data.code == 0){
+						uni.showToast({
+							icon: 'none',
+							title: '查询成功',
+							position: "bottom"
+						})
 						this.empty = false
 						this.tireNumber = res.data.data.tireNumber
 						this.mouldType = res.data.data.mouldType
@@ -209,6 +215,7 @@
 				margin-top: 60rpx;
 				width: 106rpx;
 				height: 112rpx;
+				margin-left: 10rpx;
 			}
 
 			view {