修改BUG:网站皮肤控件ID更改为css
This commit is contained in:
parent
702d3289e9
commit
2e4ba267f7
|
@ -80,7 +80,7 @@
|
|||
<div class="card-body">
|
||||
<div class="form-group">
|
||||
<div class="btn-group" role="group">
|
||||
<button id="dictCssDefine" class="btn btn-success dropdown-select dropdown-toggle" data-toggle="dropdown" data-default-val="" value="@Model.Theme">默认样式</button>
|
||||
<button id="css" class="btn btn-success dropdown-select dropdown-toggle" data-toggle="dropdown" data-default-val="" value="@Model.Theme">默认样式</button>
|
||||
<ul class="dropdown-menu" role="menu" id="cssContainer">
|
||||
<li><a href="#" data-val="">默认样式</a></li>
|
||||
@foreach (var css in Model.Themes)
|
||||
|
@ -94,7 +94,6 @@
|
|||
<li><a href="#" data-val="@css.Code">@css.Name</a></li>
|
||||
}
|
||||
}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -62,7 +62,6 @@
|
|||
<li><a href="#" data-val="@css.Code">@css.Name</a></li>
|
||||
}
|
||||
}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<button class="btn btn-secondary" type="button" data-method="css">保存</button>
|
||||
|
|
|
@ -66,4 +66,5 @@
|
|||
if ($('[enctype="multipart/form-data"]').is(":hidden")) {
|
||||
$('.card-img').removeClass('d-none');
|
||||
}
|
||||
$('#css').dropdown('val');
|
||||
});
|
Loading…
Reference in New Issue