Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
10 years ago
Commit
c2a8370723e6f3fbc5bdf1dbf6ccfa7708a5ab38
1 parent
e3cbb3a4
minify配置
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
6 deletions
res/min/groupConfig/www.php
website/config/Boot.inc.php
website/view/layout/default_layout.php
res/min/groupConfig/www.php
View file @
c2a8370
...
...
@@ -29,5 +29,27 @@ return array(
'//css/mobile.css'
,
'//css/emoji.css'
,
'//css/hook.css'
,
)
),
'index.js'
=>
array
(
'//js/lib/seajs.js'
,
'//js/lib/yohood.js'
,
'//js/lib/jquery.js'
,
'//js/plugins/swipe.js'
,
'//js/plugins/idangerous.swiper.js'
,
'//js/common.js'
,
'//js/plugins/share.js'
,
'//js/lib/ui/jquery.freetile.js'
,
'//js/lib/util/tools.js'
,
'//js/plugins/slider.js'
,
'//js/plugins/pagination.js'
,
'//js/plugins/imgZoom.js'
,
'//js/lib/util/json.js'
,
'//js/lib/ui/jquery.ui.js'
,
'//js/dialog.js'
,
'//js/lib/util/jquery.imagesLoaded.js'
),
'index.css'
=>
array
(
'//css/index.css'
,
'//css/emoji.css'
,
)
);
\ No newline at end of file
...
...
website/config/Boot.inc.php
View file @
c2a8370
...
...
@@ -70,13 +70,15 @@ return array(
'open'
=>
true
,
'site'
=>
'www'
,
// JS链接路径
'js'
=>
'http://res.yohood'
.
SITE_DOMAIN
.
'/min/
index.php
?g='
,
'js'
=>
'http://res.yohood'
.
SITE_DOMAIN
.
'/min/?g='
,
// css链接路径
'css'
=>
'http://res.yohood'
.
SITE_DOMAIN
.
'/min/
index.php
?g='
,
'css'
=>
'http://res.yohood'
.
SITE_DOMAIN
.
'/min/?g='
,
),
'combinePage'
=>
array
(
'index_mobile.js'
,
'index_mobile.css'
'index_mobile.css'
,
'index.js'
,
'index.css'
),
/**
* 插件配置
...
...
website/view/layout/default_layout.php
View file @
c2a8370
...
...
@@ -8,8 +8,12 @@
<meta
http-equiv=
"Cache-Control"
content=
"no-siteapp"
/>
<meta
name=
"renderer"
content=
"webkit"
>
<link
rel=
"dns-prefetch"
href=
"
<?php
echo
SITE_RES
;
?>
"
>
<link
rel=
"stylesheet"
href=
"
<?php
echo
SITE_RES
;
?>
/css/index.css"
/>
<link
rel=
"stylesheet"
href=
"
<?php
echo
SITE_RES
;
?>
/css/emoji.css"
/>
<?php
$this
->
_css
(
'index.css'
,
array
(
SITE_RES
.
'/css/index.css'
,
SITE_RES
.
'/css/emoji.css'
,
));
?>
<?php
$this
->
_block
(
'css'
);
?>
<?php
$this
->
_endblock
();
?>
</head>
<body>
<div
class=
"yoho-nav clearfix"
>
...
...
Please
register
or
login
to post a comment