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
hf
2015-05-20 19:33:22 +0800
Commit
d6d86538ef871e353beddfd9be3be731e092c4ae
1 parent
c3106120
合并并修改首页及频道页的数据结构,减化资讯内容渲染逻辑到公共的子模板(partials)中;增加百度谷歌统计代码并对模板页面的A链接增加公共的事件跟踪代码.
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
30 additions
and
45 deletions
partials/common/script.html
partials/common/script320.html
partials/layout/header_jian.html
partials/script/channel.html
partials/script/default.html
partials/script/fashion.html
partials/script/feedback.html
partials/script/magazine.html
partials/script/search.html
partials/script/sport.html
partials/script/writer.html
partials/common/script.html
View file @
d6d8653
...
...
@@ -2,48 +2,42 @@
{{> script/default}}
{{/ default}}
{{# fashion}}
{{> script/channel}}
{{> script/channel}}
{{/ fashion}}
{{# beauty}}
{{> script/channel}}
{{> script/channel}}
{{/ beauty}}
{{# sport}}
{{> script/channel}}
{{> script/channel}}
{{/ sport}}
{{# lifestyle}}
{{> script/channel}}
{{> script/channel}}
{{/ lifestyle}}
{{# video}}
{{> script/channel}}
{{> script/channel}}
{{/ video}}
{{# search}}
{{> script/search}}
{{/ search}}
{{# detail}}
{{> script/detail}}
{{/ detail}}
{{# magazine}}
{{> script/magazine}}
{{/ magazine}}
{{# feedback}}
{{> script/feedback}}
{{/ feedback}}
{{# writer}}
{{> script/writer}}
{{/ writer}}
{{/ writer}}
\ No newline at end of file
...
...
partials/common/script320.html
View file @
d6d8653
...
...
@@ -6,7 +6,6 @@
</script>
{{/ default}}
{{# magazine}}
<script
type=
"text/javascript"
>
seajs
.
use
([
'js/channel/magazine'
],
function
(
magazine
)
{
...
...
@@ -32,7 +31,6 @@
</script>
{{/ writer}}
{{# detail}}
<script
type=
"text/javascript"
>
seajs
.
use
([
'js/channel/detail'
],
function
(
detail
)
{
...
...
partials/layout/header_jian.html
View file @
d6d8653
...
...
@@ -26,7 +26,7 @@
<meta
property=
"og:image:height"
content=
"{{image_height}}"
/>
<meta
property=
"og:description"
content=
"{{description}}"
/>
{{/ isDetail}}
{{> common/environment_css}}
{{> common/environment_css}}
</head>
<body>
<!--开头的集团导航-->
...
...
partials/script/channel.html
View file @
d6d8653
<script
type=
"text/javascript"
charset=
"utf-8"
>
seajs
.
use
([
"js/public"
,
"js/channel"
],
function
(){
});
seajs
.
use
([
"js/public"
,
"js/channel"
]);
</script>
\ No newline at end of file
...
...
partials/script/default.html
View file @
d6d8653
<script
type=
"text/javascript"
charset=
"utf-8"
>
seajs
.
use
([
"js/public"
,
"js/home"
],
function
(){
});
seajs
.
use
([
"js/public"
,
"js/home"
]);
</script>
\ No newline at end of file
...
...
partials/script/fashion.html
View file @
d6d8653
<script
type=
"text/javascript"
>
seajs
.
use
([
"js/channel/fashion"
],
function
(){
});
seajs
.
use
([
"js/channel/fashion"
]);
</script>
\ No newline at end of file
...
...
partials/script/feedback.html
View file @
d6d8653
<script
type=
"text/javascript"
charset=
"utf-8"
>
//详情页面JS
seajs
.
use
([
'js/channel/feedback'
,
'js/public'
],
function
(
feedback
)
{
if
(
feedback
)
{
feedback
.
init
();
}
});
seajs
.
use
([
'js/channel/feedback'
,
'js/public'
],
function
(
feedback
)
{
if
(
feedback
)
{
feedback
.
init
();
}
});
</script>
\ No newline at end of file
...
...
partials/script/magazine.html
View file @
d6d8653
<script
type=
"text/javascript"
charset=
"utf-8"
>
//详情页面JS
seajs
.
use
([
'js/channel/magazine'
,
'js/public'
],
function
(
magazine
)
{
if
(
magazine
)
{
magazine
.
init
();
}
});
seajs
.
use
([
'js/channel/magazine'
,
'js/public'
],
function
(
magazine
)
{
if
(
magazine
)
{
magazine
.
init
();
}
});
</script>
\ No newline at end of file
...
...
partials/script/search.html
View file @
d6d8653
<script
type=
"text/javascript"
>
seajs
.
use
([
"js/public"
,
"js/channel/search"
],
function
(){
});
seajs
.
use
([
"js/public"
,
"js/channel/search"
]);
</script>
\ No newline at end of file
...
...
partials/script/sport.html
View file @
d6d8653
<script
type=
"text/javascript"
>
seajs
.
use
([
"js/channel/fashion"
],
function
(){
});
seajs
.
use
([
"js/channel/fashion"
]);
</script>
\ No newline at end of file
...
...
partials/script/writer.html
View file @
d6d8653
<script
type=
"text/javascript"
charset=
"utf-8"
>
//编辑页面JS
seajs
.
use
([
'js/channel/writer'
,
'js/public'
],
function
(
writer
)
{
if
(
writer
)
{
seajs
.
use
([
'js/channel/writer'
,
'js/public'
],
function
(
writer
)
{
if
(
writer
)
{
writer
.
init
();
}
});
...
...
Please
register
or
login
to post a comment