From bfbced1434833586988c36fe2670527bb5b2274d Mon Sep 17 00:00:00 2001 From: 346149741 <346149741@qq.com> Date: 星期二, 27 八月 2024 11:59:52 +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