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-09 10:07:56 +0800
Commit
016aadbd72007a1474b00c2a1ae333ad99271417
2 parents
a600332c
70caa0e1
Merge branch 'feature/guang' into release/5.7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
apps/guang/views/action/guang.hbs
apps/guang/views/partial/index/product-list.hbs
public/js/product/detail/functions.js
public/scss/guang/_info-list.css
apps/guang/views/action/guang.hbs
View file @
016aadb
<div
class=
"guang-list-page guang-page yoho-page"
id=
"guangList"
>
{{#
guang
}}
<ul
id=
"guang-nav"
class=
"guang-nav
clearfix
"
>
<ul
id=
"guang-nav"
class=
"guang-nav"
>
{{#
navs
}}
<li
class=
"guang-nav-item
{{#
focus
}}
focus
{{/
focus
}}
"
data-type=
{{
typeId
}}
>
{{
type
}}
...
...
apps/guang/views/partial/index/product-list.hbs
View file @
016aadb
...
...
@@ -5,7 +5,9 @@
</a>
</div>
<div
class=
"goods-info"
>
<p
class=
"title"
><a
href=
"
{{
href
}}
"
>
{{
product_name
}}
</a></p>
<p
class=
"price"
>
¥
{{
price
}}
</p>
<a
href=
"
{{
href
}}
"
>
<p
class=
"title"
>
{{
product_name
}}
</p>
<p
class=
"price"
>
¥
{{
price
}}
</p>
</a>
</div>
</div>
\ No newline at end of file
...
...
public/js/product/detail/functions.js
View file @
016aadb
...
...
@@ -87,7 +87,10 @@ let functions = {
productSku
:
sku
,
new_product_skn
:
skn
,
buyNumber
:
buyNum
}
},
xhrFields
:
{
withCredentials
:
true
},
}).
done
(
function
(
res
)
{
let
cartNum
;
...
...
public/scss/guang/_info-list.css
View file @
016aadb
...
...
@@ -59,14 +59,15 @@
.guang-nav
{
background-color
:
#fff
;
overflow
:
hidden
;
width
:
100%
;
height
:
80px
;
display
:
flex
;
justify-content
:
space-around
;
}
.guang-nav-item
{
float
:
left
;
color
:
#ccc
;
font-size
:
14
PX
;
width
:
100px
;
text-align
:
center
;
line-height
:
80px
;
...
...
Please
register
or
login
to post a comment