Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
Project
Project
Details
Activity
Releases
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
wildfirecode13
new_taobao
Commits
b73ec4b5
Commit
b73ec4b5
authored
Oct 13, 2020
by
AU-Pro-mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add new
parent
7f39dc05
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
homePage.js
taobao_mini/client/pages/homePage/homePage.js
+4
-2
constants.js
taobao_mini/client/tbcc-sdk/lib/constants.js
+2
-2
No files found.
taobao_mini/client/pages/homePage/homePage.js
View file @
b73ec4b5
...
...
@@ -125,12 +125,14 @@ Page({
// cover: getAuth login init checkDohelp
this
.
onAnimationLoadOver
()
// 设置 导航栏
if
(
this
.
inviteId
)
{
let
sysInfo
=
await
getSystemInfo
()
// 设置 导航栏
if
(
sysInfo
.
statusBarHeight
+
sysInfo
.
titleBarHeight
+
sysInfo
.
windowHeight
>
sysInfo
.
screenHeight
+
4
&&
sysInfo
.
platform
===
'iOS'
)
{
console
.
log
(
'%csysInfo'
,
ConsoleStyle
,
sysInfo
)
this
.
setData
({
headTop
:
sysInfo
.
statusBarHeight
+
sysInfo
.
titleBarHeight
+
10
})
}
console
.
log
(
'%csysInfo'
,
ConsoleStyle
,
sysInfo
)
// commonToast(`windowHeight:${sysInfo.windowHeight},,,screenHeight:${sysInfo.screenHeight}`)
},
...
...
taobao_mini/client/tbcc-sdk/lib/constants.js
View file @
b73ec4b5
// 分享配置
export
let
SHARE_CONFIG
=
{
title
:
'
【集美!一起赢清空购物车大奖了】
'
,
desc
:
'
快来雅顿乐园玩游戏赢大奖
'
,
title
:
'
快来雅顿乐园玩游戏赢大奖
'
,
desc
:
'
集美!一起赢清空购物车大奖了
'
,
imageUrl
:
'https://isv.alibabausercontent.com/00000000/imgextra/i2/676606897/O1CN01eNrwLl20osHoB4Y7d_!!676606897-2-isvtu-00000000.png'
,
// 分享图片URL
path
:
'/pages/homePage/homePage'
};
...
...
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