Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
严立
/
mini-shimao
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
99fd9b2d
authored
Sep 28, 2020
by
严立
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
LL - 全局界面控制
parent
72624e69
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
1 deletions
app.js
pages/campsite/home/home.js
pages/commodity/home/home.js
pages/home/guide/guide.js
pages/mine/home/home.js
pages/play/home/home.js
pages/play/service-detail/service-detail.js
pages/play/strategy-detail/strategy-detail.js
app.js
View file @
99fd9b2d
...
...
@@ -34,12 +34,12 @@ App({
onLaunch
:
function
()
{
this
.
setUnitProportion
()
this
.
setAppStatus
()
this
.
login
()
},
onShow
:
function
()
{
console
.
log
(
'onShow'
)
this
.
setAppStatus
()
if
(
this
.
globalData
.
token
===
''
)
return
this
.
queryUserStatus
()
...
...
pages/campsite/home/home.js
View file @
99fd9b2d
...
...
@@ -34,6 +34,7 @@ Page({
this
.
setSideHeight
()
},
onShow
:
function
()
{
this
.
setData
({
appStatus
:
App
.
globalData
.
appStatus
})
this
.
setShopInfo
(
3
,
1
)
this
.
queryDetail
()
this
.
queryActivity
()
...
...
pages/commodity/home/home.js
View file @
99fd9b2d
...
...
@@ -32,6 +32,7 @@ Page({
},
onShow
:
function
()
{
this
.
setData
({
appStatus
:
App
.
globalData
.
appStatus
})
this
.
setData
({
userInfo
:
wx
.
getStorageSync
(
'userInfo'
),
cssGreeting
:
wx
.
getStorageSync
(
'navigationStatusHeight'
)
+
wx
.
getStorageSync
(
'navigationCapsuleHeight'
)
+
20
*
wx
.
getStorageSync
(
'unitProportion'
),
...
...
pages/home/guide/guide.js
View file @
99fd9b2d
...
...
@@ -30,6 +30,10 @@ Page({
this
.
initSelection
()
},
onShow
:
function
()
{
this
.
setData
({
appStatus
:
App
.
globalData
.
appStatus
})
},
initGuide
:
function
()
{
this
.
setMapCss
()
},
...
...
pages/mine/home/home.js
View file @
99fd9b2d
...
...
@@ -89,6 +89,7 @@ Page({
},
onShow
:
function
()
{
this
.
setData
({
appStatus
:
App
.
globalData
.
appStatus
})
this
.
setUserInfo
()
},
...
...
pages/play/home/home.js
View file @
99fd9b2d
...
...
@@ -41,6 +41,7 @@ Page({
},
onShow
:
function
()
{
this
.
setData
({
appStatus
:
App
.
globalData
.
appStatus
})
this
.
queryActivity
()
this
.
queryMovie
()
this
.
routeList
()
...
...
pages/play/service-detail/service-detail.js
View file @
99fd9b2d
...
...
@@ -157,6 +157,10 @@ Page({
this
.
getAppraise
()
},
onShow
:
function
()
{
this
.
setData
({
appStatus
:
App
.
globalData
.
appStatus
})
},
/**
* 获取商店信息,缓存商店信息
* @function
...
...
pages/play/strategy-detail/strategy-detail.js
View file @
99fd9b2d
...
...
@@ -51,6 +51,10 @@ Page({
this
.
queryTouristRouteDetail
()
},
onShow
:
function
()
{
this
.
setData
({
appStatus
:
App
.
globalData
.
appStatus
})
},
/**
* 游客攻略详情
* @function
...
...
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