Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
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
游洁
thinkApp
Commits
5c5da994
Commit
5c5da994
authored
Sep 27, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
cb9f1ead
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
person.vue
src/pages/person/person.vue
+2
-1
timeTable.vue
src/pages/timetable/timeTable.vue
+16
-1
No files found.
src/pages/person/person.vue
View file @
5c5da994
<
template
>
<view
class=
"person"
>
<view
class=
"person"
:style=
"
{ 'padding-bottom': `${statusBarHeight}px` }"
>
<view
class=
"info flex_between_center flex_nowrap"
>
<view
class=
"left flex_start_between"
>
<view
class=
"name"
>
...
...
@@ -319,6 +319,7 @@
};
let
that
=
methods
;
onMounted
(()
=>
{
data
.
statusBarHeight
=
uni
.
getSystemInfoSync
().
statusBarHeight
;
that
.
VersionUpdate
()
that
.
initColor
()
});
...
...
src/pages/timetable/timeTable.vue
View file @
5c5da994
<
template
>
<view
class=
""
:style=
"
{ 'padding-top': `${statusBarHeight}px` }">
<view
class=
""
:style=
"
{ 'padding-top': `${statusBarHeight}px`
,'padding-bottom': `${statusBarHeight}px`
}">
<view
style=
"height: 100rpx"
></view>
<view
class=
"navbar"
>
...
...
@@ -420,6 +420,21 @@
}
};
onMounted
(()
=>
{
// let port = uni.getSystemInfoSync().platform
// switch (port) {
// case 'android':
// data.statusBarHeight = false
// console.log('运行Android上',port);//android
// break;
// case 'ios':
// data.statusBarHeight = true
// console.log('运行iOS上',port);//ios
// break;
// default:
// data.statusBarHeight = true
// console.log('运行在开发者工具上');//devtools
// break;
// }
that
.
VersionUpdate
()
getcalendar
(
new
Date
().
getFullYear
(),
new
Date
().
getMonth
()
+
1
);
let
today
=
calendar
.
value
.
find
((
e
)
=>
{
...
...
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