Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
s7-avatar
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7c75588d
authored
Jul 23, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
80a7d4e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
Public/static/js/common.js
+8
-8
No files found.
Public/static/js/common.js
View file @
7c75588d
...
@@ -139,26 +139,26 @@ $(document).ready(function () {
...
@@ -139,26 +139,26 @@ $(document).ready(function () {
var
top
=
0
;
var
top
=
0
;
if
(
custom
)
{
if
(
custom
)
{
// 自定义
// 自定义
top
=
5
3
5
;
top
=
5
5
5
;
if
(
browser
.
versions
.
iPhone
)
top
=
5
1
5
if
(
browser
.
versions
.
iPhone
)
top
=
5
3
5
ctx2
.
fillStyle
=
'#ffffff'
;
ctx2
.
fillStyle
=
'#ffffff'
;
ctx2
.
font
=
'bold 110px normal'
;
ctx2
.
font
=
'bold 110px normal'
;
}
else
if
(
firstSwiper
.
realIndex
===
0
)
{
}
else
if
(
firstSwiper
.
realIndex
===
0
)
{
//模板1
//模板1
top
=
5
3
5
;
top
=
5
5
5
;
if
(
browser
.
versions
.
iPhone
)
top
=
5
1
5
if
(
browser
.
versions
.
iPhone
)
top
=
5
3
5
ctx2
.
fillStyle
=
'#ffffff'
;
ctx2
.
fillStyle
=
'#ffffff'
;
ctx2
.
font
=
'bold 110px normal'
;
ctx2
.
font
=
'bold 110px normal'
;
}
else
if
(
firstSwiper
.
realIndex
===
1
)
{
}
else
if
(
firstSwiper
.
realIndex
===
1
)
{
//模板2
//模板2
top
=
5
3
5
;
top
=
5
5
5
;
if
(
browser
.
versions
.
iPhone
)
top
=
5
1
5
if
(
browser
.
versions
.
iPhone
)
top
=
5
3
5
ctx2
.
fillStyle
=
'#ffffff'
;
ctx2
.
fillStyle
=
'#ffffff'
;
ctx2
.
font
=
'bold 110px normal'
;
ctx2
.
font
=
'bold 110px normal'
;
}
else
{
}
else
{
//模板3
//模板3
top
=
5
3
5
;
top
=
5
5
5
;
if
(
browser
.
versions
.
iPhone
)
top
=
5
1
5
if
(
browser
.
versions
.
iPhone
)
top
=
5
3
5
ctx2
.
fillStyle
=
'#000000'
;
ctx2
.
fillStyle
=
'#000000'
;
ctx2
.
font
=
'bold 110px normal'
;
ctx2
.
font
=
'bold 110px normal'
;
}
}
...
...
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