Commit db22731c authored by 全球's avatar 全球

防伪码优化

parent b7c23f10
<template> <template>
<div class="grade-status"> <div class="grade-status">
<div class="nav"> <div class="nav">
<van-icon <!-- <van-icon
name="arrow-left" name="arrow-left"
size="20" size="20"
class="nav-left" class="nav-left"
@click="handlerBack" @click="handlerBack"
/> />-->
<span class="nav-title">区块链溯源</span> <span class="nav-title">区块链溯源</span>
</div> </div>
<div class="forest-content"> <div class="forest-content">
...@@ -59,13 +59,13 @@ ...@@ -59,13 +59,13 @@
} }
}, },
methods: { methods: {
handlerBack() { /* handlerBack() {
try { try {
this.$bridgeToAppFun.navigateBack(); this.$bridgeToAppFun.navigateBack();
} catch { } catch {
this.$router.go(-1); this.$router.go(-1);
} }
}, },*/
onInput(key) { onInput(key) {
this.value = (this.value + key).slice(0, 6); this.value = (this.value + key).slice(0, 6);
if(this.value.length == 6){ if(this.value.length == 6){
......
<template> <template>
<div class="grade-status"> <div class="grade-status">
<div class="nav"> <div class="nav">
<van-icon <!--<van-icon-->
name="arrow-left" <!--name="arrow-left"-->
size="20" <!--size="20"-->
class="nav-left" <!--class="nav-left"-->
@click="handlerBack" <!--@click="handlerBack"-->
/> <!--/>-->
<span class="nav-title">产品认证信息</span> <span class="nav-title">产品认证信息</span>
</div> </div>
<div class="forest-content"> <div class="forest-content">
...@@ -78,13 +78,13 @@ ...@@ -78,13 +78,13 @@
this.stCertList() this.stCertList()
}, },
methods: { methods: {
handlerBack() { // handlerBack() {
try { // try {
this.$bridgeToAppFun.navigateBack(); // this.$bridgeToAppFun.navigateBack();
} catch { // } catch {
this.$router.go(-1); // this.$router.go(-1);
} // }
}, // },
stCertList(){ stCertList(){
this.shaValue = localStorage.getItem("shaValue") this.shaValue = localStorage.getItem("shaValue")
this.sheetShow = true this.sheetShow = true
......
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