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
Plain Diff
Browse Files
Authored by
郭成尧
9 years ago
Commit
dc547be6f0a4be311339a72ec37bf1291a838ef0
2 parents
6d5c425e
243594ba
合并代码
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
389 additions
and
298 deletions
apps/product/models/simulation.js
public/js/product/product.discount.js
public/scss/product/_detail.css
public/scss/product/_filter-box.css
public/scss/product/_good.css
public/scss/product/_hot-rank.css
public/scss/product/_index.css
public/scss/product/_latest-walk.css
public/scss/product/_left-content.css
public/scss/product/_list.css
public/scss/product/_new-sale.css
public/scss/product/_no-result.css
public/scss/product/_search.css
public/scss/product/_shop-entry.css
public/scss/product/sale/_index.css
public/scss/product/sale/_new-sale.css
apps/product/models/simulation.js
View file @
dc547be
...
...
@@ -2,7 +2,7 @@
* @Author: Targaryen
* @Date: 2016-05-19 16:48:43
* @Last Modified by: Targaryen
* @Last Modified time: 2016-05-
20 13:56:26
* @Last Modified time: 2016-05-
19 17:02:34
*/
'use strict'
;
...
...
@@ -218,14 +218,19 @@ exports.discount = () => {
return
{
module
:
'product'
,
page
:
'discount'
,
saleList
:
{
saleBanner
:
{
saleList
:
{
saleBanner
:
{
bannerHeight
:
500
,
list
:
[{
img
:
'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
},
{
img
:
'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
}]
list
:
[
{
img
:
'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
},
{
img
:
'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
}
]
},
saleTitle
:
{
...
...
@@ -234,53 +239,95 @@ exports.discount = () => {
discount
:
'5折'
,
time
:
'12313'
},
sort
:
[{
name
:
'全部'
,
number
:
10
},
{
name
:
'上装'
,
number
:
20
},
{
name
:
'夏装'
,
number
:
5
},
{
name
:
'衣服'
,
number
:
20
}]
sort
:
[
{
name
:
'全部'
,
number
:
10
},
{
name
:
'上装'
,
number
:
20
},
{
name
:
'夏装'
,
number
:
5
},
{
name
:
'衣服'
,
number
:
20
}
],
},
filters
:
{
checkedConditions
:
{
conditions
:
{
price
:
{
href
:
'www.baidu.com'
,
name
:
'低价'
,
customPrice
:
{
min
:
'120'
,
max
:
'200'
filters
:
{
checkedConditions
:
{
conditions
:
{
price
:
{
href
:
'www.baidu.com'
,
name
:
'低价'
,
customPrice
:
{
min
:
'120'
,
max
:
'200'
}
}
}
}
}
}
},
},
opts
:
{
sortType
:
[{
href
:
'www.baidu.com'
},
{
name
:
'合适'
},
{
hasSortOrient
:
{
active
:
{
desc
:
{
opts
:
{
sortType
:
[
{
href
:
'www.baidu.com'
},
{
name
:
'合适'
},
{
hasSortOrient
:
{
active
:
{
desc
:
{
}
}
}
}
]
},
goods
:
[
{
tags
:
{
isNew
:
true
},
url
:
'www.'
,
thumb
:
'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
,
name
:
'123123货物'
,
brand
:
{
url
:
'123'
,
name
:
'1231'
},
marketPrice
:
'231'
},
{
tags
:
{
isNew
:
true
},
url
:
'www.'
,
thumb
:
'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
,
name
:
'123123货物'
,
brand
:
{
url
:
'123'
,
name
:
'1231'
},
marketPrice
:
'231'
}
}]
}
]
}
};
};
...
...
@@ -294,11 +341,14 @@ exports.other = () => {
saleList
:
{
saleBanner
:
{
bannerHeight
:
500
,
list
:
[{
img
:
'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
},
{
img
:
'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
}]
list
:
[
{
img
:
'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
},
{
img
:
'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
}
]
},
...
...
@@ -309,19 +359,22 @@ exports.other = () => {
leftContent
:
{
allDiscount
:
{
list
:
[{
href
:
'www.1'
,
name
:
'水货'
,
num
:
'123'
},
{
href
:
'www.1'
,
name
:
'水货'
,
num
:
'123'
},
{
href
:
'www.1'
,
name
:
'水货'
,
num
:
'123'
}
list
:
[
{
href
:
'www.1'
,
name
:
'水货'
,
num
:
'123'
},
{
href
:
'www.1'
,
name
:
'水货'
,
num
:
'123'
},
{
href
:
'www.1'
,
name
:
'水货'
,
num
:
'123'
}
]
},
...
...
@@ -332,52 +385,65 @@ exports.other = () => {
name
:
'全部商品'
,
updateNum
:
'1423'
},
list
:
[{
name
:
'大衣'
,
num
:
'123'
,
childList
:
[{
name
:
'小内衣'
,
num
:
'10'
,
href
:
'www'
},
{
name
:
'中内衣'
,
num
:
'10'
,
href
:
'www'
},
{
name
:
'大内衣'
,
num
:
'10'
,
href
:
'www'
}]
}]
list
:
[
{
name
:
'大衣'
,
num
:
'123'
,
childList
:
[
{
name
:
'小内衣'
,
num
:
'10'
,
href
:
'www'
},
{
name
:
'中内衣'
,
num
:
'10'
,
href
:
'www'
},
{
name
:
'大内衣'
,
num
:
'10'
,
href
:
'www'
}
]
}
]
}
},
goods
:
[{
tags
:
{
isNew
:
true
},
url
:
'www.'
,
thumb
:
'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
,
name
:
'123123货物'
,
brand
:
{
url
:
'123'
,
name
:
'1231'
},
marketPrice
:
'231'
},
{
tags
:
{
isNew
:
true
},
url
:
'www.'
,
thumb
:
'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
,
name
:
'123123货物'
,
brand
:
{
url
:
'123'
,
name
:
'1231'
goods
:
[
{
tags
:
{
isNew
:
true
},
url
:
'www.'
,
thumb
:
'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
,
name
:
'123123货物'
,
brand
:
{
url
:
'123'
,
name
:
'1231'
},
marketPrice
:
'231'
},
marketPrice
:
'231'
}]
{
tags
:
{
isNew
:
true
},
url
:
'www.'
,
thumb
:
'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
,
name
:
'123123货物'
,
brand
:
{
url
:
'123'
,
name
:
'1231'
},
marketPrice
:
'231'
}
]
}
};
...
...
public/js/product/product.discount.js
View file @
dc547be
var
$
=
require
(
'yoho-jquery'
),
$navItem
=
$
(
'.sale-nav li'
),
lazyLoad
=
require
(
'yoho-jquery-lazyload'
);
// var $ = require('yoho-jquery');
// $navItem = $('.sale-nav li'),
// lazyLoad = require('yoho-jquery-lazyload');
require
(
'../header'
);
require
(
'
../index/slid
er'
);
require
(
'
sale/bann
er'
);
lazyLoad
(
$
(
'img.lazy'
));
$
(
'.slide-container'
).
slider
();
$navItem
.
on
(
'click'
,
function
()
{
$
(
this
).
siblings
(
'.active'
).
removeClass
(
'active'
);
$
(
this
).
addClass
(
'active'
);
});
...
...
public/scss/product/_detail.css
View file @
dc547be
...
...
@@ -12,7 +12,8 @@
margin-top
:
5px
;
}
.home
,
.brand-fav
{
.home
,
.brand-fav
{
display
:
inline-block
;
width
:
32px
;
height
:
32px
;
...
...
@@ -94,7 +95,9 @@
background
:
#000
;
}
.yep-tag
,
.ymp-tag
,
.sale-tag
{
.yep-tag
,
.ymp-tag
,
.sale-tag
{
background
:
#ff565b
;
}
...
...
@@ -300,7 +303,8 @@
cursor
:
pointer
;
}
.size-warn
,
.num-warn
{
.size-warn
,
.num-warn
{
float
:
left
;
height
:
24px
;
line-height
:
24px
;
...
...
@@ -369,7 +373,8 @@
text-align
:
center
;
cursor
:
default
;
&.had-lc,
&.lc-sold-out
{
&.had-lc,
&.lc-sold-out
{
background
:
#ccc
;
}
...
...
@@ -388,15 +393,15 @@
.lc-container
{
position
:
absolute
;
top
:
calc
(
-
(
$
arrowTop
-
1px
));
right
:
calc
(
-
(
width
(
$
arrow
)
+
$
contentW
));
top
:
calc
(
0
-
(
$
arrowTop
-
1px
));
right
:
calc
(
0
-
(
width
(
$
arrow
)
+
$
contentW
));
z-index
:
1
;
}
.lc-arrow
{
position
:
absolute
;
top
:
$
arrowTop
;
left
:
calc
(
-
(
width
(
$
arrow
)
-
1px
));
left
:
calc
(
0
-
(
width
(
$
arrow
)
-
1px
));
width
:
width
(
$
arrow
);
height
:
height
(
$
arrow
);
background
:
resolve
(
$
arrow
);
...
...
@@ -445,7 +450,7 @@
&.hover
{
background
:
#eb3b19
;
background
:
rgba
(
233
,
38
,
1
,
.8
);
background
:
rgba
(
233
,
38
,
1
,
0
.8
);
}
&
.dis
{
...
...
@@ -453,7 +458,8 @@
}
}
.collect-product
,
.keep-shopping
{
.collect-product
,
.keep-shopping
{
display
:
inline-block
;
width
:
127px
;
height
:
48px
;
...
...
@@ -471,7 +477,7 @@
font-size
:
14px
;
}
&
.coled
.iconfont
{
&
.coled
.iconfont
{
color
:
#fa5252
;
}
}
...
...
@@ -750,7 +756,7 @@
.cc-content
{
background
:
#f5f7f6
;
padding
:
20px
20px
0
20px
;
padding
:
20px
20px
0
;
font-size
:
12px
;
h2
{
...
...
@@ -828,7 +834,8 @@
}
}
.comment
,
.consult
{
.comment
,
.consult
{
margin-top
:
10px
;
}
...
...
@@ -1014,11 +1021,15 @@
.hot-point
{
position
:
absolute
;
background
:
#fff
\
9
;
/*IE8 Hack*/
filter
:
progid
:
DXImageTransform
.
Microsoft
.
Alpha
(
Opacity
=
0
);
background
:
#fff
;
/*
IE8 Hack
*/
filter
:
progid
:
dximagetransform
.
microsoft
.
alpha
(
Opacity
=
0
);
&.hover
.pointer{
&.hover
.pointer
{
background-position
:
0
-25px
;
}
...
...
public/scss/product/_filter-box.css
View file @
dc547be
...
...
@@ -280,7 +280,8 @@
display
:
block
;
}
.multi-select-ok
,
.multi-select-cancel
{
.multi-select-ok
,
.multi-select-cancel
{
width
:
55px
;
height
:
24px
;
border
:
none
;
...
...
@@ -416,7 +417,7 @@
background
:
resolve
(
'product/senior-up.png'
)
no-repeat
;
background-position
:
50%
0
;
top
:
-1px
;
top
:
1px
\
9
;
top
:
1px
/
9
;
}
.checkbox
{
...
...
@@ -445,7 +446,8 @@
width
:
25%
;
}
/*高级选项箭头位置IE11Hack*/
_
:-ms-fullscreen
,
:root
.senior-up-icon
{
/* 高级选项箭头位置IE11Hack */
_
:-ms-fullscreen
,
:root
.senior-up-icon
{
top
:
1px
;
}
\ No newline at end of file
}
...
...
public/scss/product/_good.css
View file @
dc547be
...
...
@@ -9,7 +9,8 @@
height
:
300px
;
position
:
relative
;
.good-thumb,
img.lazy
{
.good-thumb,
img.lazy
{
display
:
block
;
overflow
:
hidden
;
width
:
100%
;
...
...
@@ -40,6 +41,7 @@
margin-top
:
16px
;
line-height
:
1.5
;
display
:
block
;
@mixin
ellipsis;
}
...
...
@@ -100,10 +102,12 @@
}
.new-festival-tag
{
background
:
#000
000
;
background
:
#000
;
}
.yep-tag
,
.ymp-tag
,
.sale-tag
{
.yep-tag
,
.ymp-tag
,
.sale-tag
{
background
:
#ff565b
;
}
...
...
@@ -124,7 +128,7 @@
}
.good-item-wrapper
{
border
:
1px
solid
#ddd
ddd
;
border
:
1px
solid
#ddd
;
padding-left
:
20px
;
padding-top
:
18px
;
padding-right
:
20px
;
...
...
@@ -132,7 +136,7 @@
background
:
#fff
;
display
:
none
;
.good-info-main{
.good-info-main
{
float
:
left
;
}
...
...
@@ -160,7 +164,8 @@
width
:
50px
;
margin-bottom
:
15px
;
a,
img
{
a,
img
{
display
:
block
;
overflow
:
hidden
;
width
:
100%
;
...
...
@@ -193,5 +198,4 @@
}
}
}
...
...
public/scss/product/_hot-rank.css
View file @
dc547be
...
...
@@ -43,7 +43,7 @@
.item-content
{
width
:
100%
;
padding
:
14px
0
0
0
;
padding
:
14px
0
0
;
height
:
77px
;
overflow
:
hidden
;
text-align
:
center
;
...
...
@@ -61,7 +61,7 @@
p
{
display
:
inline-block
;
margin
:
3px
0
0
0
;
margin
:
3px
0
0
;
font-size
:
12px
;
text-align
:
center
;
line-height
:
20px
;
...
...
@@ -131,12 +131,10 @@
}
}
.hot-week-list
{
width
:
1160px
;
.good-info
{
width
:
280px
;
height
:
464px
;
margin
:
10px
10px
0
0
;
...
...
@@ -174,15 +172,15 @@
p
{
display
:
inline-block
;
margin
:
3px
0
0
0
;
margin
:
3px
0
0
;
font-size
:
12px
;
text-align
:
center
;
line-height
:
20px
;
color
:
#000
;
.sale-price
{
margin
:
0
10px
0
0
;
}
}
.sale-price
{
margin
:
0
10px
0
0
;
}
}
}
...
...
@@ -226,7 +224,8 @@
border-top
:
1px
solid
#555
;
}
li
.current
,
li
:hover
{
li
.current
,
li
:hover
{
background
:
#555
;
a
{
...
...
public/scss/product/_index.css
View file @
dc547be
...
...
@@ -13,7 +13,7 @@
@import
"sale/_index.css"
;
.product-page
{
/*
分页
*/
/*
分页
*/
.product-pager
{
padding
:
20px
0
;
font-size
:
12px
;
...
...
@@ -24,7 +24,6 @@
float
:
right
;
}
}
/*分页 END*/
.list-left
{
width
:
160px
;
...
...
@@ -35,12 +34,13 @@
}
}
.product-list-page
,
.new-sale-page
{
.product-list-page
,
.new-sale-page
{
.goods-container
{
height
:
auto
;
padding-top
:
25px
;
position
:
relative
;
width
:
calc
(
970px
+
10px
);
/*
每列增加右边距
*/
width
:
calc
(
970px
+
10px
);
/*
每列增加右边距
*/
.good-info
{
width
:
235px
;
...
...
@@ -61,7 +61,7 @@
}
}
/*
990px
*/
/*
990px
*/
.min-screen
.product-list-page
,
.min-screen
.new-sale-page
{
...
...
@@ -73,7 +73,7 @@
height
:
auto
;
padding-top
:
25px
;
position
:
relative
;
width
:
calc
(
810px
+
10px
);
/*
每列增加右边距
*/
width
:
calc
(
810px
+
10px
);
/*
每列增加右边距
*/
.good-info
{
width
:
195px
;
...
...
public/scss/product/_latest-walk.css
View file @
dc547be
...
...
@@ -33,6 +33,7 @@
line-height
:
18px
;
max-width
:
150px
;
margin
:
5px
0
;
@mixin
ellipsis;
}
...
...
public/scss/product/_left-content.css
View file @
dc547be
.product-page
{
.sort-container
{
width
:
100%
;
font-size
:
12px
;
border-bottom
:
1px
solid
#ebebeb
;
padding-bottom
:
10px
;
margin-bottom
:
10px
;
h2
{
height
:
28px
;
line-height
:
28px
;
color
:
#222
;
font-weight
:
bold
;
position
:
relative
;
span
{
color
:
#bbb
;
padding-left
:
5px
;
}
}
}
.product-list-nav
{
h3
{
height
:
28px
;
line-height
:
28px
;
color
:
#222
;
font-weight
:
bold
;
position
:
relative
;
text-indent
:
10px
;
cursor
:
pointer
;
span
{
color
:
#bbb
;
padding-left
:
5px
;
&.icon-triangle
{
display
:
inline-block
;
padding-left
:
0
;
width
:
0
;
height
:
0
;
border-top
:
6px
solid
#fff
;
border-left
:
6px
solid
#000
;
border-bottom
:
6px
solid
#fff
;
position
:
absolute
;
top
:
50%
;
margin-top
:
-6px
;
left
:
0
;
transition
:
transform
.3s
;
}
}
}
&
.active
.icon-triangle
{
transform
:
rotate
(
90deg
);
}
&
.active
.sort-child-list
{
display
:
block
;
}
}
.sort-child-list
{
display
:
none
;
&.new-sale
{
display
:
block
;
}
li
{
color
:
#bbb
;
&.active
{
background
:
#333
;
color
:
#fff
;
a
{
color
:
#fff
;
}
}
span
{
padding-left
:
5px
;
color
:
#bbb
;
}
}
a
{
display
:
block
;
color
:
#666
;
padding-left
:
10px
;
height
:
22px
;
line-height
:
22px
;
}
}
.nav-pic-title
{
height
:
35px
;
line-height
:
35px
;
color
:
#000
;
font-weight
:
bold
;
border-bottom
:
1px
solid
#ebebeb
;
font-size
:
12px
;
}
.pic-nav
{
display
:
block
;
li
{
margin-bottom
:
10px
;
}
li
,
img
{
display
:
block
;
width
:
100%
;
overflow
:
hidden
;
}
}
.brand-card
img
,
.brand-ad
img
{
max-width
:
100%
;
}
}
\ No newline at end of file
.product-page
{
.sort-container
{
width
:
100%
;
font-size
:
12px
;
border-bottom
:
1px
solid
#ebebeb
;
padding-bottom
:
10px
;
margin-bottom
:
10px
;
h2
{
height
:
28px
;
line-height
:
28px
;
color
:
#222
;
font-weight
:
bold
;
position
:
relative
;
span
{
color
:
#bbb
;
padding-left
:
5px
;
}
}
}
.product-list-nav
{
h3
{
height
:
28px
;
line-height
:
28px
;
color
:
#222
;
font-weight
:
bold
;
position
:
relative
;
text-indent
:
10px
;
cursor
:
pointer
;
span
{
color
:
#bbb
;
padding-left
:
5px
;
&.icon-triangle
{
display
:
inline-block
;
padding-left
:
0
;
width
:
0
;
height
:
0
;
border-top
:
6px
solid
#fff
;
border-left
:
6px
solid
#000
;
border-bottom
:
6px
solid
#fff
;
position
:
absolute
;
top
:
50%
;
margin-top
:
-6px
;
left
:
0
;
transition
:
transform
0.3s
;
}
}
}
&
.active
.icon-triangle
{
transform
:
rotate
(
90deg
);
}
&
.active
.sort-child-list
{
display
:
block
;
}
}
.sort-child-list
{
display
:
none
;
&.new-sale
{
display
:
block
;
}
li
{
color
:
#bbb
;
&.active
{
background
:
#333
;
color
:
#fff
;
a
{
color
:
#fff
;
}
}
span
{
padding-left
:
5px
;
color
:
#bbb
;
}
}
a
{
display
:
block
;
color
:
#666
;
padding-left
:
10px
;
height
:
22px
;
line-height
:
22px
;
}
}
.nav-pic-title
{
height
:
35px
;
line-height
:
35px
;
color
:
#000
;
font-weight
:
bold
;
border-bottom
:
1px
solid
#ebebeb
;
font-size
:
12px
;
}
.pic-nav
{
display
:
block
;
li
{
margin-bottom
:
10px
;
}
li
,
img
{
display
:
block
;
width
:
100%
;
overflow
:
hidden
;
}
}
.brand-card
img
,
.brand-ad
img
{
max-width
:
100%
;
}
}
...
...
public/scss/product/_list.css
View file @
dc547be
...
...
@@ -27,7 +27,8 @@
text-align
:
right
;
}
a
,
span
{
a
,
span
{
display
:
inline-block
;
height
:
20px
;
margin-right
:
5px
;
...
...
public/scss/product/_new-sale.css
View file @
dc547be
...
...
@@ -13,7 +13,6 @@
width
:
100%
;
height
:
100%
;
display
:
block
;
float
:
left
;
position
:
absolute
;
top
:
0
;
left
:
0
;
...
...
@@ -93,7 +92,8 @@
float
:
left
;
}
.pre
,
.next
{
.pre
.next
{
position
:
absolute
;
display
:
block
;
width
:
40px
;
...
...
@@ -140,7 +140,10 @@
margin-left
:
14px
;
a
{
display
:
block
;
/*
display:block;
*/
width
:
164px
;
height
:
76px
;
line-height
:
76px
;
...
...
@@ -184,6 +187,9 @@
}
}
.min-screen
.new-sale-page
.new-brands
.brands-wrap
{
.min-screen
.new-sale-page
.new-brands
.brands-wrap
{
width
:
730px
;
}
\ No newline at end of file
}
...
...
public/scss/product/_no-result.css
View file @
dc547be
...
...
@@ -9,7 +9,7 @@
}
.keyword
{
color
:
#e
e001
1
;
color
:
#e
0
1
;
}
.search-again
{
...
...
@@ -33,7 +33,9 @@
height
:
68px
;
line-height
:
68px
;
background
:
#343434
;
vertical-align
:
middle
;
/* vertical-align:middle; */
color
:
#fff
;
cursor
:
pointer
;
outline
:
none
;
...
...
@@ -48,4 +50,5 @@
font-size
:
12px
;
color
:
#999
;
}
}
\ No newline at end of file
}
...
...
public/scss/product/_search.css
View file @
dc547be
.product-search-page
{
.goods-container
{
height
:
auto
;
padding
:
25px
0
0
0
;
padding
:
25px
0
0
;
position
:
relative
;
width
:
calc
(
1150px
+
10px
);
/*
每列增加右边距
*/
width
:
calc
(
1150px
+
10px
);
/*
每列增加右边距
*/
.good-info
{
width
:
222px
;
...
...
@@ -24,7 +24,7 @@
height
:
auto
;
padding-top
:
25px
;
position
:
relative
;
width
:
calc
(
990px
+
10px
);
/*
每列增加右边距
*/
width
:
calc
(
990px
+
10px
);
/*
每列增加右边距
*/
.good-info
{
width
:
190px
;
...
...
public/scss/product/_shop-entry.css
View file @
dc547be
...
...
@@ -51,9 +51,9 @@
.goods-container
{
height
:
auto
;
padding
:
25px
0
0
0
;
padding
:
25px
0
0
;
position
:
relative
;
width
:
calc
(
970px
+
10px
);
/*
每列增加右边距
*/
width
:
calc
(
970px
+
10px
);
/*
每列增加右边距
*/
.good-info
{
width
:
235px
;
...
...
public/scss/product/sale/_index.css
View file @
dc547be
@import
"_new-sale.css"
;
.center-content
{
width
:
1150px
;
margin-left
:
auto
;
...
...
public/scss/product/sale/_new-sale.css
View file @
dc547be
...
...
@@ -13,7 +13,6 @@
width
:
100%
;
height
:
100%
;
display
:
block
;
float
:
left
;
position
:
absolute
;
top
:
0
;
left
:
0
;
...
...
@@ -93,7 +92,8 @@
float
:
left
;
}
.pre
,
.next
{
.pre
,
.next
{
position
:
absolute
;
display
:
block
;
width
:
40px
;
...
...
@@ -144,7 +144,9 @@
width
:
164px
;
height
:
76px
;
line-height
:
76px
;
vertical-align
:
middle
;
/* vertical-align: middle; */
text-align
:
center
;
}
...
...
Please
register
or
login
to post a comment