Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
Plain Diff
Browse Files
Authored by
毕凯
2017-05-17 17:25:47 +0800
Commit
8622a0b45dc670abc863903ac4054b4a03493b56
2 parents
dfaad6ad
d5c01ca0
Merge branch 'feature/shareBuy' into 'release/5.7'
返利状态 See merge request
!568
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
apps/activity/models/share-buy.js
apps/activity/views/action/share-buy/my-rebeat.hbs
public/scss/activity/share-buy/_my-rebeat.css
apps/activity/models/share-buy.js
View file @
8622a0b
...
...
@@ -229,6 +229,7 @@ module.exports = class extends global.yoho.BaseModel {
_
.
forEach
(
result
.
data
.
detail
,
function
(
val
)
{
val
.
cancel
=
parseInt
(
val
.
status
,
10
)
===
0
?
true
:
false
;
val
.
already
=
parseInt
(
val
.
status
,
10
)
===
2
?
true
:
false
;
dateTime
=
new
Date
(
val
.
createTime
);
...
...
apps/activity/views/action/share-buy/my-rebeat.hbs
View file @
8622a0b
...
...
@@ -26,8 +26,8 @@
{{#
detail
}}
<li>
<p
class=
"earnings-info"
>
<span
class=
"num"
>
{{#if
cancel
}}
-
{{else}}
+
{{/if}}{{
coinNum
}}
</span>
<span>
{{
nickName
}}
<i
{{#if
cancel
}}
class=
"cancel"
{{/if}}
>
{{
statusStr
}}
</i></span>
<span
class=
"num"
>
{{#if
cancel
}}
-
{{/if}}{{#if
already
}}
+
{{/if}}{{
coinNum
}}
</span>
<span
class=
"user"
>
{{
nickName
}}
<i
{{#if
cancel
}}
class=
"cancel"
{{/if}}
>
{{
statusStr
}}
</i></span>
</p>
<p
class=
"order-info"
>
...
...
public/scss/activity/share-buy/_my-rebeat.css
View file @
8622a0b
...
...
@@ -56,15 +56,15 @@
}
i
{
display
:
inline-block
;
width
:
90px
;
height
:
29px
;
display
:
block
;
height
:
28px
;
background-color
:
#b0b0b0
;
color
:
#fff
;
font-size
:
18px
;
border-radius
:
10px
;
line-height
:
29px
;
text-align
:
center
;
margin-left
:
5px
;
padding
:
0
10px
;
line-height
:
32px
;
}
.cancel
{
...
...
@@ -76,6 +76,11 @@
float
:
right
;
text-align
:
right
;
}
.user
{
display
:
flex
;
align-items
:
center
;
}
}
.order-info
{
...
...
Please
register
or
login
to post a comment