Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
b2cc42f5b171f17428865e1c71b53c6381762806
2 parents
dd48fd1c
7ae58185
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
template/www.yohobuy.com/partials/layout/page-header.phtml
web-static/js/header.js
template/www.yohobuy.com/partials/layout/page-header.phtml
View file @
b2cc42f
...
...
@@ -304,7 +304,7 @@
</script>
<script
type=
"text/html"
id=
"tmpl-my-login-new"
>
<div
class=
"myyoho-info-header clearfix"
>
<div
class=
"myyoho-photo"
><img
src=
"\{\{headimg it.head_ico\}\}"
alt=
""
data-url
=
""
></div>
<div
class=
"myyoho-photo"
><img
src=
"\{\{head
er
img it.head_ico\}\}"
alt=
""
data-url
=
""
></div>
<h
3
class=
"user-email"
><a
href=
"http://www.yohobuy.com/home?t=\{\{random\}\}"
>\
{
\{profile_name\
}
\}</a></h
3
>
<h
3
class=
"user-level"
>
VIP:
...
...
web-static/js/header.js
View file @
b2cc42f
...
...
@@ -294,13 +294,14 @@ handlebars.registerHelper('timestamp', function() {
* @return {[type]} [description]
*/
handlebars
.
registerHelper
(
'headerimg'
,
function
(
headerimg
)
{
if
(
headerimg
===
''
){
return
'http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100'
;
}
else
{
if
(
headerimg
===
''
)
{
return
'http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif'
+
'?imageView/2/w/100/h/100'
;
}
else
{
return
headerimg
;
}
});
/**
* 判断等级为3的helper
...
...
@@ -1488,4 +1489,4 @@ function init() {
actionCover
();
//初次登录弹框
actionAddKeyWords
();
//增加关键字
}
init
();
init
();
\ No newline at end of file
...
...
Please
register
or
login
to post a comment