Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
姜枫
9 years ago
Commit
a88f19fe8931e9b696938b27430a801e3a870380
1 parent
3dfeea42
master
...
develop
feature/catch
feature/docker
feature/login-msg
feature/login-ua-ip
feature/removCamel
feature/safe-bug
feature/sessionKey
feature/setting
feature/vip
feature/webpack2
feature/wsl5.3
gray
release/2.0
release/fontBack2.0
fix collect editorial bug
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
apps/me/models/favorite.js
apps/me/views/partial/collection/editorial.hbs
public/scss/me/favorite/_editorial.css
apps/me/models/favorite.js
View file @
a88f19f
...
...
@@ -28,7 +28,7 @@ const favorite = {
},
getFavoriteEditoreial
(
param
)
{
return
ServiceAPI
.
get
(
'
/
guang/api/*/favorite/getUserFavArticleList'
,
param
);
return
ServiceAPI
.
get
(
'guang/api/*/favorite/getUserFavArticleList'
,
param
);
},
cancelFavorite
(
uid
,
ids
,
type
)
{
...
...
@@ -43,7 +43,7 @@ const favorite = {
},
cancelEditorialFavorite
(
uid
,
ids
)
{
return
ServiceAPI
.
get
(
'
/
guang/api/*/favorite/cancelFavorite'
,
{
return
ServiceAPI
.
get
(
'guang/api/*/favorite/cancelFavorite'
,
{
article_id
:
ids
,
uid
:
uid
});
...
...
apps/me/views/partial/collection/editorial.hbs
View file @
a88f19f
...
...
@@ -9,6 +9,7 @@
{{>
icon
/
checkbox
}}
</div>
<div
class=
"editorial-cover"
>
<div
class=
"editorial-cate"
>
{{
categoryName
}}
</div>
<a
href=
"/editorial/
{{
id
}}
.html"
target=
"_blank"
>
<img
src=
"
{{
image
src
240
160
1
}}
"
alt=
""
>
</a>
...
...
public/scss/me/favorite/_editorial.css
View file @
a88f19f
...
...
@@ -43,6 +43,17 @@
.editorial-cover
{
width
:
240px
;
height
:
160px
;
position
:
relative
;
.editorial-cate
{
position
:
absolute
;
top
:
0
;
left
:
0
;
padding
:
5px
10px
;
background-color
:
#000
;
color
:
#fff
;
font-size
:
14px
;
}
}
.editorial-info
{
...
...
Please
register
or
login
to post a comment