Commit be3c4998 authored by Mac's avatar Mac

11

parent 7f7b1582
......@@ -100,7 +100,7 @@
}
.open_money span{color: #FB412C}
.open_money span:nth-child(1){font-size: 0.16rem ;margin-top: 0.15rem}
.open_money span:nth-child(2){font-size: 0.4rem}
.open_money span:nth-child(2){font-size: 0.32rem}
.open_money span:nth-child(3){font-size: 0.16rem;margin-top: 0.35rem}
.readXieyi{
......@@ -217,7 +217,7 @@
<div class="open_redP">
<div class="open_money">
<span></span>
<span class="money">99999</span>
<span class="money">0</span>
<span></span>
</div>
</div>
......@@ -266,8 +266,16 @@
<script type="text/javascript" src="../js/mian.js"></script>
<script type="text/javascript" src="../js/layer/layer.js"></script>
<script>
let userInfo = JSON.parse(localStorage.userInfo)
let dataObj = JSON.parse(localStorage.dataObj)
let userInfo,dataObj
if(localStorage.userInfo && localStorage.dataObj){
userInfo = JSON.parse(localStorage.userInfo)
dataObj = JSON.parse(localStorage.dataObj)
}else {
window.location.href = '../login.html?page=billPage';
}
$('.money').html(dataObj.yearTotalPrice);
......
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