Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
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
向伟
educationStu
Commits
3fc5306e
Commit
3fc5306e
authored
Sep 13, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6cf89ec8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
12 deletions
+3
-12
timeTable.vue
src/pages/course/timeTable.vue
+1
-4
index.vue
src/pages/index/index.vue
+1
-3
index.js
src/utils/index.js
+1
-5
No files found.
src/pages/course/timeTable.vue
View file @
3fc5306e
...
...
@@ -119,7 +119,6 @@ import {
}
from
"vue"
;
import
{
getWeek
,
getToday
}
from
"../../utils/date.js"
;
import
{
getStundentPlanStatistical
}
from
"../../api/index"
;
import
{
getSystemInfo
}
from
"../../utils/index"
;
export
default
{
name
:
""
,
props
:
{},
...
...
@@ -231,9 +230,7 @@ export default {
activeDay
.
value
=
today
.
day
;
}
sliceWeek
(
today
);
getSystemInfo
((
res
)
=>
{
data
.
statusBarHeight
=
res
.
statusBarHeight
;
});
data
.
statusBarHeight
=
uni
.
getSystemInfoSync
().
statusBarHeight
;
});
let
that
=
methods
;
return
{
...
...
src/pages/index/index.vue
View file @
3fc5306e
...
...
@@ -275,9 +275,7 @@ export default {
onMounted
(()
=>
{
console
.
log
(
process
.
env
);
getSystemInfo
((
res
)
=>
{
data
.
statusBarHeight
=
res
.
statusBarHeight
;
});
data
.
statusBarHeight
=
uni
.
getSystemInfoSync
().
statusBarHeight
;
data
.
userinfo
=
uni
.
getStorageSync
(
"userInfo"
);
data
.
userinfo
.
EnterPhone2
=
desensitization
(
data
.
userinfo
.
EnterPhone
,
...
...
src/utils/index.js
View file @
3fc5306e
//获取设备信息
export
let
getSystemInfo
=
(
callback
)
=>
{
uni
.
getSystemInfo
({
success
:
(
res
)
=>
{
callback
(
res
)
}
})
return
uni
.
getSystemInfoSync
()
}
//脱敏
...
...
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