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