Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
f3c9eb520096181145862af96af25fe3b7f97d84
1 parent
9e7bace9
合并develop代码
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
19 deletions
static/js/guang/plus-star/detail.js
static/sass/guang/_plus-star.scss
static/js/guang/plus-star/detail.js
View file @
f3c9eb5
...
...
@@ -95,6 +95,7 @@ likeHammer.on('tap', function(e) {
success
:
function
(
data
)
{
if
(
data
.
code
===
200
)
{
$this
.
toggleClass
(
'like'
);
tip
.
show
(
data
.
message
);
}
else
if
(
data
.
code
===
400
||
data
.
code
===
412
)
{
location
.
href
=
data
.
data
;
//未登录跳转登录页面
}
else
{
...
...
static/sass/guang/_plus-star.scss
View file @
f3c9eb5
.ps-list-page
{
background-color
:
#f0f0f0
;
.nav-tab
,
.ps-content
{
width
:
100%
;
}
.nav-tab
{
height
:
60rem
/
$pxConvertRem
;
padding
:
10rem
/
$pxConvertRem
0
;
background-color
:
#fff
;
}
.star-nav
,
.plus-nav
{
box-sizing
:
border-box
;
float
:
left
;
width
:
50%
;
height
:
60rem
/
$pxConvertRem
;
line-height
:
60rem
/
$pxConvertRem
;
font-size
:
16px
;
text-align
:
center
;
color
:
#ccc
;
&
.focus
{
color
:
#000
;
...
...
@@ -42,6 +24,10 @@
>
a
{
display
:
block
;
height
:
310rem
/
$pxConvertRem
;
>
img
{
width
:
100%
;
height
:
100%
;
}
}
}
...
...
Please
register
or
login
to post a comment