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
Rock Zhang
2015-12-04 19:04:07 +0800
Commit
75255329e9573f7c1e61687c6c32bd8aeb825790
2 parents
4be5e20e
6fbd6ce1
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
static/js/common.js
static/sass/layout/_footer.scss
static/js/common.js
View file @
7525532
...
...
@@ -140,7 +140,7 @@ function reMarginFooter(fixedElement) {
//已登录
$op
.
prepend
(
'
Hi,
'
+
'
<span>Hi,</span>
'
+
'<a class="user-name" href="http://m.yohobuy.com/home?tmp='
+
Math
.
random
()
+
'">'
+
user
[
0
]
+
'</a>'
+
'<a href="http://m.yohobuy.com/passport/signout/index?token='
+
user
[
3
]
+
'">退出</a>'
);
...
...
static/sass/layout/_footer.scss
View file @
7525532
...
...
@@ -7,11 +7,21 @@
padding
:
0
15px
;
height
:
60px
;
line-height
:
60px
;
span
{
display
:
inline-block
;
overflow
:hidden
;
}
a
{
display
:
inline-block
;
overflow
:hidden
;
}
.user-name
{
text-decoration
:
underline
;
margin-left
:
.3em
;
margin-right
:
1em
;
max-width
:
200rem
/
$pxConvertRem
;
text-overflow
:ellipsis
;
white-space
:nowrap
;
}
.back-to-top
{
...
...
Please
register
or
login
to post a comment