Commit 1c58380d authored by 华国豪's avatar 华国豪 🙄

1

parent c45fa465
......@@ -188,6 +188,11 @@
.bigCardScale{
height: 170px;
}
#container>div{
height: 100% !important;
padding-top: 10%;
transform: scaleY(1.4);
}
.bigCard .bigCard-divBigBsAnm {
transition: all 500s ease;
transition-timing-function: ease-out;
......
......@@ -7,6 +7,9 @@
<meta content="yes" name="mobile-web-app-capable">
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>印象之旅2019年底大红包</title>
<link rel="stylesheet" href="../css/animate.css">
<link rel="stylesheet" href="../css/cssReset.css">
......@@ -26,7 +29,7 @@
</div>
<div class="content">
<p><span class="red" id="year"></span><span class="red" id="month"></span><span class="red" id="day"></span></p>
<p>成为印象同行</p>
<p>成为印象同行~</p>
<div>
<p>由销售经理<span id="CreateBy" class="red"></span>录入</p>
<p>您的资料</p>
......@@ -231,12 +234,17 @@
<script type="text/javascript" src="../js/layer/layer.js"></script>
<script type="text/javascript" src="../js/barrageWall.js?v=10086"></script>
<script type="text/javascript">
// let urlData = window.location.href.split('?')[1] ? '?' + window.location.href.split('?')[1] : ''
// window.open('billPage2.html' + urlData)
var userInfo = {
customerId: 0,
token: "",
secretKey: "",
};
$(".tanchuang").hide()
if (!localStorage.onLogin) {
localStorage.billPage = null
}
var billPage = localStorage.billPage ? JSON.parse(localStorage.billPage) : ''
var newPageIndex = localStorage.newPageIndex ? localStorage.newPageIndex : 0,
maxPageIndex = 9;
......@@ -276,7 +284,7 @@
function getData(){
// locationName.indexOf('oytour') !== -1 ? userInfo.customerId : 7989
var msg = {
customerId: 1450,
customerId: userInfo.customerId,
}
$.ajax({
type: "POST",
......@@ -428,7 +436,11 @@
if (moveY < -50 || moveY > 50) {
$("#page" + (n+1) + ">div.tit").addClass('animated fadeInLeft')
$("#page" + (n+1) + " .year").text(dataObj.Year)
$("#page" + (n+1) + " .num").animateNumber({ number: dataObj.VisiteCount }, 2000);
var number = dataObj.VisiteCount
if (number < 3) {
number = 3
}
$("#page" + (n+1) + " .num").animateNumber({ number: number }, 2000);
$("#page" + (n+1) + " .baifangjihua").addClass('animated fadeIn')
if (FirstOrderCreateStr.length) {
$("#page" + (n+1) + " #year").text(FirstOrderCreateStr[0])
......@@ -1139,13 +1151,13 @@
}
// 跳转开红包页面
function goRed(){
var time1 = new Date(Date.parse(new Date()));
var time2 = new Date(Date.parse('2020-01-02 10:00:00'));
if (time1 > time2) {
// var time1 = new Date(Date.parse(new Date()));
// var time2 = new Date(Date.parse('2020-01-02 10:00:00'));
// if (time1 > time2) {
window.location.href = 'openRedPacket.html';
} else {
layer.msg('感谢您的关注<br>请于2020-01-02 10:00:00再来打开红包~')
}
// } else {
// layer.msg('感谢您的关注<br>请于2020-01-02 10:00:00再来打开红包~')
// }
}
</script>
......
......@@ -479,6 +479,7 @@
token: res.data.token,
secretKey: res.data.secretKey,
}
localStorage.onLogin = true
localStorage.u = JSON.stringify(userInfo)
if(isbillPage){
localStorage.billPage = JSON.stringify(userInfo);
......
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