提交 0b56f3b7 编写于 作者: 雪洛's avatar 雪洛

fix: 修复宽屏模式顶部返回箭头错乱

上级 cf85c1e2
......@@ -139,10 +139,5 @@
.uni-top-window uni-tabbar .uni-tabbar {
background-color: #fff !important;
}
.uni-app--showleftwindow .uni-page-head-btn {
display: none !important;
}
/* #endif */
</style>
......@@ -74,9 +74,13 @@
goPage(url : string) {
if (url == '/set-tab-bar') {
this.showPop()
} else {
if(this.hasLeftWin) {
uni.reLaunch({ url })
} else {
uni.navigateTo({ url })
}
}
},
showPop: function () {
(this.$refs["pop"] as UniElement).style.setProperty("display", "flex")
......
......@@ -67,7 +67,11 @@
},
methods: {
goPage(url : string) {
if(this.hasLeftWin) {
uni.reLaunch({ url })
} else {
uni.navigateTo({ url })
}
},
},
// #ifdef WEB
......
......@@ -75,7 +75,11 @@
},
methods: {
goPage(url : string) {
if(this.hasLeftWin) {
uni.reLaunch({ url })
} else {
uni.navigateTo({ url })
}
},
// #ifdef UNI-APP-X && APP
upgradePopupShow() {
......
......@@ -263,9 +263,11 @@
e.url.indexOf('platform') > -1
? e.url
: `/pages/template/${e.url}/${e.url}`
uni.navigateTo({
url,
})
if(this.hasLeftWin) {
uni.reLaunch({ url })
} else {
uni.navigateTo({ url })
}
},
},
// #ifdef WEB
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册