From 9c3961f513cb548c129dd911c1eb92ec21bb703c Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Mon, 18 Mar 2024 15:01:38 +0800
Subject: [PATCH] fix: 分享详情页打开未登录跳转

---
 pages/actionChange/agencyPage/index.vue |   52 +++++++++++++++++++++++++++++++---------------------
 1 files changed, 31 insertions(+), 21 deletions(-)

diff --git a/pages/actionChange/agencyPage/index.vue b/pages/actionChange/agencyPage/index.vue
index cb67a5d..a4694dc 100644
--- a/pages/actionChange/agencyPage/index.vue
+++ b/pages/actionChange/agencyPage/index.vue
@@ -117,7 +117,7 @@
 					<p class="rowTip">
 						<view class="wholeLine">
 							<text class="rowTipContenetLabel">������������:</text>
-							<text class="rowTipContenetAll">{{ item.pollutePosition }}</text>
+							<u--text class="rowTipContenetAll" :lines="1" :text="item.pollutePosition"></u--text>
 						</view>
 					</p>
 				</view>
@@ -203,16 +203,6 @@
 				return data
 			}
 		},
-		onReachBottom() {
-			//������������������������������������������
-			if (this.isLoading) {
-				this.status = 'loading'
-				//������������������,���������++
-				this.page.currentPage = ++this.page.currentPage
-				//������������,������������tab������������
-				this.getWorkOrder()
-			}
-		},
 		mounted() {},
 		filters: {
 			stateFormatter(val) {
@@ -222,14 +212,21 @@
 		},
 		onLoad: () => {},
 		methods: {
+			onBottom() {
+				//������������������������������������������
+				console.log('1122111')
+				this.status = 'loading'
+				//������������������,���������++
+				this.page.currentPage = ++this.page.currentPage
+				//������������,������������tab������������
+				this.getWorkOrder()
+			},
 			getLoadmore() {
-				if (this.isLoading) {
-					this.status = 'loading'
-					//������������������,���������++
-					this.page.currentPage = ++this.page.currentPage
-					//������������,������������tab������������
-					this.getWorkOrder()
-				}
+				this.status = 'loading'
+				//������������������,���������++
+				this.page.currentPage = ++this.page.currentPage
+				//������������,������������tab������������
+				this.getWorkOrder()
 			},
 			async onChooseAvatar(e) {
 				const {
@@ -294,6 +291,14 @@
 				}
 				this.getWorkOrder()
 			},
+			setData() {
+				this.workOderList = []
+				this.page = {
+					currentPage: 1,
+					pageSize: 10
+				}
+				this.getContaminateList()
+			},
 			// ������������������list
 			getUnitList() {
 				this.$http.httpGet('/allocation/unit').then(res => {
@@ -352,6 +357,7 @@
 				data.allocationId = e.allocationId
 				data.state = e.state
 				data.allocationNum = e.allocationNum
+				data.current = this.current
 				let myData = JSON.stringify(data)
 				uni.navigateTo({
 					url: '/pages/actionChange/workOrderDetails/index?infor=' + myData + '&type=jump',
@@ -362,6 +368,10 @@
 	}
 </script>
 <style scoped lang="scss">
+	page {
+		height: 101vh;
+	}
+
 	/deep/.uni-page-head {
 		display: none;
 	}
@@ -472,9 +482,9 @@
 			opacity: 0;
 			padding: .1em .5em;
 			text-transform: uppercase;
-			opacity: 0;
-			transform: rotate(-2deg) scale(5);
-			animation: seal .3s cubic-bezier(0.6, 0.04, 0.98, 0.335) forwards;
+			opacity: .75;
+			transform: rotate(-15deg) scale(1);
+			// animation: seal .3s cubic-bezier(0.6, 0.04, 0.98, 0.335) forwards;
 		}
 
 		@keyframes seal {

--
Gitblit v1.8.0