固定住运行环境状态
This commit is contained in:
@@ -68,13 +68,19 @@ export default {
|
||||
})
|
||||
},
|
||||
handleSwitchSystem() {
|
||||
this.$http.defaults.baseURL = this.currentLib == "apps" ? "/lan" :
|
||||
this.currentLib == "sass" ? "/saas" : "/"
|
||||
this.changeConfig()
|
||||
sessionStorage.setItem("prj", this.currentLib)
|
||||
this.getApps()
|
||||
this.logout()
|
||||
},
|
||||
changeConfig() {
|
||||
this.$http.defaults.baseURL = this.currentLib == "apps" ? "/lan" :
|
||||
this.currentLib == "sass" ? "/saas" : "/"
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.currentLib = sessionStorage.getItem("prj") || "apps"
|
||||
this.changeConfig()
|
||||
this.agentSign(this.$route.query)
|
||||
},
|
||||
onShow() {
|
||||
|
||||
@@ -101,15 +101,14 @@ export default {
|
||||
},
|
||||
onShow() {
|
||||
document.title = '网格管理'
|
||||
this.isGirdUser()
|
||||
uni.$on('hideTab', () => {
|
||||
this.isTab = false
|
||||
})
|
||||
uni.$on('showTab', () => {
|
||||
this.isTab = true
|
||||
})
|
||||
},
|
||||
onLoad() {
|
||||
this.isGirdUser()
|
||||
|
||||
uni.$on('goback', (res) => {
|
||||
this.params = res
|
||||
})
|
||||
@@ -126,9 +125,11 @@ export default {
|
||||
.AppGridManagement {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.pad-t32 {
|
||||
padding-top: 32px;
|
||||
}
|
||||
|
||||
.select-gird {
|
||||
width: calc(100% - 60px);
|
||||
padding: 24px 32px;
|
||||
@@ -136,11 +137,13 @@ export default {
|
||||
border-radius: 16px;
|
||||
margin: 0 30px 32px;
|
||||
box-sizing: border-box;
|
||||
|
||||
img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
div {
|
||||
display: inline-block;
|
||||
width: calc(100% - 144px);
|
||||
@@ -151,10 +154,12 @@ export default {
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 48px;
|
||||
|
||||
img {
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
display: inline-block;
|
||||
width: 112px;
|
||||
@@ -166,6 +171,7 @@ export default {
|
||||
line-height: 48px;
|
||||
}
|
||||
}
|
||||
|
||||
.tabs {
|
||||
width: 100%;
|
||||
height: 98px;
|
||||
@@ -175,14 +181,17 @@ export default {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
|
||||
.item {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 22px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
@@ -190,18 +199,22 @@ export default {
|
||||
color: #c4cad4;
|
||||
line-height: 8px;
|
||||
}
|
||||
|
||||
.color-3267F0 {
|
||||
color: #3267f0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.empty {
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
width: 282px;
|
||||
height: 306px;
|
||||
margin: 136px auto 0;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
|
||||
Reference in New Issue
Block a user