style: compress index.less
This commit is contained in:
parent
db2ffefd4a
commit
803673a48f
@ -31,7 +31,7 @@ onClickOutside(dropdownRef, (event) => {
|
||||
|
||||
const open = function (event?: Event) {
|
||||
if (props.disabled === false) {
|
||||
if(event){
|
||||
if (event) {
|
||||
const el = event.currentTarget;
|
||||
// @ts-ignore
|
||||
const rect = el.getBoundingClientRect();
|
||||
@ -61,9 +61,9 @@ const toggle = function (event?: Event) {
|
||||
};
|
||||
|
||||
const dropdownStyle = computed(() => ({
|
||||
'--layui-dropdown-left': dropdownX.value,
|
||||
'--layui-dropdown-top': dropdownY.value,
|
||||
}))
|
||||
"--layui-dropdown-left": dropdownX.value,
|
||||
"--layui-dropdown-top": dropdownY.value,
|
||||
}));
|
||||
|
||||
provide("openState", openState);
|
||||
|
||||
|
@ -168,10 +168,7 @@ const searchList = function (str: string, container: any) {
|
||||
</ul>
|
||||
</div>
|
||||
<div v-if="page" class="layui-iconpicker-page">
|
||||
<div
|
||||
id="layui-laypage-1"
|
||||
class="layui-laypage layui-laypage-default"
|
||||
>
|
||||
<div id="layui-laypage-1" class="layui-laypage layui-laypage-default">
|
||||
<span class="layui-laypage-count">共 {{ total }} 个</span
|
||||
><a
|
||||
href="javascript:;"
|
||||
|
Loading…
Reference in New Issue
Block a user