Commit b73ec4b5 authored by AU-Pro-mac's avatar AU-Pro-mac

add new

parent 7f39dc05
...@@ -125,12 +125,14 @@ Page({ ...@@ -125,12 +125,14 @@ Page({
// cover: getAuth login init checkDohelp // cover: getAuth login init checkDohelp
this.onAnimationLoadOver() this.onAnimationLoadOver()
// 设置 导航栏
if (this.inviteId) {
let sysInfo = await getSystemInfo() let sysInfo = await getSystemInfo()
// 设置 导航栏
if (sysInfo.statusBarHeight + sysInfo.titleBarHeight + sysInfo.windowHeight > sysInfo.screenHeight + 4 && sysInfo.platform === 'iOS') {
console.log('%csysInfo', ConsoleStyle, sysInfo) console.log('%csysInfo', ConsoleStyle, sysInfo)
this.setData({ headTop: sysInfo.statusBarHeight + sysInfo.titleBarHeight + 10 }) this.setData({ headTop: sysInfo.statusBarHeight + sysInfo.titleBarHeight + 10 })
} }
console.log('%csysInfo', ConsoleStyle, sysInfo)
// commonToast(`windowHeight:${sysInfo.windowHeight},,,screenHeight:${sysInfo.screenHeight}`)
}, },
......
// 分享配置 // 分享配置
export let SHARE_CONFIG = { export let SHARE_CONFIG = {
title: '【集美!一起赢清空购物车大奖了】', title: '快来雅顿乐园玩游戏赢大奖',
desc: '快来雅顿乐园玩游戏赢大奖', desc: '集美!一起赢清空购物车大奖了',
imageUrl: 'https://isv.alibabausercontent.com/00000000/imgextra/i2/676606897/O1CN01eNrwLl20osHoB4Y7d_!!676606897-2-isvtu-00000000.png', // 分享图片URL imageUrl: 'https://isv.alibabausercontent.com/00000000/imgextra/i2/676606897/O1CN01eNrwLl20osHoB4Y7d_!!676606897-2-isvtu-00000000.png', // 分享图片URL
path: '/pages/homePage/homePage' path: '/pages/homePage/homePage'
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment