Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jd-vx-app
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
jd-vx-app
Commits
b938b434
Commit
b938b434
authored
Jan 05, 2023
by
肖健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除console
parent
1594045f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
personal.vue
pages/personal.vue
+0
-8
No files found.
pages/personal.vue
View file @
b938b434
...
...
@@ -370,10 +370,6 @@
},
});
},
async
getElInfo
()
{
let
rectInfo
=
await
this
.
$u
.
getRect
(
'.personal'
);
console
.
log
(
'rectInfo'
,
rectInfo
);
}
},
mounted
()
{
setTimeout
(()
=>
{
...
...
@@ -400,14 +396,10 @@
let
personalHeight
=
data
.
height
uni
.
createSelectorQuery
().
in
(
that
.
$parent
.
$refs
.
myTab
).
select
(
".weui-tabbar"
).
boundingClientRect
(
function
(
data
)
{
//data - 各种参数
console
.
log
(
'weui-tabbar'
,
data
)
// 获取元素高度
let
tabbarHeight
=
data
.
height
let
remainder
=
windowHeight
-
personalHeight
-
tabbarHeight
console
.
log
(
'remainder'
,
remainder
);
if
(
remainder
>
130
)
{
//可使用窗口高度,将px转换rpx
that
.
carouselHeight
=
(
remainder
*
(
750
/
windowWidth
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment