Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-frontend
·
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
xuqi
2015-05-11 10:11:57 +0800
Commit
2c6d5d6576306e5a8e9b9b860b85d02b53d3fc34
1 parent
df426dcb
逛页面添加作者链接
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
mobile/public/sass/saunter/_article-author.scss
mobile/views/partials/saunter/article-author.html
mobile/public/sass/saunter/_article-author.scss
View file @
2c6d5d6
...
...
@@ -10,21 +10,24 @@
margin-left
:
30rem
/
$pxConvertRem
;
}
.avatar
{
.avatar
-container
{
float
:
left
;
position
:
relative
;
top
:
50%
;
margin-top
:
-25rem
/
$pxConvertRem
;
margin-top
:
-33rem
/
$pxConvertRem
;
}
.avatar
{
width
:
50rem
/
$pxConvertRem
;
height
:
50rem
/
$pxConvertRem
;
vertical-align
:
middle
;
@include
border-radius
(
50rem
/
$pxConvertRem
);
}
.name
{
float
:
left
;
font-size
:
28rem
/
$pxConvertRem
;
color
:
#000
;
text-decoration
:
none
;
}
.intro
{
...
...
mobile/views/partials/saunter/article-author.html
View file @
2c6d5d6
{{# author}}
<div
class=
"article-author partial clearfix"
>
<img
class=
"avatar"
src=
"{{avatar}}"
>
<span
class=
"name"
>
{{name}}
</span>
<a
class=
"avatar-container"
href=
"{{url}}"
>
<img
class=
"avatar"
src=
"{{avatar}}"
>
</a>
<a
class=
"name"
href=
"{{url}}"
>
{{name}}
</a>
<span
class=
"intro"
>
{{intro}}
</span>
</div>
{{/ author}}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment