角色插件选择错误修

feat/task1-c-wallet
gongfuxiang 2025-05-08 19:04:14 +08:00
parent bae6d746d2
commit 516bcef2c8
2 changed files with 8 additions and 8 deletions

View File

@ -84,7 +84,7 @@
</label>
<span class="am-color-red">{{:MyLang('common_service.role.form_item_plugins_tips')}}</span>
</div>
<ul class="tree-list tree-plugins am-flex am-flex-warp">
<ul class="tree-list tree-plugins-list am-flex am-flex-warp">
{{if !empty($power['plugins'])}}
{{foreach $power.plugins as $v}}
<li>

View File

@ -1,34 +1,34 @@
/* 插件权限 */
.tree-plugins {
.tree-plugins-list {
background: transparent;
}
.tree-plugins li {
.tree-plugins-list li {
min-width: 180px;
width: 10%;
border-radius: var(--border-radius);
overflow: hidden;
}
.tree-plugins label.am-checkbox-inline {
.tree-plugins-list label.am-checkbox-inline {
font-size: 1.4rem;
color: #333;
}
.tree-plugins label.am-checkbox-inline .am-ucheck-icons {
.tree-plugins-list label.am-checkbox-inline .am-ucheck-icons {
top: 0.2rem;
}
.tree-plugins li label.am-checkbox-inline .am-ucheck-icons {
.tree-plugins-list li label.am-checkbox-inline .am-ucheck-icons {
top: 0.3rem;
}
.tree-plugins li>div {
.tree-plugins-list li>div {
background: #fff;
padding: 1rem;
}
@media only screen and (max-width:641px) {
.tree-plugins li {
.tree-plugins-list li {
width: 50%;
min-width: auto;
}