返回首页
This commit is contained in:
parent
d85907f490
commit
eab1be1ca1
|
@ -193,6 +193,9 @@
|
|||
this.isPage = false
|
||||
this.selectIndex = null
|
||||
this.isHome = false
|
||||
uni.navigateTo({
|
||||
url: '/pages/hairtailScreen/exchangePortion/index/index1'
|
||||
})
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
|
@ -72,12 +72,12 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="homeHide" v-show="!isHome" @tap="backTap(0)">
|
||||
<!-- <view class="homeHide" v-show="!isHome" @tap="backTap(0)">
|
||||
<image src="../../static/images/homeHide.png"></image>
|
||||
</view>
|
||||
<view class="homeShow" v-show="isHome" @tap="backTap(1)">
|
||||
<image src="../../static/images/homeShow.png"></image>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -211,6 +211,7 @@
|
|||
},
|
||||
// 返回首页
|
||||
backTap(e) {
|
||||
|
||||
if (e == 0) {
|
||||
this.isHome = true
|
||||
} else {
|
||||
|
@ -218,6 +219,9 @@
|
|||
this.name = null
|
||||
this.selectIndex = null
|
||||
this.isHome = false
|
||||
uni.navigateTo({
|
||||
url: '/pages/hairtailScreen/exchangePortion/index/index1'
|
||||
})
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue