master
elf 2 years ago
parent 5caac5fc6f
commit 929d0e0fa1

@ -70,12 +70,14 @@
<?php } ?>
</div>
<script type="text/javascript">
$('.btn-enquiry-img').on('click', function() {
layer.open({
type: 1,
skin: 'layui-layer-rim', //加上边框
area: ['420px', '240px'], //宽高
content: '<img src="'+ $(this).data('url') + '" alt="">'
});
})
jQuery(function ($) {
$('.btn-enquiry-img').on('click', function() {
layer.open({
type: 1,
skin: 'layui-layer-rim', //加上边框
area: ['420px', '240px'], //宽高
content: '<img src="'+ $(this).data('url') + '" alt="">'
});
})
});
</script>
Loading…
Cancel
Save