Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 60d875a8
authored
Oct 29, 2022
by
luyt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:tab定位问题
1 parent
229cfbab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
pages/checkProduct/checkProduct.js
pages/checkProduct/checkProduct.wxml
pages/checkProduct/checkProduct.js
View file @
60d875a
...
@@ -68,9 +68,10 @@ Page({
...
@@ -68,9 +68,10 @@ Page({
// navbar高度设置
// navbar高度设置
navbarReady
(
e
)
{
navbarReady
(
e
)
{
let
{
height
,
statusBarHeight
}
=
e
.
detail
let
{
height
,
statusBarHeight
}
=
e
.
detail
console
.
log
(
'height, statusBarHeight : '
,
height
,
statusBarHeight
);
this
.
setData
({
this
.
setData
({
headerHeight
:
height
/
2
+
statusBarHeight
//
headerHeight: height / 2 + statusBarHeight
// headerHeight: height / 2 + statusBarHeight,
headerHeight
:
height
*
2
// headerHeight: height / 2 + statusBarHeight + 88 * 2,
// headerHeight: height / 2 + statusBarHeight + 88 * 2,
})
})
// console.log(e)
// console.log(e)
...
...
pages/checkProduct/checkProduct.wxml
View file @
60d875a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</view> -->
</view> -->
<!-- style="padding-top:{{headerHeight}}px" -->
<!-- style="padding-top:{{headerHeight}}px" -->
<product stickyTop="{{headerHeight
*2
}}" class="productCon" isAuthphone="{{isAuthphone}}" actNum="{{actNum}}" wrapactiveNavIdx="{{activeNavIdx}}" senceData="{{senceData}}" outshowVideo="{{outshowVideo}}" isShare="{{isShare}}" isShow="{{isShow}}" bindauthorized="authorizedFn" phone="{{share_phone}}" />
<product stickyTop="{{headerHeight}}" class="productCon" isAuthphone="{{isAuthphone}}" actNum="{{actNum}}" wrapactiveNavIdx="{{activeNavIdx}}" senceData="{{senceData}}" outshowVideo="{{outshowVideo}}" isShare="{{isShare}}" isShow="{{isShow}}" bindauthorized="authorizedFn" phone="{{share_phone}}" />
<!-- 分享弹框 -->
<!-- 分享弹框 -->
<!-- <view class="share-wrap" wx:if="{{isShow}}">
<!-- <view class="share-wrap" wx:if="{{isShow}}">
<view class="img-wrap">
<view class="img-wrap">
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment