Showing
2 changed files
with
6 additions
and
19 deletions
@@ -95,6 +95,7 @@ likeHammer.on('tap', function(e) { | @@ -95,6 +95,7 @@ likeHammer.on('tap', function(e) { | ||
95 | success: function(data) { | 95 | success: function(data) { |
96 | if (data.code === 200) { | 96 | if (data.code === 200) { |
97 | $this.toggleClass('like'); | 97 | $this.toggleClass('like'); |
98 | + tip.show(data.message); | ||
98 | } else if (data.code === 400 || data.code === 412) { | 99 | } else if (data.code === 400 || data.code === 412) { |
99 | location.href = data.data; //未登录跳转登录页面 | 100 | location.href = data.data; //未登录跳转登录页面 |
100 | } else { | 101 | } else { |
1 | -.ps-list-page { | ||
2 | - background-color: #f0f0f0; | ||
3 | 1 | ||
4 | - .nav-tab, .ps-content { | ||
5 | - width: 100%; | ||
6 | - } | ||
7 | 2 | ||
8 | - .nav-tab { | ||
9 | - height: 60rem / $pxConvertRem; | ||
10 | - padding: 10rem / $pxConvertRem 0; | ||
11 | - background-color: #fff; | ||
12 | - } | ||
13 | 3 | ||
14 | - .star-nav, .plus-nav { | ||
15 | - box-sizing: border-box; | ||
16 | - float: left; | ||
17 | - width: 50%; | ||
18 | - height: 60rem / $pxConvertRem; | ||
19 | - line-height: 60rem / $pxConvertRem; | ||
20 | - font-size: 16px; | ||
21 | - text-align: center; | ||
22 | - color: #ccc; | 4 | + |
23 | 5 | ||
24 | &.focus { | 6 | &.focus { |
25 | color: #000; | 7 | color: #000; |
@@ -42,6 +24,10 @@ | @@ -42,6 +24,10 @@ | ||
42 | > a { | 24 | > a { |
43 | display: block; | 25 | display: block; |
44 | height: 310rem / $pxConvertRem; | 26 | height: 310rem / $pxConvertRem; |
27 | + > img { | ||
28 | + width: 100%; | ||
29 | + height: 100%; | ||
30 | + } | ||
45 | } | 31 | } |
46 | } | 32 | } |
47 | 33 |
-
Please register or login to post a comment