|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="mianBox" v-if="order">
|
|
|
<van-row class="headerBox" >
|
|
|
- <van-icon name="arrow-left" @click="$router.go(-1)" v-if="erp"/>
|
|
|
+ <van-icon name="arrow-left" @click="fanhuiBtn" v-if="erp"/>
|
|
|
{{title}}
|
|
|
</van-row>
|
|
|
<template v-if="erp">
|
|
@@ -332,13 +332,19 @@ export default {
|
|
|
userNoAlert(){
|
|
|
Toast("当前账户初始流程中,请耐心等待或联系管理人员查询")
|
|
|
},
|
|
|
- getQueryVariable(variable){//参数获取
|
|
|
+ getQueryVariable(variable){//参数获取 设定微信进入参数
|
|
|
//window.location.search.substring(1);
|
|
|
var query = window.location.hash.substring(3);
|
|
|
var vars = query.split("&");
|
|
|
+ if(vars[2]){ //判定微信端进入
|
|
|
+ localStorage.setItem("passageway","weixin")
|
|
|
+ }else{
|
|
|
+ localStorage.removeItem("passageway")
|
|
|
+ }
|
|
|
for (var i=0;i<vars.length;i++) {
|
|
|
var pair = vars[i].split("=");
|
|
|
if(pair[0] == variable || pair[0] =="mount?token"){
|
|
|
+
|
|
|
if(vars[1] != "classify"){
|
|
|
localStorage.removeItem("classify")
|
|
|
}
|
|
@@ -667,6 +673,14 @@ export default {
|
|
|
(this.state6 = "color:#fff;background: #F22E3C;"),
|
|
|
(this.money = 300);
|
|
|
},
|
|
|
+ //返回上级或app目录页
|
|
|
+ fanhuiBtn(){
|
|
|
+ if(localStorage.getItem("passageway")){
|
|
|
+ this.$router.go(-1)
|
|
|
+ }else{
|
|
|
+ window.location.href = "https://smartpark.caih.com/h5/#/home/feature?isApp=true"
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
@@ -776,9 +790,9 @@ export default {
|
|
|
.van-button {
|
|
|
margin-top:20px;
|
|
|
width: 350px;
|
|
|
- height: 50px;
|
|
|
+ height: 40px;
|
|
|
border-radius: 10px;
|
|
|
- font-size: 18px;
|
|
|
+ font-size: 16px;
|
|
|
}
|
|
|
}
|
|
|
.recharge2{
|