index.phtml
5.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>YOHO!红包</title>
<meta name="keywords" content=""/>
<meta name="description" content=""/>
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta http-equiv="cleartype" content="on">
<meta name=”apple-mobile-web-app-status-bar-style” content=black” />
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<!-- For iOS web apps. Delete if not needed. https://github.com/h5bp/mobile-boilerplate/issues/94 -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="">
<style type="text/css">
html,body,div,ul,ol,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,input,p,blockquote,th,td,button,blockquote{ margin:0; padding:0;}
body{ font-family:arial,"微软雅黑";font-size:12px;background:#fff; margin:0; color:#000;text-align:left;line-height:150%; }
img {border:0; vertical-align:middle; outline: none;}
input, textarea, select {vertical-align:middle; font-size:12px; color:#333; }
h1,h2,h3,h4,h5,h6{font-size: 12px;font-weight: normal;}
iframe{ border:none; margin: 0;padding: 0;}
dl,ul,li,ol{ list-style:none; padding:0; margin:0;}
button{ cursor:pointer;vertical-align:middle;}
cite{font-style:normal;}
table{border-collapse: collapse;border-spacing: 0;}
form{display:inline;}
input{border:none;}
a{text-decoration: none; color: #666; outline: none;}
a:hover{text-decoration:none;}
a:visited{}
.hidden{ display:none;}
.show{ display:block;}
.left{float: left;}
.right{float: right;}
.relative{position: relative;}
.absolute{position: absolute;}
.inline-block{
display: inline-block;
}
.top{
vertical-align: top;
}
.middle{
vertical-align: middle;
}
.center{
text-align: center;
}
/*----clear float----*/
.clear:after {
content: ".";
display: block;
height: 0;
visibility: hidden;
overflow:hidden;
clear: both;
}
.clear {zoom: 1;} /* IE < 8 */
body{
background: url(http://static.yohobuy.com/images/v3/gift/gift-bg.gif) repeat;
padding-bottom: 20px;
}
.yoho-gift{
width: 320px;
height: auto;
text-align: center;
margin: 0 auto;
}
.yoho-gift .gift-content{
width: 90%;
margin: 0 auto;
}
.yoho-gift p{
color: #eee;
}
.yoho-gift .text-p1{
margin: 6px 0 30px 0;
}
.yoho-gift .text-p2{
margin: 35px 0 10px 0;
text-align: left;
}
.yoho-gift .text-p3{
margin: 35px 0 10px 0;
font-size: 16px;
line-height: 16px;
}
.yoho-gift .text-p4{
margin: 0px 0 15px 0;
font-size: 24px;
line-height: 24px;
}
.yoho-gift .text-p5{
margin: 35px 0 0px 0;
text-align: left;
}
.yoho-gift .text-p6{
margin: 0px 0 0px 0;
text-align: left;
padding-left: 18px;
}
.yoho-gift .text-p7{
}
.yoho-gift .text-p8{
font-size: 40px;
line-height: 40px;
margin-top: 60px;
}
.yoho-gift .text-p9{
margin: 20px 0;
}
.yoho-gift .input-div{
margin-bottom: 10px;
padding: 0 10px;
border: 1px solid #a0110c;
background:#fff;
}
.yoho-gift .input-div input{
height: 16px;
padding: 12px 0px;
line-height: 16px;
color: #a7a7a7;
width: 100%;
outline: none;
}
.yoho-gift .submit a{
display: block;
background: #f6f6f6;
width: 100%;
border: 1px solid #a0110c;
color: #cf2923;
}
.yoho-gift .submit .login{
display: block;
background: #f6f6f6;
width: 100%;
border: 1px solid #a0110c;
color: #cf2923;
font-size: 24px;
line-height: 24px;
padding: 16px 10px;
}
.yoho-gift .submit a.register{
font-size: 16px;
line-height: 16px;
padding: 12px 0px;
}
.yoho-gift .error{
background: #ffdbdb;
padding-left:10px;
border: 1px solid #a0110c;
margin-bottom: 10px;
}
.yoho-gift .error span{
display: block;
width: 100%;
color: #d94d48;
font-size: 14px;
line-height: 14px;
padding: 12px 0px;
text-align: left;
}
.yoho-gift .error span img{
padding-right: 6px;
vertical-align: text-bottom;
line-height: 14px;
}
.yoho-gift .message-div{
width: 100%;
padding-left: 0px;
}
.yoho-gift .message{
margin-top: 15px;
margin-left: 0px;
}
.yoho-gift .message a{
display: block;
width: 48%;
background: #f6f6f6;
border: 1px solid #a0110c;
color: #cf2923;
font-size: 12px;
line-height: 12px;
padding: 14px 0px;
}
.yoho-gift .message a.right{
color: #222;
}
</style>
</head>
<body>
<div class="yoho-gift">
<div class="gift-content">
<div class="top-flag">
<img src="http://static.yohobuy.com/images/v3/gift/gift-flag.png"/>
</div>
<?php if (!empty($this->error)) {?>
<div class="error">
<span><img src="http://static.yohobuy.com/images/v3/gift/error-tips.png"/><?php echo $this->error;?></span>
</div>
<?php } else {?>
<p class="text-p7">(红包领取:01.31-02.28 红包使用:02.07-02.28)</p>
<?php }?>
<form action="/hongbao/login" method="post">
<div class="input-div">
<input type="text" name="user" placeholder="邮箱/手机" value="<?php echo empty($this->user) ? '' : $this->user;?>"/>
</div>
<div class="input-div">
<input type="password" name="password" placeholder="密码"/>
</div>
<div class="submit">
<button class="login">登录并领取</button>
</div>
</form>
<p class="text-p2">还不是YOHO!的会员?</p>
<div class="submit">
<a href="/hongbao/reg" class="register">注册</a>
</div>
</div>
</div>
</body>
</html>