From 0e9b58dea98030029d30e86a0460323c8e56b1ec Mon Sep 17 00:00:00 2001
From: 346149741 <346149741@qq.com>
Date: 星期二, 03 九月 2024 14:03:00 +0800
Subject: [PATCH] 新增临时企业

---
 policy/components/tabs.vue |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/policy/components/tabs.vue b/policy/components/tabs.vue
index 84ebf76..3f39d7b 100644
--- a/policy/components/tabs.vue
+++ b/policy/components/tabs.vue
@@ -29,6 +29,9 @@
 					success: val => {
 						if(val.errMsg === 'scanCode:ok'){
 							console.log(val.result)
+							uni.navigateTo({
+								url: `/policy/scodePage/scodePage?code=${val.result}`
+							})
 						}
 					}
 				})
@@ -66,14 +69,22 @@
 		.code{
 			width: 108rpx;
 			height: 108rpx;
-			position: absolute;
-			top: -20rpx;
-			left: 0;
+			// position: absolute;
+			// top: -20rpx;
+			// left: 0;
 		}
 		.relative{
 			position: relative;
-			width: 108rpx;
-			height: 108rpx;
+			width: 136rpx;
+			height: 136rpx;
+			background-color: white;
+			border-radius: 50%;
+			padding: 12rpx;
+			top: -40rpx;
+			display: flex;
+			box-sizing: border-box;
+			justify-content: center;
+			align-items: center;
 		}
 	}
 </style>
\ No newline at end of file

--
Gitblit v1.9.1