Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ued
/
yohogirls_mustache
·
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
lore-w
10 years ago
Commit
d04640ee7f9a5a84f87a6face7fe3d20d58c91f5
1 parent
ba48544b
调整js引用方式
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
53 deletions
partials/common/script320.html
partials/layout/footer320.html
partials/common/script320.html
View file @
d04640e
{{# default}}
<script
type=
"text/javascript"
>
seajs
.
use
([
'js/common'
,
'js/channel/home'
],
function
(
common
,
home
)
{
common
.
init
();
seajs
.
use
([
'js/channel/home'
],
function
(
home
)
{
home
.
init
();
});
</script>
{{/ default}}
{{# fashion}}
<script
type=
"text/javascript"
>
seajs
.
use
([
'js/common'
],
function
(
common
)
{
common
.
init
();
//home.init();
});
</script>
{{/ fashion}}
{{# beauty}}
<script
type=
"text/javascript"
>
seajs
.
use
([
'js/common'
],
function
(
common
)
{
common
.
init
();
//home.init();
});
</script>
{{/ beauty}}
{{# sport}}
<script
type=
"text/javascript"
>
seajs
.
use
([
'js/common'
],
function
(
common
)
{
common
.
init
();
//home.init();
});
</script>
{{/ sport}}
{{# lifestyle}}
<script
type=
"text/javascript"
>
seajs
.
use
([
'js/common'
],
function
(
common
)
{
common
.
init
();
//home.init();
});
</script>
{{/ lifestyle}}
{{# magazine}}
<script
type=
"text/javascript"
>
seajs
.
use
([
'js/common'
,
'js/channel/magazine'
],
function
(
common
,
magazine
)
{
common
.
init
();
seajs
.
use
([
'js/channel/magazine'
],
function
(
magazine
)
{
magazine
.
init
();
});
</script>
{{/ magazine}}
{{# video}}
<script
type=
"text/javascript"
>
seajs
.
use
([
'js/common'
],
function
(
common
)
{
common
.
init
();
});
</script>
{{/ video}}
{{# search}}
<script
type=
"text/javascript"
>
seajs
.
use
([
'js/common'
,
'js/channel/search'
],
function
(
common
,
search
)
{
common
.
init
();
seajs
.
use
([
'js/channel/search'
],
function
(
search
)
{
search
.
init
();
});
</script>
...
...
@@ -81,8 +35,7 @@
{{# detail}}
<script
type=
"text/javascript"
>
seajs
.
use
([
'js/common'
,
'js/channel/detail'
],
function
(
common
,
detail
)
{
common
.
init
();
seajs
.
use
([
'js/channel/detail'
],
function
(
detail
)
{
detail
.
init
();
});
</script>
...
...
@@ -90,8 +43,7 @@
{{# about}}
<script
type=
"text/javascript"
>
seajs
.
use
([
'js/common'
,
'js/channel/feedback'
],
function
(
common
,
feedback
)
{
common
.
init
();
seajs
.
use
([
'js/channel/feedback'
],
function
(
feedback
)
{
feedback
.
init
();
});
</script>
...
...
partials/layout/footer320.html
View file @
d04640e
...
...
@@ -19,6 +19,11 @@
</div>
<script
type=
"text/javascript"
src=
"http://cmsres.test.yoho.cn/res/new/girls/js/util/seajs_test.js"
></script>
<script
type=
"text/javascript"
src=
"http://cmsres.test.yoho.cn/res/new/girls/mobile.js"
></script>
<script
type=
"text/javascript"
>
seajs
.
use
([
'js/common'
],
function
(
common
)
{
common
.
init
();
});
</script>
{{> common/script320}}
</body>
</html>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment