test
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="StoreDetail">
|
||||
<u-navbar back-icon-color="#000" :back-icon-name="isShare ? 'home': 'nav-back'" title="门店情况" title-color="#000" title-width="300" title-size="32"
|
||||
:title-bold="true" :background="backgroundNavbar" :is-fixed="true" height="44" @custom-back="back"></u-navbar>
|
||||
:title-bold="true" :background="backgroundNavbar" :is-fixed="true" height="44" @custom-back="goBack()"></u-navbar>
|
||||
<div class="header-info">
|
||||
<div class="flex-top">
|
||||
<div class="left">
|
||||
@@ -101,6 +101,7 @@ export default {
|
||||
|
||||
if (query.shopId) {
|
||||
this.shopId = query.shopId
|
||||
this.isShare = false
|
||||
}
|
||||
|
||||
if (this.token) {
|
||||
@@ -197,7 +198,8 @@ export default {
|
||||
toEvaluateForm() {
|
||||
uni.navigateTo({url: `./EvaluateForm?shopId=${this.shopId}`})
|
||||
},
|
||||
back() {
|
||||
goBack() {
|
||||
console.log(111, this.isShare)
|
||||
if(this.isShare) {
|
||||
uni.switchTab({url: '/pages/AppHome/AppHome'})
|
||||
}else {
|
||||
|
||||
Reference in New Issue
Block a user