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
毕凯
7 years ago
Commit
789250d93232e280e545346ccbafb9d98ce97d6d
2 parents
3ccadc9c
9e506beb
Merge branch 'gray' into 'master'
Gray See merge request
!1047
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
4 deletions
apps/activity/controllers/coupon-floor.js
package.json
public/hbs/home/coin-get-list.hbs
public/scss/home/family.page.css
utils/payment-process.js
apps/activity/controllers/coupon-floor.js
View file @
789250d
...
...
@@ -3,11 +3,12 @@
const
model
=
require
(
'../models/coupon-floor'
),
headerModel
=
require
(
'../../../doraemon/models/header'
);
const
CONTENT_CODE_DEFAULT
=
'b78b32ed81b18dde8ac84fd33602b88b'
;
// 取得是潮童频道的资源码
exports
.
index
=
(
req
,
res
,
next
)
=>
{
let
uid
=
req
.
user
.
uid
||
req
.
query
.
uid
;
let
param
=
{
contentCode
:
req
.
query
.
code
contentCode
:
req
.
query
.
code
||
CONTENT_CODE_DEFAULT
};
if
(
uid
)
{
...
...
package.json
View file @
789250d
{
"name"
:
"m-yohobuy-node"
,
"version"
:
"6.2.
7
"
,
"version"
:
"6.2.
8
"
,
"private"
:
true
,
"description"
:
"A New Yohobuy Project With Express"
,
"repository"
:
{
...
...
public/hbs/home/coin-get-list.hbs
View file @
789250d
...
...
@@ -18,7 +18,7 @@
<span
class=
"coin-pic-s"
></span>
<span>
{{#if
points
}}{{
points
}}{{/if}}{{#if
point
}}{{
point
}}{{/if}}
</span>
<span
class=
"old-price"
>
{{
discountPoints
}}
</span>
<span
class=
"discount"
>
Lv.3会员9折优惠
</span>
{{#if
vipDesc
}}
<span
class=
"discount"
>
{{
vipDesc
}}
</span>
{{/if}}
</div>
<div
class=
"remain"
>
仅剩
{{#if
stock
}}{{
stock
}}{{/if}}{{#if
num
}}{{
num
}}{{/if}}
份
</div>
</div>
...
...
public/scss/home/family.page.css
View file @
789250d
...
...
@@ -399,6 +399,9 @@
.next
{
float
:
left
;
display
:
inline-block
;
width
:
100%
;
line-height
:
40px
;
}
}
...
...
utils/payment-process.js
View file @
789250d
...
...
@@ -191,7 +191,7 @@ function tranformPayment(data, orderInfo, cartType, skuList, orderComputeData) {
obj
.
id
=
good
.
product_sku
;
obj
.
thumb
=
helpers
.
image
(
good
.
goods_images
,
120
,
160
);
obj
.
name
=
good
.
product_name
;
obj
.
color
=
good
.
color_name
;
obj
.
color
=
good
.
factory_goods_name
||
good
.
color_name
;
obj
.
size
=
good
.
size_name
;
obj
.
count
=
good
.
buy_number
;
obj
.
price
=
good
.
sales_price
;
...
...
Please
register
or
login
to post a comment