347 lines
5.7 KiB
CSS
347 lines
5.7 KiB
CSS
*
|
|
{
|
|
margin: 0;padding: 0;
|
|
}
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
font-weight: 400;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
background: #f4f6f8;
|
|
font-size: 14px;
|
|
color: #616161;
|
|
}
|
|
|
|
.container {
|
|
max-width: 650px;
|
|
margin: 0 auto;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.header {
|
|
background: #fff;
|
|
border-bottom: 1px solid #eee;
|
|
height: 60px;
|
|
padding-top: 12px;
|
|
text-align: center;
|
|
margin-bottom: 15px;
|
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.header .logo {
|
|
width: 103px;
|
|
height: 36px;
|
|
margin: 0 auto;
|
|
background: url(../images/alipay.png) no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
.header .logo.alipay {
|
|
background-image: url(../images/alipay.png);
|
|
}
|
|
|
|
.header .logo.weixin {
|
|
width: 130px;
|
|
background-image: url(../images/weixin.png);
|
|
}
|
|
|
|
.header .logo.bank {
|
|
width: 130px;
|
|
background-image: url(../images/logo-bank.png);
|
|
}
|
|
|
|
.mainbody {
|
|
margin: 0 auto;
|
|
margin-top: 15px;
|
|
padding-bottom: 10px;
|
|
text-align: center;
|
|
color: #333;
|
|
padding-top: 6px;
|
|
background: #fff url(../images/wave.png) top center repeat-x;
|
|
background-size: auto 6px;
|
|
min-height: 400px;
|
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.realprice {
|
|
font-size: 46px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.discountprice {
|
|
color: #ff6600;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.qrcode {
|
|
width: 200px;
|
|
height: 200px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
}
|
|
|
|
.qrcode img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.qrcode .logo {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
height: 30px;
|
|
width: 30px;
|
|
margin-left: -15px;
|
|
margin-top: -15px;
|
|
background: #fff url("../images/logo-weixin.png") no-repeat center center;
|
|
background-size: cover;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.qrcode .logo.logo-alipay {
|
|
background-image: url("../images/logo-alipay.png");
|
|
}
|
|
|
|
.qrcode .logo.logo-bank {
|
|
background-image: url("../images/logo-bank.png");
|
|
}
|
|
|
|
.qrcode .expired {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
opacity: .95;
|
|
background: #fff url(../images/expired.png) center center no-repeat;
|
|
}
|
|
|
|
.qrcode .paid {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
opacity: .95;
|
|
background: #fff url(../images/paid.png) center center no-repeat;
|
|
}
|
|
|
|
.warning {
|
|
color: #f00;
|
|
}
|
|
|
|
.success {
|
|
color: #05af19;
|
|
}
|
|
|
|
.remainseconds {
|
|
width: 140px;
|
|
margin: 0 auto;
|
|
height: 80px;
|
|
padding: 10px 35px;
|
|
text-align: center;
|
|
}
|
|
|
|
.remainseconds .time {
|
|
width: 55px;
|
|
height: 90px;
|
|
}
|
|
|
|
.remainseconds .time b {
|
|
font-size: 40px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.remainseconds .time b,
|
|
.remainseconds .time em {
|
|
display: block;
|
|
}
|
|
|
|
.remainseconds .time em {
|
|
font-style: normal;
|
|
color: #888;
|
|
}
|
|
|
|
@media (max-width: 375px) {
|
|
.container {
|
|
padding: 0;
|
|
}
|
|
|
|
.remainseconds {
|
|
padding: 0 35px 10px 35px;
|
|
height: 80px;
|
|
}
|
|
|
|
.remainseconds .time {
|
|
height: 100%;
|
|
}
|
|
|
|
.remainseconds .time b {
|
|
font-size: 36px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 320px) {
|
|
.remainseconds {
|
|
padding: 0 35px 10px 35px;
|
|
height: 87px;
|
|
}
|
|
|
|
.remainseconds .time {
|
|
height: 100%;
|
|
}
|
|
|
|
.remainseconds .time b {
|
|
font-size: 36px;
|
|
}
|
|
|
|
.container {
|
|
padding: 0;
|
|
}
|
|
|
|
.qrcode {
|
|
width: 200px;
|
|
height: 200px;
|
|
}
|
|
|
|
.realprice {
|
|
font-size: 36px;
|
|
}
|
|
}
|
|
|
|
.minutes {
|
|
float: left;
|
|
}
|
|
|
|
.seconds {
|
|
float: left;
|
|
}
|
|
|
|
.colon {
|
|
float: left;
|
|
width: 20px;
|
|
font-size: 30px;
|
|
line-height: 50px;
|
|
font-family: Vernada, 'Microsoft Yahei';
|
|
}
|
|
|
|
.tips {
|
|
border-top: 1px dotted #eee;
|
|
background: #fff;
|
|
padding: 15px 0;
|
|
line-height: 25px;
|
|
overflow: hidden;
|
|
display: block;
|
|
clear: both;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.help {
|
|
line-height: 25px;
|
|
padding: 15px 0;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.footer {
|
|
height: 60px;
|
|
line-height: 60px;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
@media screen and (max-width: 640px) {
|
|
.hidden-xs {
|
|
display: none;
|
|
}
|
|
}
|
|
.warning
|
|
|
|
{
|
|
padding: 10px;
|
|
}
|
|
.btn {
|
|
display: inline-block;
|
|
margin-bottom: 0;
|
|
font-weight: 400;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
touch-action: manipulation;
|
|
cursor: pointer;
|
|
background-image: none;
|
|
border: 1px solid transparent;
|
|
white-space: nowrap;
|
|
padding: 4px 12px;
|
|
font-size: 14px;
|
|
line-height: 1.8;
|
|
border-radius: 3px;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
text-decoration: none;
|
|
}
|
|
.btn-success {
|
|
color: #fff;
|
|
background-color: #46be8a;
|
|
border-color: #40b582;
|
|
}
|
|
.btn-primary {
|
|
color: #fff;
|
|
background-color: #01a8e9;
|
|
border-color: #01a8e9;
|
|
}
|
|
|
|
.tip {
|
|
|
|
border-top: 1px dashed #e5e5e5;
|
|
padding: 10px 0;
|
|
position: relative;
|
|
}
|
|
.tip .ico-scan {
|
|
display: inline-block;
|
|
width: 56px;
|
|
height: 55px;
|
|
background: url(../images/wechat-pay.png) 0 0 no-repeat;
|
|
vertical-align: middle;
|
|
*display: inline;
|
|
*zoom: 1;
|
|
}
|
|
.tip .tip-text {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
text-align: left;
|
|
margin-left: 23px;
|
|
font-size: 16px;
|
|
line-height: 28px;
|
|
*display: inline;
|
|
*zoom: 1;
|
|
}
|
|
.foot {
|
|
text-align: center;
|
|
margin: 30px auto;
|
|
color: #888888;
|
|
font-size: 12px;
|
|
line-height: 20px;
|
|
font-family: "simsun";
|
|
}
|
|
|
|
.amount {
|
|
font-size: 44px;
|
|
|
|
font-weight: 700;
|
|
|
|
color: #dd4b39;
|
|
}
|
|
.text-danger {
|
|
color: #e74c3c;
|
|
} |