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
zhangxiaoru
2016-10-09 14:01:45 +0800
Commit
8ada96b911d9d3803f1ab85fd131e8f4adc0a4b7
2 parents
a2ded1ab
e469b47d
new
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
26 deletions
doraemon/views/partial/download-app.hbs
public/js/common/footer.js
public/scss/layout/_footer.css
doraemon/views/partial/download-app.hbs
View file @
8ada96b
{{#
showDownloadApp
}}
<div
class=
"float-layer"
id=
"float-layer-app"
>
<div
class=
"float-layer
hide
"
id=
"float-layer-app"
>
<div
class=
"float-layer-left"
>
<span
class=
"yoho-icon iconfont"
>

</span>
<p>
新用户送惊喜礼包
</p>
...
...
@@ -8,7 +8,7 @@
<i
class=
"close-icon iconfont"
>

</i>
<div
class=
"circle-rightbottom"
></div>
</a>
<a
href=
"
http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho
"
id=
"float-layer-btn"
>
<a
href=
"
javascript:void(0);
"
id=
"float-layer-btn"
>
立即下载
</a>
</div>
...
...
public/js/common/footer.js
View file @
8ada96b
...
...
@@ -25,7 +25,7 @@ function getQueryString(name) {
}
function
downLoadApp
()
{
var
appUrl
=
'http://
union.yoho.cn/union/downapp.html
'
;
var
appUrl
=
'http://
www.yohoshow.com/about/index/yohobuyqr/
'
;
var
clickedAt
=
new
Date
();
setTimeout
(
function
()
{
...
...
public/scss/layout/_footer.css
View file @
8ada96b
...
...
@@ -55,50 +55,58 @@
}
.float-layer
{
height
:
128px
;
height
:
44
PX
;
background
:
rgba
(
68
,
68
,
68
,
0.95
);
position
:
fixed
;
width
:
100%
;
bottom
:
0
;
left
:
0
;
z-index
:
9999
;
padding
:
20px
0
;
padding
:
10
PX
0
;
box-sizing
:
content-box
;
.float-layer-left
{
padding-left
:
44px
;
padding-left
:
22
PX
;
overflow
:
hidden
;
float
:
left
;
img
{
height
:
44px
;
height
:
44
PX
;
float
:
left
;
margin-right
:
20px
;
margin-right
:
10
PX
;
}
p
{
float
:
left
;
font-size
:
32px
;
height
:
88px
;
line-height
:
88px
;
font-size
:
16
PX
;
height
:
44
PX
;
line-height
:
44
PX
;
color
:
white
;
}
.yoho-icon
{
float
:
left
;
margin-right
:
10px
;
font-size
:
44px
;
line-height
:
88px
;
width
:
88px
;
height
:
88px
;
margin-right
:
10
PX
;
font-size
:
22
PX
;
line-height
:
44
PX
;
width
:
44
PX
;
height
:
44
PX
;
text-align
:
center
;
color
:
#fff
;
border-radius
:
20px
;
border-radius
:
10
PX
;
background-image
:
linear-gradient
(
#323232
,
#0f0f0f
);
}
}
}
#float-layer-close
{
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
100px
;
height
:
100px
;
width
:
50
PX
;
height
:
50
PX
;
.close-icon
{
position
:
absolute
;
left
:
0
;
...
...
@@ -107,17 +115,18 @@
z-index
:
2
;
}
}
#float-layer-btn
{
position
:
absolute
;
top
:
50%
;
right
:
15px
;
font-size
:
32px
;
padding
:
0
10px
;
height
:
54px
;
line-height
:
54px
;
right
:
15
PX
;
font-size
:
16
PX
;
padding
:
0
10
PX
;
height
:
27
PX
;
line-height
:
27
PX
;
background
:
white
;
border-radius
:
5px
;
margin-top
:
-26px
;
border-radius
:
5
PX
;
margin-top
:
-13
PX
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0.5
);
&:link,
&:visited,
...
...
Please
register
or
login
to post a comment