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
Rock Zhang
9 years ago
Commit
771661a1b351f42f704f7c3bb7a5b68e10cca3e5
2 parents
28cc61f9
48b5ebf8
Merge branch 'develop' into test
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
5 deletions
static/js/common.js
static/js/index/search.js
static/js/me/pay.js
static/sass/me/_order.scss
static/sass/me/_pay.scss
static/sass/me/_vip-grade.scss
static/js/common.js
View file @
771661a
...
...
@@ -95,11 +95,15 @@ function getShoppingKey() {
//根据页面内容重新设置通用底部的显示
function
rePosFooter
()
{
var
winH
;
if
(
$footer
.
length
===
0
)
{
return
;
}
if
(
$
(
'body'
).
height
()
<=
$
(
window
).
height
()
-
parseInt
(
$footer
.
css
(
'height'
),
0
))
{
winH
=
Math
.
min
(
$
(
window
).
height
(),
window
.
screen
.
availHeight
);
if
(
$
(
'body'
).
height
()
<=
winH
-
parseInt
(
$footer
.
css
(
'height'
),
0
))
{
$footer
.
addClass
(
'bottom'
);
}
else
{
$footer
.
removeClass
(
'bottom'
);
...
...
static/js/index/search.js
View file @
771661a
...
...
@@ -31,6 +31,8 @@ chHammer.on('tap', function() {
localStorage
.
removeItem
(
'historys'
);
$history
.
html
(
''
);
window
.
rePosFooter
();
});
$input
.
on
(
'input'
,
function
()
{
...
...
@@ -78,6 +80,8 @@ $('#search').on('touchend', function() {
$history
.
html
(
html
);
$clearHistory
.
removeClass
(
'hide'
);
window
.
rePosFooter
();
}
}
}());
...
...
static/js/me/pay.js
View file @
771661a
...
...
@@ -103,7 +103,7 @@ function hideWeChatPay() {
var
$payApps
=
$
(
'.app'
);
$payApps
.
each
(
function
(
idx
,
app
)
{
if
(
$
(
app
).
attr
(
'id'
)
===
'weixin'
)
{
if
(
$
(
app
).
parent
().
attr
(
'id'
)
===
'weixin'
)
{
$
(
app
).
parent
().
css
(
'display'
,
'none'
);
return
false
;
}
...
...
static/sass/me/_order.scss
View file @
771661a
...
...
@@ -84,7 +84,7 @@
display
:
block
;
color
:
#b0b0b0
;
font-size
:
24rem
/
$pxConvertRem
;
margin
:
30rem
/
$pxConvertRem
0
11
0rem
/
$pxConvertRem
;
margin
:
30rem
/
$pxConvertRem
0
8
0rem
/
$pxConvertRem
;
}
.walk-way
{
...
...
@@ -185,6 +185,12 @@
.name
{
font-size
:
28rem
/
$pxConvertRem
;
max-width
:
70%
;
text-overflow
:
-
o-ellipsis-lastline
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-
webkit-box
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
}
.row
:nth-child
(
2
)
{
...
...
static/sass/me/_pay.scss
View file @
771661a
...
...
@@ -36,7 +36,7 @@
>
div
{
width
:
60rem
/
$pxConvertRem
;
height
:
60rem
/
$pxConvertRem
;
background-image
:
url(http://localhost:8000/img/layout/pay-icon.png
)
;
background-image
:
image-url
(
"/img/layout/pay-icon.png"
);
background-size
:
90%
;
background-position-y
:
8rem
/
$pxConvertRem
;
background-position-x
:
center
;
...
...
static/sass/me/_vip-grade.scss
View file @
771661a
...
...
@@ -20,10 +20,10 @@
display
:
block
;
}
span
{
float
:
left
;
overflow
:
hidden
;
}
.user-name
{
float
:
left
;
max-width
:
240rem
/
$pxConvertRem
;
text-overflow
:ellipsis
;
white-space
:nowrap
;
...
...
@@ -32,6 +32,7 @@
}
.vip-icon
{
float
:
left
;
width
:
pxToRem
(
72px
);
height
:
pxToRem
(
32px
);
line-height
:
36rem
/
$pxConvertRem
;
...
...
Please
register
or
login
to post a comment