电脑有声音,Adobe Audition没有声音怎么办?解决方法 |
您所在的位置:网站首页 › 打不开cad文件是什么原因 › 电脑有声音,Adobe Audition没有声音怎么办?解决方法 |
HTML+CSS+JS在线客服对话框迷你版
hoang_cam: } HTML+CSS+JS在线客服对话框迷你版hoang_cam: nodeSpan.classList.add('dialogue-text', 'dialogue-service-text'); nodeSpan.innerHTML = serviceText[i]; nodeP.appendChild(nodeSpan); dialogueContain.appendChild(nodeP); dialogueContain.scrollTop = dialogueContain.scrollHeight; } // 渐隐 function fadeOut(obj) { var n = 100; var time = setInterval(function() { if (n > 0) { n -= 10; obj.style.opacity = '0.' + n; } else if (n = 80) { obj.style.opacity = '1'; clearInterval(time); } }, 100); return true; HTML+CSS+JS在线客服对话框迷你版hoang_cam: alogue-main').css({'display': 'none'}); $('.dialogue-support-btn').css({'display': 'inline-block'}); }); }) dialogueInput.addEventListener('keydown', function(e) { var e = e || window.event; if (e.keyCode == 16) { shiftKeyOn = true; } if (shiftKeyOn) { return true; } else if (e.keyCode == 13 && dialogueInput.value == '') { // console.log('发送内容不能为空'); // 多次触发只执行最后一次渐隐 setTimeout(function() { fadeIn(dialogueHint); clearTimeout(timerId) timer = setTimeout(function() { fadeOut(dialogueHint) }, 2000); }, 10); timerId = timer; return true; } else if (e.keyCode == 13) { var nodeP = doc.createElement('p'), nodeSpan = doc.createElement('span'); nodeP.classList.add('dialogue-customer-contain'); HTML+CSS+JS在线客服对话框迷你版hoang_cam: var doc = document; // 模拟一些后端传输数据 var serviceData = { 'robot': { 'name': 'robot001', 'dialogue': ['模拟回复1', '模拟回复2', '模拟回复3'], 'welcome': '您好,robot001为您服务' } }; var dialogueInput = doc.getElementById('dialogue_input'), dialogueContain = doc.getElementById('dialogue_contain'), dialogueHint = doc.getElementById('dialogue_hint'), btnOpen = doc.getElementById('btn_open'), btnClose = doc.getElementById('btn_close'), timer, timerId, shiftKeyOn = false; // 辅助判断shift键是否按住 btnOpen.addEventListener('click', function(e) { $('.dialogue-support-btn').css({'display': 'none'}); $('.dialogue-main').css({'display': 'inline-block', 'height': '0'}); $('.dialogue-main').animate({'height': '600px'}) }) btnClose.addEventListener('click', function(e) { $('.dialogue-main').animate({'height': '0'}, function() { $('.di 电脑投屏到手机/平板上做第二屏幕(显示器)zhu_er_chong: 为什么按了win+p扩展后没有反应呢 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |