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
7989333b8da48af89a20b8571ae4ea29e846c75a
1 parent
af7ff4b9
code review by hf: do modify newyear game coupon download app link
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
133 additions
and
5 deletions
static/huodong/cuxiao/css/newyear/index.css
template/huodong.m.yohobuy.com/actions/cuxiao/newyear/coupon.phtml
yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Newyear.php
yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Reg.php
static/huodong/cuxiao/css/newyear/index.css
0 → 100644
View file @
7989333
*
{
margin
:
0
;
padding
:
0
;
}
.coupon-container
img
{
display
:
block
;
max-width
:
100%
;
}
.coupon-top
{
position
:
relative
;
}
.coupon-top
.go-check
{
position
:
absolute
;
bottom
:
7.075rem
;
width
:
100%
;
height
:
3.0rem
;
}
.coupon-top
.app-btn
{
position
:
absolute
;
width
:
7.55rem
;
height
:
4.0rem
;
bottom
:
1.6rem
;
}
.coupon-top
.app-btn.app1
{
left
:
0.325rem
}
.coupon-top
.app-btn.app2
{
right
:
0.325rem
}
.coupon-bottom
{
height
:
24.125rem
;
background
:
url(../../img/newyear/160105/bottom-bg.png)
no-repeat
bottom
center
;
background-size
:
100%
100%
;
}
.coupon-banner
{
text-align
:
center
;
font-size
:
0
;
}
.coupon-banner
a
{
display
:
inline-block
;
width
:
6.6rem
;
height
:
6.6rem
;
margin
:
0
0.25rem
0.55rem
;
}
.coupon-bottom
.follow-yoho
{
display
:
block
;
margin
:
1.5rem
auto
0
;
width
:
10.175rem
;
height
:
2.675rem
;
}
.bottom-btn
{
margin
:
1.95rem
0
0
;
font-size
:
0
;
text-align
:
center
;
}
.bottom-btn
a
{
display
:
inline-block
;
margin
:
0
1.25rem
;
width
:
5.225rem
;
height
:
2.0rem
;
}
.modal
{
position
:
fixed
;
top
:
0
;
right
:
0
;
bottom
:
0
;
left
:
0
;
background
:
url(../../img/newyear/160105/share.png)
center
top
no-repeat
;
-webkit-background-size
:
100%
;
-moz-background-size
:
100%
;
background-size
:
100%
;
display
:
none
;
}
.has-done
{
position
:
fixed
;
top
:
0
;
right
:
0
;
bottom
:
0
;
left
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0.4
)
url(../../img/newyear/160105/11.png)
;
background-repeat
:
no-repeat
;
background-size
:
80%
auto
;
background-position
:
center
center
;
overflow
:
hidden
;
display
:
none
;
}
.dialog-box
{
display
:
none
;
position
:
fixed
;
top
:
0
;
right
:
0
;
bottom
:
0
;
left
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0.4
);
z-index
:
999
;
}
.dialog-inner
{
position
:
absolute
;
width
:
13.375rem
;
height
:
9.625rem
;
top
:
50%
;
left
:
50%
;
margin
:
-4.8125rem
0
0
-6.6875rem
;
}
.dialog-inner
img
{
max-width
:
100%
;
}
.dialog-inner
span
{
position
:
absolute
;
width
:
9rem
;
height
:
1.85rem
;
bottom
:
0.6rem
;
left
:
50%
;
margin
:
0
0
0
-4.5rem
;
cursor
:
pointer
;
}
\ No newline at end of file
...
...
template/huodong.m.yohobuy.com/actions/cuxiao/newyear/coupon.phtml
View file @
7989333
...
...
@@ -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/newyear/index.css"
>
<link
rel=
"stylesheet"
href=
"{{imgUrl}}/cuxiao/css/newyear/index
-2
.css"
>
<script>
(
function
(
doc
,
win
)
{
var
docEl
=
doc
.
documentElement
;
...
...
@@ -29,7 +29,7 @@
<img
src=
"{{imgUrl}}/cuxiao/img/newyear/160105/top-bg.png"
alt=
""
>
<a
class=
"go-check"
href=
"{{myCouponUrl}}"
></a>
<a
class=
"app-btn app1"
href=
"http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"
></a>
<a
class=
"app-btn app2"
href=
"http://www.yohoshow.com/about/index/yohob
oys
qr"
></a>
<a
class=
"app-btn app2"
href=
"http://www.yohoshow.com/about/index/yohob
uy
qr"
></a>
</div>
<div
class=
"coupon-bottom"
>
<div
class=
"coupon-banner"
>
...
...
@@ -40,7 +40,7 @@
</div>
<a
class=
"follow-yoho"
href=
"http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"
></a>
<div
class=
"bottom-btn"
>
<a
class=
"play-again"
href=
"
javascript:;
"
></a>
<a
class=
"play-again"
href=
"
{{playAgain}}
"
></a>
<a
class=
"share-btn"
href=
"javascript:;"
></a>
</div>
</div>
...
...
yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Newyear.php
View file @
7989333
...
...
@@ -62,6 +62,7 @@ class NewyearController extends HuodongAction
'bannerUrl_2'
=>
'http://m.yohobuy.com/girls?openby:yohobuy={"action":"go.home","params":{"channel":"2"}}'
,
'bannerUrl_3'
=>
'http://m.yohobuy.com/kids?openby:yohobuy={"action":"go.home","params":{"channel":"3"}}'
,
'bannerUrl_4'
=>
'http://m.yohobuy.com/lifestyle?openby:yohobuy={"action":"go.home","params":{"channel":"4"}}'
,
'playAgain'
=>
'http://feature.yoho.cn/2016lishifeng/index.html'
,
));
}
...
...
yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Reg.php
View file @
7989333
...
...
@@ -28,8 +28,10 @@ class RegController extends AbstractAction
$data
[
'areaCode'
]
=
'+86'
;
// 默认的区号
$data
[
'countrys'
]
=
RegData
::
getAreasData
();
// 地区信息列表
$refer
=
$this
->
get
(
'refer'
,
SITE_MAIN
.
'/?go=1'
);
$this
->
setCookie
(
'refer'
,
$refer
);
$refer
=
$this
->
get
(
'refer'
);
if
(
!
empty
(
$refer
))
{
$this
->
setCookie
(
'refer'
,
$refer
);
}
// 生成HTML(reg.html)
//$this->_view->html('reg');
...
...
Please
register
or
login
to post a comment