Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
88b34872de1875236c8b6b16b0d3f90f43ed127f
2 parents
02e8399f
c7ee2874
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
static/js/cart/order-ensure.js
static/sass/cart/_good.scss
template/m.yohobuy.com/partials/cart/good.phtml
template/m.yohobuy.com/partials/product/recommend-content.phtml
static/js/cart/order-ensure.js
View file @
88b3487
...
...
@@ -93,7 +93,7 @@ function orderCompute() {
}).
then
(
function
(
res
)
{
var
priceHtml
;
if
(
!
res
.
length
)
{
if
(
$
.
type
(
res
)
!==
'object'
)
{
window
.
location
.
reload
();
}
else
{
/*if (res.order_amount) {
...
...
static/sass/cart/_good.scss
View file @
88b3487
...
...
@@ -3,6 +3,14 @@
position
:
relative
;
padding-left
:
16rem
/
$pxConvertRem
;
.prevent-img-click
{
width
:
20rem
/
$pxConvertRem
;
height
:
200rem
/
$pxConvertRem
;
position
:
absolute
;
background-color
:
transparent
;
z-index
:
99
;
}
.checkbox
{
position
:
absolute
;
top
:
50%
;
...
...
template/m.yohobuy.com/partials/cart/good.phtml
View file @
88b3487
...
...
@@ -8,6 +8,7 @@
{{/if}}
<div class="info">
<div class="prevent-img-click"></div>
<a href="{{link}}">
<img class="thumb lazy" data-original="{{thumb}}">
</a>
...
...
template/m.yohobuy.com/partials/product/recommend-content.phtml
View file @
88b3487
...
...
@@ -5,11 +5,11 @@
<a class="swiper-slide" href="{{url}}">
<img class="swiper-lazy img-box" data-src="{{thumb}}">
<div class="price">
<span class="sale-price {{^price}}no-price{{/price}}">¥{{salePrice}}</span>
{{#price}}<span class="old-price">¥{{.}}</span>{{/price}}
<span class="sale-price {{^price}}no-price{{/price}}">¥{{salePrice}}</span>
{{#price}}<span class="old-price">¥{{.}}</span>{{/price}}
</div>
<div class="swiper-lazy-preloader"></div>
</a>
{{/recommendList}}
</div>
</div>
\ No newline at end of file
</div>
...
...
Please
register
or
login
to post a comment