diff --git a/App.vue b/App.vue
index d996bf2..7e91dc0 100644
--- a/App.vue
+++ b/App.vue
@@ -1,7 +1,23 @@
@@ -55,7 +86,6 @@
height: 300rpx;
}
.wrap {
- z-index: 2;
position: relative;
padding: 0 24rpx;
margin-top: -150rpx;
diff --git a/pages/plans/plans.vue b/pages/plans/plans.vue
index ee41a15..ed9d566 100644
--- a/pages/plans/plans.vue
+++ b/pages/plans/plans.vue
@@ -1,7 +1,7 @@
-
+
@@ -151,6 +151,9 @@
.search {
flex: 1;
}
+ /deep/.uni-searchbar__box {
+ height: 60rpx;
+ }
}
.list {
background-color: #fff;
diff --git a/pages/setting/setting.vue b/pages/setting/setting.vue
index 0c360d4..824ed5b 100644
--- a/pages/setting/setting.vue
+++ b/pages/setting/setting.vue
@@ -1,9 +1,9 @@
-
-
-
+
+
+
@@ -26,13 +26,14 @@
accountIcon: {
color: '#007eff',
size: '22',
- type: 'account'
+ type: 'person'
},
pwdIcon: {
color: '#007eff',
size: '22',
type: 'locked'
- }
+ },
+ info: uni.getStorageSync('info')
}
},
methods: {
diff --git a/pages/teams/teams.vue b/pages/teams/teams.vue
index 52edf93..82c5143 100644
--- a/pages/teams/teams.vue
+++ b/pages/teams/teams.vue
@@ -25,7 +25,8 @@
-
+
+ 功能升级中,敬请期待...
@@ -34,6 +35,7 @@
export default {
data() {
return {
+ per: true, // 是否有权限
reachBottom: 0, // 是否是上拉加载。0->否,1->是,-1->加载完所有数据
status: 'more', // 上拉加载状态 more|loading|noMore
searchTimer: null,
@@ -67,9 +69,19 @@
}
},
onShow() {
- this.initList()
+ this.initRole()
},
methods: {
+ // 初始化权限
+ initRole() {
+ const auth = uni.getStorageSync('auth')
+ if (!auth.includes('团队')) {
+ this.per = false
+ } else if (auth.includes('团队:团队列表')) {
+ this.initList()
+ }
+ },
+ // 获取列表
getList() {
teamList({
pageNum: this.page,
diff --git a/styles/common.scss b/styles/common.scss
index d0fe58f..b8e5098 100644
--- a/styles/common.scss
+++ b/styles/common.scss
@@ -162,4 +162,18 @@ ul {
border-radius: 10rpx;
background-color: #007EFF;
}
+}
+.per-mask {
+ z-index: 3;
+ position: fixed;
+ top: 0;
+ left: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ width: 100%;
+ height: 100%;
+ font-size: 28rpx;
+ color: #333;
+ background-color: rgba(255, 255, 255, 0.95);
}
\ No newline at end of file