Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
郝肖肖
9 years ago
Commit
c33650d623a2e13208097e069c9a1027bc598505
1 parent
d6dd91dc
立即领取样式修正
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
10 deletions
static/sass/product/_shop-index.css
template/m.yohobuy.com/actions/product/index/shop.phtml
yohobuy/m.yohobuy.com/application/models/Product/List.php
static/sass/product/_shop-index.css
View file @
c33650d
...
...
@@ -597,6 +597,10 @@
height
:
inherit
;
}
.padding-20
{
padding
:
20px
0
!important
;
}
.coupon-big
{
height
:
120px
;
width
:
580px
;
...
...
@@ -636,7 +640,7 @@
position
:
absolute
;
height
:
inherit
;
line-height
:
25px
;
margin-top
:
10px
;
padding
:
10px
0
;
}
}
...
...
@@ -683,7 +687,7 @@
position
:
absolute
;
height
:
inherit
;
line-height
:
25px
;
margin-top
:
10px
;
padding
:
10px
0
;
}
}
}
...
...
template/m.yohobuy.com/actions/product/index/shop.phtml
View file @
c33650d
...
...
@@ -67,9 +67,15 @@
{
{name
}
}
</span>
</div>
<div
class='coupon-right'>
{
{#if
status
}
}
立即领取
{
{^
}
}
已领取
{
{/if
}
}
</div>
{
{#if
status
}
}
<div
class='coupon-right
receive-btn'>
立即领取
</div>
{
{^
}
}
<div
class='coupon-right
padding
-20
'>
已领取
</div>
{
{/if
}
}
</div><!--/coupon-big-->
{
{/each
}
}
{
{^
}
}
...
...
@@ -84,9 +90,15 @@
{
{name
}
}
</span>
</div>
<div
class='coupon-right'>
{
{#if
status
}
}
立即领取
{
{^
}
}
已领取
{
{/if
}
}
</div>
{
{#if
status
}
}
<div
class='coupon-right
receive-btn'>
立即领取
</div>
{
{^
}
}
<div
class='coupon-right
padding
-20
'>
已领取
</div>
{
{/if
}
}
</div><!--/coupon-small-->
{
{/each
}
}
{
{/if
}
}
...
...
yohobuy/m.yohobuy.com/application/models/Product/List.php
View file @
c33650d
...
...
@@ -514,8 +514,8 @@ class ListModel
'name'
=>
$value
[
'coupon_name'
],
'pic'
=>
$value
[
'coupon_pic'
],
'money'
=>
$value
[
'money'
],
// 'status' => $key === 1,
'status'
=>
$value
[
'status'
]
===
1
,
'status'
=>
$key
===
1
,
// 'status' => $value['status'] === 1,
);
}
}
...
...
Please
register
or
login
to post a comment