Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
f42331c0
Commit
f42331c0
authored
Sep 24, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
72168b6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
index.vue
pages/index/index.vue
+6
-0
No files found.
pages/index/index.vue
View file @
f42331c0
...
...
@@ -140,6 +140,7 @@ export default {
guidecar
:{},
searchData
:{},
//传递给search data
isNavPosition
:
0
,
//设置搜索框位置
IsOpenSchool
:
0
,
};
},
components
:
{
...
...
@@ -219,6 +220,7 @@ export default {
}
if
(
options
&&
options
.
Up
)
{
//校园id
uni
.
setStorageSync
(
"Up"
,
{
Up
:
options
.
Up
});
this
.
IsOpenSchool
=
options
.
Up
}
if
(
options
&&
options
.
scene
)
{
...
...
@@ -573,11 +575,15 @@ export default {
return
n
.
substr
(
1
);
},
init
()
{
if
(
this
.
IsOpenSchool
==
0
){
this
.
IsOpenSchool
=
uni
.
getStorageSync
(
"UserPageType"
)?
uni
.
getStorageSync
(
"UserPageType"
).
UserPageType
:
0
;
}
this
.
request2
(
{
url
:
"/api/Mall/GetHome"
,
data
:
{
page_id
:
this
.
pageId
,
IsOpenSchool
:
this
.
IsOpenSchool
,
},
},
(
res
)
=>
{
...
...
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