Commit e7367e89 authored by Mac's avatar Mac

修改活动结束的ios弹出问题

parent df106e5c
......@@ -286,3 +286,48 @@ p{
text-align: center;
line-height: 0.25rem;
}
.deta_replace{
width: 2rem;
height: 0.7rem;
display: none;
flex-direction: row;
justify-content: space-between;
}
.replace_box{
width: 0.46rem;
height: 100%;
display: inline-block;
position: relative;
}
.replace_top{
width: 0.46rem;
height:50% ;
background: #C72220;
border-bottom: 1px solid #FFFFFF;
box-sizing: border-box;
border-radius: 10px 10px 0 0;
}
.replace_bottom{
height:50% ;
background: #C72220;
box-sizing: border-box;
border-radius: 0 0 10px 10px;
}
.replace_text{
width: 0.46rem;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
.replace_text p{
color: #FFFFFF;
font-family: "Helvetica Neue", Helvetica, sans-serif;
font-size: 0.54rem;
font-weight: bold;
line-height: 0.7rem;
text-align: center;
}
......@@ -39,6 +39,37 @@
</div>
<div class="deta_replace">
<div class="replace_box">
<div class="replace_top"></div>
<div class="replace_bottom"></div>
<div class="replace_text">
<p>0</p>
</div>
</div>
<div class="replace_box">
<div class="replace_top"></div>
<div class="replace_bottom"></div>
<div class="replace_text">
<p>0</p>
</div>
</div>
<div class="replace_box">
<div class="replace_top"></div>
<div class="replace_bottom"></div>
<div class="replace_text">
<p>0</p>
</div>
</div>
<div class="replace_box">
<div class="replace_top"></div>
<div class="replace_bottom"></div>
<div class="replace_text">
<p>0</p>
</div>
</div>
</div>
<p class="box_text"></p>
</div>
</div>
......@@ -118,9 +149,9 @@
<script>
// let href = 'http://activity.oytour.com/html/Appmd/draw.html?customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzE5NzA5MDUuMCwiZXhwIjoxNTc0NTYyOTA1LjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6M319.vlAcXCx4C_0KOmfLm4cLRxU28gTHmuMK6jgJtwjsSPM&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=App';
let href = window.location.href;
// let href = window.location.href;
// alert("href",href)
// let href='http://127.0.0.1:5500/html/GT_activities.html?customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzM0NjY2NjMuMCwiZXhwIjoxNTczNTUzMDYzLjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6NH19.hX2b2MqSWYmWS0k3YsthxW-T6UxarIm5rdbqCVQtxdQ&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=xcx';
let href='http://127.0.0.1:5500/html/GT_activities.html?customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzM0NjY2NjMuMCwiZXhwIjoxNTczNTUzMDYzLjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6NH19.hX2b2MqSWYmWS0k3YsthxW-T6UxarIm5rdbqCVQtxdQ&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=xcx';
let param = href.split('?')[1].split("&") ? href.split('?')[1].split("&") : null;
let token = param[2].split('=')[1];
......@@ -210,6 +241,8 @@
$('.img_btn').css("background-color", "#CCCCCC");
let nextActivity = res.data.nextActivity;
if(nextActivity !=null){
$('.dataStatistics').css('display',"none");
$('.deta_replace').css('display',"flex");
$('#notice').css('display',"block");
$('.notice_img').css('display',"block");
let nexttime = nextActivity.activityStartDate;
......
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