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
c5f1e42b
authored
Jul 23, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Plain Diff
dos
parents
847671f5
80a7d4e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Application/Common/Conf/config.php
+1
-1
Public/static/js/common.js
+4
-4
No files found.
Application/Common/Conf/config.php
View file @
c5f1e42b
...
...
@@ -13,7 +13,7 @@ return array(
'AUTH_CLIENT_ID'
=>
'zhida_app'
,
'AUTH_CLIENT_PASSWORD'
=>
'izhida'
,
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
'__CDN__'
=>
'http://static3.izhida.cn/cdn1/s7-avatar/v1.1.
0
'
,
'__CDN__'
=>
'http://static3.izhida.cn/cdn1/s7-avatar/v1.1.
1
'
,
// '__CDN__' => '/Public/static', // @readme <-- 上线时修改这里
'URL_MODEL'
=>
3
,
'STORAGE_PATH'
=>
WEB_ROOT_PATH
.
'/Data/Storage'
,
...
...
Public/static/js/common.js
View file @
c5f1e42b
...
...
@@ -142,25 +142,25 @@ $(document).ready(function () {
top
=
535
;
if
(
browser
.
versions
.
iPhone
)
top
=
515
ctx2
.
fillStyle
=
'#ffffff'
;
ctx2
.
font
=
'bold 1
30px msyh
'
;
ctx2
.
font
=
'bold 1
10px normal
'
;
}
else
if
(
firstSwiper
.
realIndex
===
0
)
{
//模板1
top
=
535
;
if
(
browser
.
versions
.
iPhone
)
top
=
515
ctx2
.
fillStyle
=
'#ffffff'
;
ctx2
.
font
=
'bold 1
3
0px normal'
;
ctx2
.
font
=
'bold 1
1
0px normal'
;
}
else
if
(
firstSwiper
.
realIndex
===
1
)
{
//模板2
top
=
535
;
if
(
browser
.
versions
.
iPhone
)
top
=
515
ctx2
.
fillStyle
=
'#ffffff'
;
ctx2
.
font
=
'bold 1
3
0px normal'
;
ctx2
.
font
=
'bold 1
1
0px normal'
;
}
else
{
//模板3
top
=
535
;
if
(
browser
.
versions
.
iPhone
)
top
=
515
ctx2
.
fillStyle
=
'#000000'
;
ctx2
.
font
=
'bold 1
3
0px normal'
;
ctx2
.
font
=
'bold 1
1
0px normal'
;
}
ctx2
.
textAlign
=
'left'
;
...
...
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