- 2022/12/08
- |
- 知识
- |
- Views: 6,006
- |
- 0 Replies
layui提供的固定块功能,语法:util.fixbar(options),默认只有2个图标,如果需要2个以上的图标,可以自己去写式样代码<style>
.custom-footer {
position: fixed;
right: 15px;
bottom: 15px;
z-index: 999999;
}
.custom-footer li {
width: 50px;
height: 50px;
line-height: 50px;
margin-bottom: 1px;
text-align: ...
- 2022/11/14
- |
- 知识
- |
- Views: 5,805
- |
- 0 Replies
success: function(res) {
var iframe = $(res).find('iframe');;
var Height=iframe[0].contentDocument.body.offsetHeight+50
iframe.css('height', Height);
$(res).css('top', (window.innerHeight - Height - 100) / 2);
...