当前位置: 首页 > news >正文

永久免费高配云服务器济南网站怎么做seo

永久免费高配云服务器,济南网站怎么做seo,北京公司注册地址多少钱,云主机可以放几个网站浏览器的print方法直接调用会打印当前页面的所有元素#xff0c;使用iframe可以实现局部打印所需要的模块。 组件printView#xff0c;将传入的信息放入iframe中#xff0c;调用浏览器的打印功能 templatediv classprintiframeidif…浏览器的print方法直接调用会打印当前页面的所有元素使用iframe可以实现局部打印所需要的模块。 组件printView将传入的信息放入iframe中调用浏览器的打印功能 templatediv classprintiframeidiframestyledisplay: none; width: 100%frameborder0/iframe/div /template script export default {name: printView,methods: {setBodyHtml(html) {const document window.documentconst iframe window.frames[0]iframe.document.head.innerHTML document.head.innerHTML // 获取当前文档的头部给iframeiframe.document.body.innerHTML html // 把传过来的html给iframe头部iframe.document.body.style.background #ffflet arr document.getElementsByTagName(tr)let heightNum 0let onePage 800 //第一页的高度for (let i in arr) {heightNum arr[i].offsetHeightif (heightNum onePage) {heightNum arr[i].offsetHeightonePage 1500 //第二页高度}}iframe.window.print()}} } /script div v-ifdetail.work_order_id classbefore idprint_info         work-order-detail :detaildetail/work-order-detail /div // 打印 const viewRef ref(null) const print () {   const html document.getElementById(print_info).innerHTML   viewRef.value.setBodyHtml(html) }
http://www.hkea.cn/news/14581809/

相关文章:

  • 宁波建设协会网站广州网站建设学习
  • 织梦软件网站模板下载四大免费网站
  • 公司网站设计有哪些使用技巧呢企业网站的需求分析
  • 如何申请网站空间wordpress 建app
  • 做哪方面的网站好呢高端网站鉴赏
  • 银川网站公司网站栏目页排名
  • 怎样做网站排名优化wordpress 用户反馈
  • 校园网的网站建设内容响应式网站居中
  • 网站源码路径黄冈网站建设流程
  • tp框架做网站的优点宝安的医院网站建设
  • 为网站网站做代理网站集群怎么做
  • 58同城建设银行招聘网站珠海做网站公司
  • thinkphp制作网站开发网站营销方式
  • 移动网站 模板用别人公司名字做网站违法么
  • 如何修改自己的网站标题f2fpay wordpress
  • 宜昌做网站的公司三亚同城招聘网站
  • html菜鸟入门教程中小企业网站seo
  • 适合做网站服务器的主机支付公司网站建设费怎么入账
  • 做国外购物网站推广营销
  • 做外贸用什么视频网站好北京包装设计公司排名
  • 青海建设厅通报网站网页模板快速建站工具
  • 网站技能培训班有哪些广告联盟排行榜
  • 门户网站 源码网站如何提高排名
  • 网站开发脚本语言wordpress管理密码忘记
  • 协会宣传网站开发方案南通移动网站建设
  • 如何做企业网站方法湖南网络公司排名
  • 网站服务器租赁费用中建一局
  • 如何增加网站的索引量教育网站的建设
  • 公司门户网站模板百度云搭建wordpress
  • 宣武郑州阳网站建设txt免费全本电子书软件下载网站