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
Email Patches
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
23fada71e003e30a394e11230ab4ecc606028dee
1 parent
a953cb33
code review by hf: do final sale huodong
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
114 deletions
static/huodong/cuxiao/css/final/index.css → static/huodong/cuxiao/css/final/sale.css
template/huodong.m.yohobuy.com/actions/cuxiao/coupon/final.phtml
static/huodong/cuxiao/css/final/
index
.css → static/huodong/cuxiao/css/final/
sale
.css
View file @
23fada7
...
...
@@ -29,7 +29,7 @@
.coupon-bottom
{
height
:
10.825rem
;
background
:
url(../
images
/bottom-bg.png)
no-repeat
bottom
center
;
background
:
url(../
../img/final
/bottom-bg.png)
no-repeat
bottom
center
;
background-size
:
100%
100%
;
}
...
...
@@ -74,7 +74,7 @@
right
:
0
;
bottom
:
0
;
left
:
0
;
background
:
url(../
images
/share.png)
center
top
no-repeat
;
background
:
url(../
../img/final
/share.png)
center
top
no-repeat
;
-webkit-background-size
:
100%
;
-moz-background-size
:
100%
;
background-size
:
100%
;
...
...
@@ -87,7 +87,7 @@
right
:
0
;
bottom
:
0
;
left
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0.4
)
url(../
images
/11.png)
;
background
:
rgba
(
0
,
0
,
0
,
0.4
)
url(../
../img/final
/11.png)
;
background-repeat
:
no-repeat
;
background-size
:
80%
auto
;
background-position
:
center
center
;
...
...
template/huodong.m.yohobuy.com/actions/cuxiao/coupon/final.phtml
View file @
23fada7
...
...
@@ -9,7 +9,7 @@
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui"
media=
"(device-height: 568px)"
>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"grey"
>
<link
rel=
"stylesheet"
href=
"{{imgUrl}}/cuxiao/css/final/
index
.css"
>
<link
rel=
"stylesheet"
href=
"{{imgUrl}}/cuxiao/css/final/
sale
.css"
>
<script>
(
function
(
doc
,
win
)
{
var
docEl
=
doc
.
documentElement
;
...
...
@@ -99,114 +99,4 @@
{{/if}}
{{> layout/analysis}}
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
charset=
"utf-8"
>
<title>
{{staticTitle}}
</title>
<meta
name=
"apple-mobile-web-app-title"
content=
"SUMMER SALE"
>
<meta
name=
"format-detection"
content=
"telephone=no"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui"
media=
"(device-height: 568px)"
>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"grey"
>
<link
rel=
"stylesheet"
href=
"{{imgUrl}}/cuxiao/css/christmas/index4.css"
>
<script>
(
function
(
doc
,
win
)
{
var
docEl
=
doc
.
documentElement
;
(
function
()
{
var
clientWidth
=
docEl
.
clientWidth
;
if
(
!
clientWidth
)
{
return
;
}
docEl
.
style
.
fontSize
=
20
*
(
clientWidth
/
320
)
+
'px'
;
}());
})(
document
,
window
);
</script>
</head>
<body
class=
"keBody"
>
<div
class=
"coupon-christmas"
show=
"{{showPopupFlag}}"
>
<div
class=
"coupon-top"
>
<img
src=
"{{imgUrl}}/cuxiao/img/final/top-bg.png"
alt=
""
>
<a
class=
"go-check"
href=
"{{myCouponUrl}}"
></a>
<a
class=
"share-btn"
href=
"javascript:;"
></a>
</div>
<div
class=
"coupon-bottom"
>
<div
class=
"coupon-banner"
>
<a
href=
"{{bannerUrl_1}}"
>
<img
src=
"{{imgUrl}}/cuxiao/img/final/banner01.png"
alt=
""
>
</a>
<a
href=
"{{bannerUrl_2}}"
>
<img
src=
"{{imgUrl}}/cuxiao/img/final/banner02.png"
alt=
""
>
</a>
<a
href=
"{{bannerUrl_3}}"
>
<img
src=
"{{imgUrl}}/cuxiao/img/final/banner03.png"
alt=
""
>
</a>
<a
href=
"{{bannerUrl_4}}"
>
<img
src=
"{{imgUrl}}/cuxiao/img/final/banner04.png"
alt=
""
>
</a>
</div>
<div
class=
"bottom-btn"
>
<a
class=
"follow-yoho"
href=
"http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"
></a>
<a
class=
"download-yoho"
href=
"http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"
></a>
</div>
</div>
<div
class=
"coupon-ft"
>
<img
src=
"{{imgUrl}}/cuxiao/img/final/14.png"
>
</div>
</div>
<div
class=
"modal"
></div>
<div
class=
"dialog-box geted"
>
<div
class=
"dialog-inner"
>
<img
src=
"{{imgUrl}}/cuxiao/img/final/geted.png"
alt=
""
/>
<span
class=
"dialog-close"
></span>
</div>
</div>
<div
class=
"dialog-box fail"
>
<div
class=
"dialog-inner"
>
<img
src=
"{{imgUrl}}/cuxiao/img/final/fail.png"
alt=
""
/>
<span
class=
"refresh-btn"
></span>
</div>
</div>
<input
id=
"shareLink"
type=
"hidden"
value=
"{{shareLink}}"
>
<input
id=
"shareImg"
type=
"hidden"
value=
"{{shareImg}}"
>
<input
id=
"shareTitle"
type=
"hidden"
value=
"{{shareTitle}}"
>
<input
id=
"shareDesc"
type=
"hidden"
value=
"{{shareDesc}}"
>
<script
type=
"text/javascript"
src=
"{{imgUrl}}/cuxiao/js/jquery.min.js"
></script>
<script>
//提示分享
$
(
'.share-btn'
).
click
(
function
()
{
$
(
'.modal'
).
fadeIn
();
});
//关闭提示分享
$
(
'.modal'
).
click
(
function
()
{
$
(
this
).
fadeOut
();
});
//提示已领过券
if
(
$
(
'.coupon-christmas'
).
attr
(
'show'
)
===
'1'
)
{
$
(
'.dialog-box.geted'
).
show
();
}
//提示领券失败
else
if
(
$
(
'.coupon-christmas'
).
attr
(
'show'
)
===
'2'
)
{
$
(
'.dialog-box.fail'
).
show
();
}
//关闭提示
$
(
'.dialog-close'
).
click
(
function
(){
$
(
this
).
parents
(
'.dialog-box'
).
fadeOut
();
});
//刷新页面
$
(
'.refresh-btn'
).
click
(
function
()
{
location
.
reload
();
});
</script>
{{#if weixinShare}}
<script
type=
"text/javascript"
charset=
"utf-8"
src=
"http://res.wx.qq.com/open/js/jweixin-1.0.0.js"
></script>
<script
type=
"text/javascript"
charset=
"utf-8"
src=
"{{jsUrl}}/cuxiao/js/share.weixin.js"
></script>
{{/if}}
{{> layout/analysis}}
</body>
</html>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment