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
d565e416
authored
Jul 20, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
832ab495
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Application/Home/View/default/layout.tpl
+1
-1
Public/static/js/common.js
+4
-4
No files found.
Application/Home/View/default/layout.tpl
View file @
d565e416
...
...
@@ -9,7 +9,7 @@
<meta
name=
"format-detection"
content=
"telephone=no"
>
{:assign var=projectId value=0}
{:assign var=rem value=false}
{:assign var=version value='1.0.
8
'}
{:assign var=version value='1.0.
9
'}
{:block name='projectx'}{:/block}
{:if $rem == true}
<meta
name=
"viewport"
content=
"width=device-width, minimum-scale=1, maximum-scale=1, user-scalable=no"
>
...
...
Public/static/js/common.js
View file @
d565e416
...
...
@@ -133,25 +133,25 @@ $(document).ready(function () {
if
(
custom
)
{
// 自定义
top
=
535
;
if
(
browser
.
versions
.
iPhone
)
top
=
510
//
if (browser.versions.iPhone) top = 510
ctx2
.
fillStyle
=
'#ffffff'
;
ctx2
.
font
=
'bold 130px msyh'
;
}
else
if
(
firstSwiper
.
realIndex
===
0
)
{
//模板1
top
=
535
;
if
(
browser
.
versions
.
iPhone
)
top
=
510
//
if (browser.versions.iPhone) top = 510
ctx2
.
fillStyle
=
'#ffffff'
;
ctx2
.
font
=
'bold 130px msyh'
;
}
else
if
(
firstSwiper
.
realIndex
===
1
)
{
//模板2
top
=
535
;
if
(
browser
.
versions
.
iPhone
)
top
=
510
//
if (browser.versions.iPhone) top = 510
ctx2
.
fillStyle
=
'#ffffff'
;
ctx2
.
font
=
'bold 130px msyh'
;
}
else
{
//模板3
top
=
535
;
if
(
browser
.
versions
.
iPhone
)
top
=
510
//
if (browser.versions.iPhone) top = 510
ctx2
.
fillStyle
=
'#000000'
;
ctx2
.
font
=
'bold 130px msyh'
;
}
...
...
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