Jelajahi Sumber

fix: 修复质检工单列表布局错位问题

yusheng 3 bulan lalu
induk
melakukan
54f3fef61d
2 mengubah file dengan 24 tambahan dan 23 penghapusan
  1. 1 1
      manifest.json
  2. 23 22
      pages/qms/inspectionWork/list.vue

+ 1 - 1
manifest.json

@@ -2,7 +2,7 @@
     "name" : "智慧工厂",
     "appid" : "__UNI__45B3907",
     "description" : "",
-    "versionName" : "V1.0.3.45",
+    "versionName" : "V1.0.3.46",
     "versionCode" : "100",
     "transformPx" : false,
     "h5" : {

+ 23 - 22
pages/qms/inspectionWork/list.vue

@@ -1,24 +1,25 @@
 <template>
 	<view class="mainBox">
-
-
+		<uni-nav-bar fixed="true" statusBar="true" left-icon="back"
+			:title="pageName=='myList'?'我的质检工单':pageName=='myInspectionProjectTask'?'我的质检任务单':pageName=='myInspectionProjectEntrusted'?'我的质检受托单':'质检工单'"
+			@clickLeft="back">
+		</uni-nav-bar>
+
+		<view class="top-wrapper">
+
+			<uni-section>
+				<uni-easyinput prefixIcon="search" style="width: 460rpx" v-model="keyWord" placeholder="名称、批次号">
+				</uni-easyinput>
+			</uni-section>
+			<button class="search_btn" @click="doSearch">搜索</button>
+		</view>
+		<div style="height:100rpx;width: 475rpx;"></div>
 		<view class="wrapper">
 
 
 			<u-list @scrolltolower="scrolltolower" class="listContent">
-				<uni-nav-bar fixed="true" statusBar="true" left-icon="back"
-					:title="pageName=='myList'?'我的质检工单':pageName=='myInspectionProjectTask'?'我的质检任务单':pageName=='myInspectionProjectEntrusted'?'我的质检受托单':'质检工单'"
-					@clickLeft="back">
-				</uni-nav-bar>
-				<view class="top-wrapper">
-
-					<uni-section>
-						<uni-easyinput prefixIcon="search" style="width: 460rpx" v-model="keyWord" placeholder="名称、批次号">
-						</uni-easyinput>
-					</uni-section>
-					<button class="search_btn" @click="doSearch">搜索</button>
-				</view>
-				<div style="height:100rpx;width: 475rpx;"></div>
+
+
 				<view v-for="(item, index) in tableList" :key="index+item.id" style="position: relative;">
 					<view class="item">
 						<view class="herder_item">
@@ -87,9 +88,9 @@
 		},
 		created() {
 			this.requestDict('质检计划类型')
-		
+
 		},
-	
+
 		methods: {
 			successInit() {
 				uni.showLoading({
@@ -194,13 +195,13 @@
 		padding: 16rpx 32rpx;
 		align-items: center;
 		// gap: 16rpx;
-		position: fixed;
+		position: absolute;
 		z-index: 999;
-		top: 88rpx;
-		// #ifdef APP-PLUS
-		top: 140rpx;
+		// top: 44px;
+		// // #ifdef APP-PLUS
+		// top: 140rpx;
 
-		// #endif
+		// // #endif
 		/deep/.uni-section {
 			margin-top: 0px;
 		}