Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
yyq
9 years ago
Commit
f221449fa7f0daa66a0395fe85fddf53e1f760a2
2 parents
3a5e8652
3d94ecd1
Merge branch 'release/1.0' of git.yoho.cn:fe/yoho-blk into release/1.0
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
27 additions
and
7 deletions
apps/product/views/partial/list/banner-info.hbs
doraemon/views/partial/header.hbs
public/js/common/header.js
public/js/me/address.page.js
public/scss/components/_dialog.css
public/scss/components/_header.css
public/scss/me/_address.css
public/scss/product/_shop.css
apps/product/views/partial/list/banner-info.hbs
View file @
f221449
...
...
@@ -7,7 +7,7 @@
<h5>
品牌介绍
</h5>
</div>
<div
class=
"brand-info-content nano"
>
<div
class=
"nano-content"
>
{{{
info
}}}
</div>
<div
class=
"nano-content"
>
<div
class=
"width780"
>
{{{
info
}}}
</div>
</div>
</div>
</div>
</div>
...
...
doraemon/views/partial/header.hbs
View file @
f221449
...
...
@@ -44,7 +44,8 @@
<span
class=
"iconfont tools-icon icon-bag"
>

</span>
购物袋
</a>
<div
class=
"mini-bag-box sub-wrapper bag-empty"
>
<div
class=
"mini-bag-box-wrap"
>
<div
class=
"mini-bag-box sub-wrapper"
>
<div
class=
"bag-goods"
>
<div
class=
"mini-goods-list-wrap nano"
><div
class=
"nano-content"
><dl
class=
"mini-goods-list"
></dl></div></div>
<div
class=
"go-bag-btn"
>
...
...
@@ -59,6 +60,7 @@
</p>
</div>
</div>
</div>
</li>
</ul>
</div>
...
...
public/js/common/header.js
View file @
f221449
...
...
@@ -47,6 +47,7 @@ function refreshBag() {
return
;
}
this
.
time
=
time
;
$
(
'.tag-bag .sub-wrapper'
).
hide
();
$
.
ajax
({
type
:
'GET'
,
url
:
'/shopping/cart/data'
,
...
...
@@ -64,6 +65,7 @@ function refreshBag() {
$bagGoodsList
.
empty
();
$miniBag
.
addClass
(
'bag-empty'
);
}
$
(
'.tag-bag .sub-wrapper'
).
show
();
$
(
'.mini-goods-list-wrap.nano'
).
nanoScroller
({
disableResize
:
true
});
}
}
...
...
public/js/me/address.page.js
View file @
f221449
...
...
@@ -290,6 +290,10 @@ $(function() {
$
(
'.set'
).
hide
();
$
(
this
).
find
(
'.set'
).
css
(
'display'
,
'inline-block'
);
});
$
(
'.table-body'
).
on
(
'mouseout'
,
function
(){
var
tmpset
=
$
(
this
).
find
(
'.set'
);
if
(
tmpset
.
css
(
'display'
)
==
'inline-block'
)
tmpset
.
hide
();
});
});
...
...
public/scss/components/_dialog.css
View file @
f221449
...
...
@@ -7,6 +7,7 @@
min-width
:
420px
;
background
:
#ffffff
;
z-index
:
1001
;
padding-right
:
0
;
/*border: 1px solid #8f8f8f;*/
.close
{
...
...
public/scss/components/_header.css
View file @
f221449
...
...
@@ -86,11 +86,15 @@
color
:
#9a9a9a
;
}
&
:hover
.
sub-wrapper
{
&
:hover
.
mini-bag-box-wrap
{
display
:
block
;
}
}
.mini-bag-box-wrap
{
display
:
none
;
}
.tools-icon
{
width
:
20px
;
height
:
20px
;
...
...
public/scss/me/_address.css
View file @
f221449
...
...
@@ -117,6 +117,9 @@
.table-body
{
height
:
53px
;
&:hover{
background-color
:
#eee
;
}
}
.table-body
td
{
...
...
@@ -124,22 +127,22 @@
}
.width-name
{
width
:
7
0px
;
width
:
8
0px
;
word-break
:
break-all
;
}
.width-address
{
width
:
1
6
5px
;
width
:
1
7
5px
;
word-break
:
break-all
;
}
.width-fulladdress
{
width
:
2
6
0px
;
width
:
2
7
0px
;
word-break
:
break-all
;
}
.width-mobile
{
width
:
1
2
0px
;
width
:
1
4
0px
;
p
:
first-child
{
margin-bottom
:
5px
;
...
...
public/scss/product/_shop.css
View file @
f221449
...
...
@@ -278,6 +278,10 @@
width
:
100%
;
}
.width780
{
width
:
780px
;
}
.brand-info-title
{
text-align
:
left
;
margin
:
20px
0
50px
;
...
...
Please
register
or
login
to post a comment