From c92e539cd1ceeecc851bddf9c7468081c16dd45e Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期二, 30 九月 2025 10:54:15 +0800
Subject: [PATCH] pda功能初始化

---
 pages/mat/matQuery.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/pages/mat/matQuery.vue b/pages/mat/matQuery.vue
index c8316fb..b1148c0 100644
--- a/pages/mat/matQuery.vue
+++ b/pages/mat/matQuery.vue
@@ -51,7 +51,7 @@
 					contentnomore: '娌℃湁鏇村'
 				},
 				// 褰撳墠tagId
-				tagIdNow: 1
+				tagIdNow: 5
 			}
 		},
 		onReachBottom() {
@@ -74,7 +74,7 @@
 		onShow() {
 			this.baseUrl = uni.getStorageSync('baseUrl');
 			this.token = uni.getStorageSync('token');
-			this.showTag(1)
+			this.showTag(this.tagIdNow)
 		},
 		methods: {
 			search() {
@@ -170,12 +170,12 @@
 						that.tagList = null
 						var res = result.data
 						if (res.code === 200) {
-							if (res.data.records != null && res.data.records.length > 0) {
-								let list = res.data.records
+							if (res.data != null && res.data.length > 0) {
+								let list = res.data
 								that.matList = that.reload ? list : that.matList.concat(list);
 								that.curr = that.curr + 1
 							}
-							if (res.data.records.length == 0) {
+							if (res.data.length == 0) {
 								that.status = 'noMore'
 							}
 							that.baColor = "background-color: #1cbbb4;"
@@ -229,11 +229,11 @@
 		padding: 4rpx 12rpx;
 	}
 	.tag-item {
-		width: 100%;
 		min-height: 60rpx;
 		line-height: 2;
 		padding-left: 50rpx;
 		color: #606266;
 		font-size: 14px;
+		word-wrap: break-word;
 	}
 </style>
\ No newline at end of file

--
Gitblit v1.9.1