Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
8 years ago
Commit
e79ff91e5fcf59e561be5b7e2896fbb6feab38c4
1 parent
cc633616
union type
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
apps/3party/controllers/material.js
apps/3party/views/partial/tbl.hbs
apps/3party/controllers/material.js
View file @
e79ff91
...
...
@@ -19,6 +19,7 @@ const index = (req, res, next) => {
}).
then
(
result
=>
{
if
(
result
&&
result
.
code
===
200
)
{
res
.
render
(
'material'
,
Object
.
assign
({
unionType
:
req
.
query
.
union_type
,
module
:
'3party'
,
page
:
'material'
,
layout
:
false
,
...
...
apps/3party/views/partial/tbl.hbs
View file @
e79ff91
...
...
@@ -11,8 +11,8 @@
{{#
each
product_list
}}
<tr>
<td>
{{
productSkn
}}
</td>
<td><a
href=
"//item.yohobuy.com/p
{{
productId
}}
.html"
target=
"_blank"
>
{{
productName
}}
</a></td>
<td><a
href=
"//item.yohobuy.com/p
{{
productId
}}
.html"
target=
"_blank"
><img
src=
"
{{
picImgUrl
}}
"
alt=
""
></a></td>
<td><a
href=
"//item.yohobuy.com/p
{{
productId
}}
.html
{{#if
@root
.
unionType
}}
?union_type=
{{
@root
.
unionType
}}{{/if}}
"
target=
"_blank"
>
{{
productName
}}
</a></td>
<td><a
href=
"//item.yohobuy.com/p
{{
productId
}}
.html
{{#if
@root
.
unionType
}}
?union_type=
{{
@root
.
unionType
}}{{/if}}
"
target=
"_blank"
><img
src=
"
{{
picImgUrl
}}
"
alt=
""
></a></td>
<td>
{{
standardVal
}}
</td>
<td>
{{
style
}}
</td>
<td>
{{
pattern
}}
</td>
...
...
Please
register
or
login
to post a comment