
最新下载
24小时阅读排行榜
- 1 小红书蒲公英入口快速定位_小红书蒲公英官网链接分享
- 2 中暑了有什么症状?怎么办?
- 3 Linux搜索文件命令find常用参数
- 4 Java中final类和final方法使用注意事项
- 5 拷贝漫画ios官网入口 拷贝漫画ios官网进入网站
- 6 你的设备遇到问题需要重启win10
- 7 win10系统语言怎么修改成中文_系统显示语言更改与中文语言包安装
- 8 解决React中map渲染组件beforeunload事件的数据捕获问题
- 9 PHP源码session管理机制_PHP源码session管理机制讲解
- 10 WhatsApp深色模式切换指南-WhatsApp界面设置中文官网教程
- 11 Go 方法定义与结构体分离的优势
- 12 使用 scipy.integrate.quad 积分指示函数:陷阱与解决方案
- 13 DescriptAI如何编辑民间故事音频_DescriptAI编辑民间故事音频全面操作教程
- 14 phpcms上传附件大小限制修改
- 15 JS 深拷贝实现方案对比 - 处理循环引用的结构化克隆算法解析
最新教程
-
- Node.js 教程
- 2552 2025-08-28
-
- CSS3 教程
- 230602 2025-08-27
-
- Rust 教程
- 3030 2025-08-27
-
- Vue 教程
- 3719 2025-08-22
-
- PostgreSQL 教程
- 3873 2025-08-21
-
- Git 教程
- 3102 2025-08-21
jQuery响应式聊天窗口界面特效是一款支持响应式布局,支持用户分组,聊天窗口支持图片上传和表情发布。
screenFuc();
function screenFuc() {
var topHeight = $(".chatBox-head").innerHeight();//聊天头部高度
//屏幕小于768px时候,布局change
var winWidth = $(window).innerWidth();
if (winWidth <= 768) {
var totalHeight = $(window).height(); //页面整体高度
$(".chatBox-info").css("height", totalHeight - topHeight);
var infoHeight = $(".chatBox-info").innerHeight();//聊天头部以下高度
//中间内容高度
$(".chatBox-content").css("height", infoHeight - 46);
$(".chatBox-content-demo").css("height", infoHeight - 46);
$(".chatBox-list").css("height", totalHeight - topHeight);
$(".chatBox-kuang").css("height", totalHeight - topHeight);
$(".div-textarea").css("width", winWidth - 106);
} else {
$(".chatBox-info").css("height", 495);
$(".chatBox-content").css("height", 448);
$(".chatBox-content-demo").css("height", 448);
$(".chatBox-list").css("height", 495);
$(".chatBox-kuang").css("height", 495);
$(".div-textarea").css("width", 260);
}
}

