优化权限

This commit is contained in:
gyq
2025-04-03 16:28:31 +08:00
parent 117df7d7bd
commit 429283e542
15 changed files with 16364 additions and 139 deletions

View File

@@ -164,6 +164,10 @@
<goods ref="goodsRef" @loading="cartLoading = true" />
<!-- ©银收客 v{{ packageData.version }} -->
</div>
<!-- 无权限遮罩 -->
<div class="no_permission" v-if="!store.menus.length || (store.menus.length && !store.menus[0].state)">
无操作权限请联系管理员(´д)
</div>
</div>
<!-- 备注 -->
<remarkModal ref="remarkRef" @success="(e) => (remark = e)" />
@@ -382,6 +386,26 @@ function clearVipUserHandle() {
</script>
<style scoped lang="scss">
.content {
position: relative;
}
.no_permission {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 999;
border-radius: 10px;
background-color: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(5px);
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
}
.order_list_wrap {
.order_list_item {
&:not(:last-child) {