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 14:45:17 +0800
Commit
518072041aa415ae313ebc644d1559323e6f5acc
1 parent
818d4803
作者点击添加链接
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
13 deletions
mobile/public/sass/saunter/_article-author.scss
mobile/views/partials/saunter/article-author.html
mobile/public/sass/saunter/_article-author.scss
View file @
5180720
...
...
@@ -6,18 +6,13 @@
border-bottom
:
1px
solid
#e0e0e0
;
background
:
#fff
;
>
*
{
a
>
*
{
margin-left
:
30rem
/
$pxConvertRem
;
}
.avatar-container
{
float
:
left
;
position
:
relative
;
top
:
50%
;
margin-top
:
-33rem
/
$pxConvertRem
;
}
.avatar
{
float
:
left
;
margin-top
:
20rem
/
$pxConvertRem
;
width
:
50rem
/
$pxConvertRem
;
height
:
50rem
/
$pxConvertRem
;
@include
border-radius
(
50rem
/
$pxConvertRem
);
...
...
@@ -27,7 +22,6 @@
float
:
left
;
font-size
:
28rem
/
$pxConvertRem
;
color
:
#000
;
text-decoration
:
none
;
}
.intro
{
...
...
mobile/views/partials/saunter/article-author.html
View file @
5180720
{{# author}}
<div
class=
"article-author partial clearfix"
>
<a
class=
"avatar-container"
href=
"{{url}}"
>
<div
class=
"article-author partial"
>
<a
class=
"clearfix"
href=
"{{url}}"
>
<img
class=
"avatar"
src=
"{{avatar}}"
>
</a>
<a
class=
"name"
href=
"{{url}}"
>
{{name}}
</a>
<span
class=
"name"
>
{{name}}
</span>
<span
class=
"intro"
>
{{intro}}
</span>
</a>
</div>
{{/ author}}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment