style: 优化 layer 样式

This commit is contained in:
就眠仪式
2021-11-05 00:07:45 +08:00
parent 00e316324e
commit deb3f53299
11 changed files with 27 additions and 33 deletions

View File

@@ -11,7 +11,11 @@
<div
v-if="visible"
:id="id"
class="layui-layer"
class="layui-layer layui-layer-border"
:class="{
'layui-layer-dialog': type === 1,
'layui-layer-iframe': type === 2,
}"
style="position: fixed"
:style="{
top: top,
@@ -67,6 +71,7 @@
}}</a>
</template>
</div>
<span class="layui-layer-resize"></span>
</div>
</template>