diff --git a/src/apps/AppHandSnapshot/AppHandSnapshot.vue b/src/apps/AppHandSnapshot/AppHandSnapshot.vue index 90654217..881be10c 100644 --- a/src/apps/AppHandSnapshot/AppHandSnapshot.vue +++ b/src/apps/AppHandSnapshot/AppHandSnapshot.vue @@ -1,12 +1,16 @@ @@ -46,6 +50,7 @@ export default { } ], isTab: true, + isAdmin: false } }, @@ -68,6 +73,19 @@ export default { this.refresh = true }) }, + isGirdUser() { + this.isAdmin = false + this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => { + if (res.code == 0) { + if (res.data.checkType != '0') { + this.isAdmin = true + } + } + }) + }, + }, + onLoad() { + this.isGirdUser() }, onShow() { document.title = '随手拍' @@ -77,6 +95,7 @@ export default { uni.$on('showTab', () => { this.isTab = true }) + }, onReachBottom() { if(!this.tabIndex) { @@ -119,4 +138,18 @@ export default { } } } +.empty{ + text-align: center; + img{ + width: 282px; + height: 306px; + margin: 136px auto 0; + } + p{ + font-size: 28px; + font-family: PingFangSC-Regular, PingFang SC; + color: #999; + line-height: 40px; + } +} diff --git a/src/apps/AppHandSnapshot/components/img/no-admin.png b/src/apps/AppHandSnapshot/components/img/no-admin.png new file mode 100644 index 00000000..3830c170 Binary files /dev/null and b/src/apps/AppHandSnapshot/components/img/no-admin.png differ