This commit is contained in:
JyuHsin
2024-12-06 08:47:16 +08:00
parent 035b0a46c7
commit c957e2ddd4
20 changed files with 580 additions and 181 deletions
@@ -32,7 +32,7 @@
}
.van-tabs__line {
background-color: #1867b0;
background-color: #1867b0!important;
}
.font-theme-color {
@@ -273,6 +273,18 @@ var sublime = function () {
},
//2022/02/14 zxy pjax跳转自定义页面
jumpPagePjax(pageUrl) {
// const url = new URL(location.protocol + "//" + location.host + jump_url)
// const pathname = url.pathname
// headerNavBarVueApp.matchMenu(pathname)
// setTimeout(() => {
// const a = document.querySelector('a[href="' + pathname + '"][data-pjax]')
// if (a) {
// a.href = jump_url
// a.click()
// a.href = pathname
// // leftMenuApp.assignmentMenu()
// }
// }, 0)
const index = pageUrl.indexOf("?")
const doMainUrl = index > -1 ? pageUrl.substring(0, index) : pageUrl
const {protocol, host} = window.location