diff --git a/平台端web/菜市场管理/菜市场列表.html b/平台端web/菜市场管理/菜市场列表.html index f7fb199..a156846 100644 --- a/平台端web/菜市场管理/菜市场列表.html +++ b/平台端web/菜市场管理/菜市场列表.html @@ -486,6 +486,114 @@ .hidden { display: none !important; } + + /* 权限配置样式 */ + .permissions-container { + max-height: 400px; + overflow-y: auto; + } + + .permission-tree { + list-style: none; + padding: 0; + margin: 0; + } + + .permission-item { + margin-bottom: 8px; + } + + .permission-node { + display: flex; + align-items: center; + padding: 10px 12px; + border-radius: 4px; + transition: all 0.3s; + cursor: pointer; + background-color: #fafafa; + border: 1px solid #ebeef5; + } + + .permission-node:hover { + background-color: #f0f7ff; + border-color: #409eff; + } + + .permission-node.selected { + background-color: #e6f4ff; + border-color: #409eff; + } + + .permission-checkbox { + margin-right: 10px; + width: 16px; + height: 16px; + cursor: pointer; + } + + .expand-btn { + background: none; + border: none; + cursor: pointer; + padding: 2px; + margin-right: 8px; + color: #409eff; + font-size: 12px; + transition: all 0.3s; + min-width: 20px; + border-radius: 3px; + } + + .expand-btn:hover { + background: #e6f4ff; + } + + .expand-btn.collapsed { + transform: rotate(-90deg); + } + + .permission-label { + font-size: 14px; + color: #606266; + user-select: none; + flex: 1; + } + + .permission-children { + margin-left: 32px; + margin-top: 8px; + border-left: 2px solid #e6f4ff; + padding-left: 12px; + display: none; + } + + .permission-children.expanded { + display: block; + } + + .permission-item.parent > .permission-node { + background-color: #f5f7fa; + font-weight: 500; + } + + /* 权限容器滚动条样式 */ + .permissions-container::-webkit-scrollbar { + width: 6px; + } + + .permissions-container::-webkit-scrollbar-track { + background: #f5f7fa; + border-radius: 3px; + } + + .permissions-container::-webkit-scrollbar-thumb { + background: #dcdfe6; + border-radius: 3px; + } + + .permissions-container::-webkit-scrollbar-thumb:hover { + background: #c0c4cc; + } @@ -728,6 +836,18 @@ + +
+
权限配置
+
+
+
    + +
+
+
+
+
基础配置
@@ -911,6 +1031,116 @@