Commit 87d68864 authored by 华国豪's avatar 华国豪 🙄

1

parent 607e9dcb
......@@ -31,20 +31,30 @@
transition: all linear .5s;
}
.main .box .hongbao{
width: 75%;
width: 80%;
}
.main .box .anniu{
width: 64%;
position: absolute;
left: 21%;
left: 18%;
bottom: 15%;
}
#RushbuyTime{
font-size: 0.13rem;
color: #e03234;
height: 0.2rem;
position: absolute;
width: 100%;
right: -18.5%;
top: 26%;
}
</style>
</head>
<body>
<div class="main">
<div class="box">
<img class="hongbao" src="../images/gongxi1.png">
<span id="RushbuyTime"></span>
<img class="anniu" src="../images/gongxi2.png">
</div>
</div>
......@@ -53,20 +63,21 @@
<script type="text/javascript" src="../js/layer/layer.js"></script>
<script type="text/javascript" src="../js/mian.js"></script>
<script>
$(
function(){
$('#RushbuyTime').html(`有效期截止:` + RushbuyTime)
setTimeout(function(){
$('.box').addClass('move')
}, 500)
}
)
let buyIf = {}
if (localStorage.buyInfo) {
buyIf = localStorage.buyInfo
}else {
window.location.href = 'https://activity.oytour.com/html/GT_activities.html';
}
// if (localStorage.buyInfo) {
// buyIf = localStorage.buyInfo
// }else {
// window.location.href = 'https://activity.oytour.com/html/GT_activities.html';
// }
</script>
</body>
......
let locationName = window.location.hostname;
let RushbuyTime = '';
let RushbuyTime = '2019-11-14';
function getApiUrl() {
let url = {
urlPost: "https://reborn.oytour.com/api/common/post",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment