From 2f573a9997318f7a59e4b09d8a672fb4ae01bf93 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Mon, 20 Oct 2025 11:24:30 +0800
Subject: [PATCH] feat:去掉显示隐藏

---
 src/subPackages/workDetail/index.vue         |  123 +----------------------------------------
 src/subPackages/workDetail/addWork/index.vue |    9 --
 2 files changed, 4 insertions(+), 128 deletions(-)

diff --git a/src/subPackages/workDetail/addWork/index.vue b/src/subPackages/workDetail/addWork/index.vue
index bc3eb33..c404830 100644
--- a/src/subPackages/workDetail/addWork/index.vue
+++ b/src/subPackages/workDetail/addWork/index.vue
@@ -1,6 +1,6 @@
 <template>
 	<view >
-		 <WebViewPlus @webMessage="onPostMessage" v-if="isApp" ref="sWebViewRef" :src="`${viewUrl}`" />
+		 <WebViewPlus @webMessage="onPostMessage"  ref="sWebViewRef" :src="`${viewUrl}`" />
 		
 	</view>
 
@@ -18,14 +18,7 @@
     });
   }
 }
-const isApp = ref(false)
-onShow(() => {
-  isApp.value = true
-});
 
-onHide(() => {
-  isApp.value = false
-});
 </script>
 
 <style scoped lang="scss">
diff --git a/src/subPackages/workDetail/index.vue b/src/subPackages/workDetail/index.vue
index d9d4852..052f9d4 100644
--- a/src/subPackages/workDetail/index.vue
+++ b/src/subPackages/workDetail/index.vue
@@ -1,7 +1,7 @@
 <!-- 工单详情 - 包含待审核、待处理、处理中、已完成 -->
 <template>
 	<div class="workDetailContainer">
-		 <WebViewPlus v-if="isApp" ref="sWebViewRef" :src="`${viewUrl}`" @webMessage="onPostMessage"/>
+		 <WebViewPlus ref="sWebViewRef" :src="`${viewUrl}`" @webMessage="onPostMessage"/>
 	</div>
 </template>
 
@@ -26,131 +26,14 @@
 	    });
 	  }
 	}
-	const isApp = ref(false)
-	onShow(() => {
-	  isApp.value = true
-	});
-	
-	onHide(() => {
-	  isApp.value = false
-	});
+
 </script>
 
 <style lang="scss" scoped>
 	.workDetailContainer {
 		padding: 0 10px;
 
-		.detailTop {
-			.image-container {
-				position: relative;
-				width: 100%;
-				height: 200px;
-
-				.detailImage {
-					width: 100%;
-					height: 100%;
-					display: block;
-					object-fit: cover
-				}
-
-				.detailTitle {
-					position: absolute;
-					left: 0;
-					bottom: 0;
-					width: 100%;
-				}
-
-				.titleText {
-					display: flex;
-					width: 100%;
-					justify-content: space-between;
-					align-items: center;
-				}
-			}
-		}
-
-		.stepContainer {
-			margin-top: 10px;
-			display: flex;
-			background-color: antiquewhite;
-			border-radius: 5px;
-			padding: 10px;
-
-			.horizontal-step {
-				display: flex;
-				align-items: center;
-				gap: 12px;
-
-				.step-title {
-					min-width: 60px;
-				}
-
-				.step-desc {
-					display: flex;
-					justify-content: space-between;
-					gap: 8px;
-					// color: #666;
-					font-size: 14px;
-				}
-			}
-
-		}
-
-
-		.actionButton {
-			display: flex;
-			justify-content: space-between;
-			margin-bottom: 10px;
-
-			.btngroups {
-				display: flex;
-				justify-content: space-between;
-
-				.u-button {
-					padding: 9px 20px;
-					height: 32px;
-
-					&:last-child {
-						margin-left: 12px;
-						margin-right: 12px;
-					}
-				}
-			}
-
-			.leftBtn {
-				width: 70px;
-				height: 32px;
-				background-color: #999;
-				border-radius: 5px;
-				text-align: center;
-				line-height: 32px;
-				color: #fff;
-				cursor: pointer;
-				opacity: 0.8;
-			}
-
-			.disableds {
-				background: #999 !important;
-				cursor: not-allowed !important;
-				pointer-events: none;
-				opacity: 0.3 !important;
-			}
-		}
-
-		.workOrderContent {
-			margin-top: 15px;
-
-			.workOrderContainer {
-				div {
-					margin-bottom: 10px;
-				}
-
-				.titketName {
-					display: flex;
-					align-items: center;
-				}
-			}
-		}
+		
 
 	}
 </style>
\ No newline at end of file

--
Gitblit v1.9.3