From 8bc3be19c66cf9b389d5f4830c40c83f8ffea85c Mon Sep 17 00:00:00 2001 From: lijingyu007 <904564792@qq.com> Date: Tue, 25 Jun 2024 12:18:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=B9=E8=AE=AD=E9=A1=B5=E9=9D=A2=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E8=87=B3=E6=A0=A1=E4=BC=81=E5=90=88=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/testtraining/testtraining.vue | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/pages/index/testtraining/testtraining.vue b/pages/index/testtraining/testtraining.vue index 0704155..bd78f84 100644 --- a/pages/index/testtraining/testtraining.vue +++ b/pages/index/testtraining/testtraining.vue @@ -309,7 +309,7 @@ - +

校企合作培训

@@ -1011,10 +1011,16 @@ }, // 在线报名 gobaomingFn() { - uni.pageScrollTo({ - scrollTop: '2000' - // selector:'.titletopt' - }) + // uni.pageScrollTo({ + // scrollTop: '2000' + // // selector:'.titletopt' + // }) + uni.createSelectorQuery().select('#targetElement').boundingClientRect((res) => { + uni.pageScrollTo({ + scrollTop: res.top, + duration: 300 + }); + }).exec(); }, // 获取课程列表 getClassList() { @@ -1327,7 +1333,7 @@ .rowitem>>>.u-input { width: 66vw !important; - height: 60rpx; + height: 70rpx; } .rowitem1>>>.u-input { @@ -1337,7 +1343,7 @@ .rowitem>>>.u-input input { - min-height: 60rpx !important; + min-height: 70rpx !important; font-size: 22rpx; }