弹窗优化
parent
b062718ee9
commit
31b81570ec
|
|
@ -0,0 +1,4 @@
|
|||
.layui-layer-msg{
|
||||
border-color: whitesmoke!important;
|
||||
box-shadow: 2px 0 6px rgb(0 21 41 / 0.05)!important;
|
||||
}
|
||||
|
|
@ -14,6 +14,7 @@
|
|||
@import url("pear-module/button.css");
|
||||
@import url("pear-module/table.css");
|
||||
@import url("pear-module/frame.css");
|
||||
@import url("pear-module/layer.css");
|
||||
@import url("pear-module/menu.css");
|
||||
@import url("pear-module/form.css");
|
||||
@import url("pear-module/link.css");
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
@import url("pear-module/button.css");
|
||||
@import url("pear-module/table.css");
|
||||
@import url("pear-module/frame.css");
|
||||
@import url("pear-module/layer.css");
|
||||
@import url("pear-module/menu.css");
|
||||
@import url("pear-module/form.css");
|
||||
@import url("pear-module/link.css");
|
||||
|
|
|
|||
|
|
@ -95,11 +95,12 @@
|
|||
layui.use(['popup', 'jquery', 'layer', 'code'], function() {
|
||||
var popup = layui.popup;
|
||||
var $ = layui.jquery;
|
||||
var layer = layui.layer;
|
||||
|
||||
layui.code();
|
||||
|
||||
$(".success").click(function() {
|
||||
popup.success("成功消息")
|
||||
layer.msg("我的世界",{time:0,icon:1})
|
||||
})
|
||||
$(".failure").click(function() {
|
||||
popup.failure("失败消息")
|
||||
|
|
|
|||
|
|
@ -48,13 +48,13 @@
|
|||
</script>
|
||||
|
||||
<script type="text/html" id="user-bar">
|
||||
<button class="pear-btn pear-btn-primary pear-btn-sm" lay-event="edit"><i class="layui-icon layui-icon-edit"></i></button>
|
||||
<button class="pear-btn pear-btn-primary pear-btn-sm" lay-event="edit"><i class="layui-icon layui-icon-edit"></i></button>
|
||||
<button class="pear-btn pear-btn-danger pear-btn-sm" lay-event="remove"><i class="layui-icon layui-icon-delete"></i></button>
|
||||
<button class="pear-btn pear-btn-sm" id="more{{d.userId}}"><i class="layui-icon layui-icon-triangle-d"></i></button>
|
||||
</script>
|
||||
|
||||
<script type="text/html" id="user-enable">
|
||||
<input type="checkbox" name="enable" value="{{d.id}}" lay-skin="switch" lay-text="启用|禁用" lay-filter="user-enable" checked = "{{ d.enable == 0 ? 'true' : 'false' }}">
|
||||
<input type="checkbox" name="enable" value="{{d.id}}" lay-skin="switch" lay-text="启用|禁用" lay-filter="user-enable" checked = "{{ d.enable == 0 ? 'true' : 'false' }}">
|
||||
</script>
|
||||
|
||||
<script type="text/html" id="user-sex">
|
||||
|
|
@ -79,10 +79,9 @@
|
|||
|
||||
<script type="text/plain" id="moreTool">
|
||||
[
|
||||
[{txt: "Progerss", event: "progress"}]
|
||||
[{txt: "Resolve", event: "resolve"}]
|
||||
[{txt: "Reopen", event: "reopen"}]
|
||||
[{txt: "Close", event: "close"}]
|
||||
[{txt: "导出信息", event: "progress"}]
|
||||
[{txt: "下载文件", event: "resolve"}]
|
||||
[{txt: "查看详情", event: "reopen"}]
|
||||
]
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue