Commit 31d47dbb by 李宁

1

1 parent 03cb74f4
...@@ -719,3 +719,35 @@ div{ ...@@ -719,3 +719,35 @@ div{
transform: rotate(360deg); transform: rotate(360deg);
} }
} }
.backDiv{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #fff;
z-index: 9999;
display: flex;
align-items: center;
flex-direction: column;
padding-top: 2.5rem;
}
.backDiv .bts{
width: calc(100% - 1.28rem);
margin: 0 .64rem;
}
.backDiv .botButtBack{
width: 3.38rem;
height: .88rem;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
border-radius: .08rem;
background: #568FFE;
font-weight: 500;
font-size: .34rem;
z-index: 9;
}
\ No newline at end of file \ No newline at end of file
...@@ -375,7 +375,7 @@ ...@@ -375,7 +375,7 @@
<script src="js/vue.min.js"></script> <script src="js/vue.min.js"></script>
<script src="js/vant.min.js"></script> <script src="js/vant.min.js"></script>
<script src="js/demo.js?9091109"></script> <script src="js/demo.js?909111109"></script>
</body> </body>
</html> </html>
\ No newline at end of file \ No newline at end of file
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>江苏移动</title> <title>江苏移动</title>
<link rel="stylesheet" href="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/css/vant.css"/> <link rel="stylesheet" href="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/css/vant.css"/>
<link rel="stylesheet" href="css/index.css?22"> <link rel="stylesheet" href="css/index.css?223333">
</head> </head>
<body> <body>
<!-- <script> <!-- <script>
...@@ -263,13 +263,19 @@ ...@@ -263,13 +263,19 @@
<div class="noData" v-if="noDataFlag"> <div class="noData" v-if="noDataFlag">
<img src="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/noData.png?0909090" alt=""> <img src="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/noData.png?0909090" alt="">
</div> </div>
<div class="backDiv" v-if="backFlag">
<img class="bts" src="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/pause.png" alt="">
<div class="botButtBack" @click="goBack">返回</div>
</div>
</div> </div>
<img id="loading" class="loading" src="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/loading.svg" alt=""> <img id="loading" class="loading" src="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/loading.svg" alt="">
<script src="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/js/axios.min.js"></script> <script src="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/js/axios.min.js"></script>
<script src="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/js/vue.min.js"></script> <script src="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/js/vue.min.js"></script>
<script src="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/js/vant.min.js"></script> <script src="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/js/vant.min.js"></script>
<script src="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/js/util.js?11111"></script> <script src="https://xpo.oss-cn-beijing.aliyuncs.com/huaian/js/util.js?11111"></script>
<script src="js/index.js?8781787"></script> <script src="js/index.js?9090"></script>
</body> </body>
</html> </html>
\ No newline at end of file \ No newline at end of file
...@@ -675,8 +675,12 @@ function setStepButt(){ ...@@ -675,8 +675,12 @@ function setStepButt(){
let nArr = ["Ojdh","Olyq","Oinsf","Owsf","Otv","Ogjtv"] let nArr = ["Ojdh","Olyq","Oinsf","Owsf","Otv","Ogjtv"]
if(fn(stepId,nArr)){ if(fn(stepId,nArr)){
if('3208'.includes(param.areaType)){
$("#shootButt").css('display','flex')
}else{
$("#shootButt2").css('display','flex') $("#shootButt2").css('display','flex')
} }
}
let sArr = ["gongFu_","gongPai_","account_","env_","Ogm_","Ozgm_","Ocgm","lineSta_",,"cloudPcTer","cloudPcScreen",'poePanel','poeSwitchboard'] let sArr = ["gongFu_","gongPai_","account_","env_","Ogm_","Ozgm_","Ocgm","lineSta_",,"cloudPcTer","cloudPcScreen",'poePanel','poeSwitchboard']
if(fn(stepId,sArr)){ if(fn(stepId,sArr)){
$("#shootButt").css('display','flex') $("#shootButt").css('display','flex')
......
...@@ -73,9 +73,14 @@ const util = new window.publicMethod() ; ...@@ -73,9 +73,14 @@ const util = new window.publicMethod() ;
addressButtFlag: false, addressButtFlag: false,
ifFirst: false, ifFirst: false,
ifCallback: false, ifCallback: false,
noDataFlag: false noDataFlag: false,
backFlag: false
}, },
methods: { methods: {
goBack(){
history.go(-1)
},
getReason(){ getReason(){
util.httpRequest({ util.httpRequest({
url: '/listEnum', url: '/listEnum',
...@@ -256,6 +261,16 @@ const util = new window.publicMethod() ; ...@@ -256,6 +261,16 @@ const util = new window.publicMethod() ;
return false return false
}, },
initPage(){ initPage(){
let areaLimit = '3208,3206,3201'
let areaType = util.getUrlParam('areaType')
if(!areaType || !areaLimit.includes(areaType)){
this.backFlag = true
document.getElementById('pageDiv').style.display = 'block'; // 显示内容
document.getElementById('loading').style.display = 'none'; // 去掉加载框
return
}
this.getReason() this.getReason()
if(!this.ifFistIn()){ if(!this.ifFistIn()){
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!