Commit 4a988e46 authored by xiangzj's avatar xiangzj

高端总经销权限

parent bbe739e4
......@@ -130,7 +130,7 @@
},
conditionTop() {
return {
'top': `${this.sysinfo.safeArea.top + 44 + 4}px`
'top': `${this.sysinfo.safeArea.top + 44}px`
}
},
listTop() {
......@@ -138,7 +138,7 @@
'top': `${this.sysinfo.safeArea.top + 120}px`
}
},
...mapState(['sysinfo', 'userInfo'])
...mapState(['sysinfo', 'userInfo', 'userBpData'])
},
onNavigationBarButtonTap(e) {
console.log('onNavigationBarButtonTap:', e);
......@@ -153,6 +153,16 @@
this.handleFilter('week')
this.loadData(true)
},
onReady() {
// const webView = this.$mp.page.$getAppWebview
if(this.userBpData.HIGH_ROLE === "FALSE"){
const webView = this.$scope.$getAppWebview();
webView.setTitleNViewButtonStyle(0, {
"width": 0,
'fontSize': 0
});
}
},
methods: {
loadData(refresh) {
if (this.isLoading) {
......
......@@ -129,7 +129,7 @@
},
conditionTop() {
return {
'top': `${this.sysinfo.safeArea.top + 44 + 4}px`
'top': `${this.sysinfo.safeArea.top + 44 }px`
}
},
listTop() {
......@@ -155,7 +155,6 @@
},
onReady() {
// const webView = this.$mp.page.$getAppWebview
console.log()
if(this.userBpData.HIGH_ROLE === "FALSE"){
const webView = this.$scope.$getAppWebview();
webView.setTitleNViewButtonStyle(0, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment