YUPENG-SHI 3 anni fa
parent
commit
1959c6edb6

+ 39 - 0
app/components/noData/noData.vue

@@ -0,0 +1,39 @@
+<template>
+	<view>
+		<view class="nodata">
+			<image class="n-img" src="../../static/noData.png"></image>
+			<text class="n-text">暂无数据</text>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		name:"noData",
+		data() {
+			return {
+				
+			};
+		}
+	}
+</script>
+
+<style lang="scss">
+	.nodata{
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+		width: 100%;
+		height: 750rpx;
+		.n-img{
+			width: 300rpx;
+			height: 300rpx;
+		}
+		.n-text{
+			font-size: 28rpx;
+			color: #666;
+			margin-top: 20rpx;
+		}
+	}
+</style>

+ 1 - 1
app/pages/business-order/business-order.vue

@@ -5,7 +5,7 @@
 				<text class="title">业务订单</text>
 			</view>
 		</view>
-		<u-sticky offset-top="-90">
+		<u-sticky offset-top="0">
 			<u-tabs :list="tabs" @change="change" :current="current" :is-scroll="false"></u-tabs>
 		</u-sticky>
 		<view class="card-box">

+ 1 - 1
app/pages/customer-management/customer-management.vue

@@ -6,7 +6,7 @@
 			</view>
 		</view>
 		<view class="t-btn" @click="addCustomer()">+添加客户</view>
-		<u-sticky offset-top="-90">
+		<u-sticky offset-top="0">
 			<u-tabs :list="tabs" @change="change" :current="current" :is-scroll="false"></u-tabs>
 		</u-sticky>
 		<view class="card-box">

+ 1 - 1
app/pages/inout-record/inout-record.vue

@@ -5,7 +5,7 @@
 				<text class="title">出入记录</text>
 			</view>
 		</view>
-		<u-sticky offset-top="-90">
+		<u-sticky offset-top="0">
 			<u-tabs :list="tabs" @change="change" :current="current" :is-scroll="false"></u-tabs>
 		</u-sticky>
 		<view class="card-box">

BIN
app/static/noData.png


BIN
app/static/user.png