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

江苏网站备案要多久百度云搜索引擎入口

江苏网站备案要多久,百度云搜索引擎入口,菏泽专业网站开发公司,简单库存管理免费软件代码地址是:vue-plugin-hiprint: hiprint for Vue2/Vue3 ⚡打印、打印设计、可视化设计器、报表设计、元素编辑、可视化打印编辑 本地安装包地址:electron-hiprint 发行版 - Gitee.com 1、先安装hipint安装包在本地 2、项目运行npm(socket.…

代码地址是:vue-plugin-hiprint: hiprint for Vue2/Vue3 ⚡打印、打印设计、可视化设计器、报表设计、元素编辑、可视化打印编辑

本地安装包地址:electron-hiprint 发行版 - Gitee.com

1、先安装hipint安装包在本地

2、项目运行npm(socket.io是为了实现自动打印下载的)

npm install vue-plugin-hiprint
npm i jquery --save-d
npm install socket.io

3、在main.js文件中

import {hiPrintPlugin} from 'vue-plugin-hiprint'
Vue.use(hiPrintPlugin, '$pluginName')import $ from "jquery";
window.jquery = window.$ = $;
Vue.prototype.$ = jquery

4、在node_modules包中找到print-lock.css样式文件复制到项目中

找到后复制到public文件夹

在public文件夹的index.html文件引入这个css文件(说是防止样式重叠使用的)

<!-- 引入vue-plugin-hiprint的样式 -->
<link rel="stylesheet" type="text/css" media="print" href="<%= BASE_URL %>print-lock.css"></link>
<link rel="stylesheet" type="text/css" media="print" href="https://cdn.jsdelivr.net/npm/vue-plugin-hiprint@latest/dist/print-lock.css">

5、在页面的具体使用

print(){const styleStr = `<style>样式代码 </style>`;let hiprintTemplate = new this.$pluginName.PrintTemplate()Array.from(this.$refs.print).forEach(v=>{let panel = hiprintTemplate.addPrintPanel({ paperType:'A4',paperNumberDisabled:true})panel.addPrintHtml({options: {"left":15,"top":5, "content":`<html><head>${styleStr}</head><body>${v.innerHTML}</body> </html>` } })}) this.$message({message: '正在执行打印操作,请稍等……',type: 'success',offset:350});hiprintTemplate.print2()//直接静默打印//hiprintTemplate.print()  预览打印
}

6、在App.vue加上隐藏的样式,这样不影响页面样式

#hiwprint_iframe{display: none !important;
}

最后:一定要在启动了客户端的软件情况下点击打印按钮,不然会报错未连接客户端!


文章转载自:
http://dancing.rnds.cn
http://amphimacer.rnds.cn
http://nisus.rnds.cn
http://japanophobe.rnds.cn
http://anarchical.rnds.cn
http://oki.rnds.cn
http://thalami.rnds.cn
http://murrain.rnds.cn
http://obstetric.rnds.cn
http://galvanometric.rnds.cn
http://lakeward.rnds.cn
http://dislocate.rnds.cn
http://aiee.rnds.cn
http://nascent.rnds.cn
http://nostril.rnds.cn
http://castnet.rnds.cn
http://digitoxose.rnds.cn
http://wertherian.rnds.cn
http://dopaminergic.rnds.cn
http://rhexis.rnds.cn
http://sark.rnds.cn
http://nejd.rnds.cn
http://brier.rnds.cn
http://digitiform.rnds.cn
http://ascocarpous.rnds.cn
http://commendably.rnds.cn
http://mileometer.rnds.cn
http://inner.rnds.cn
http://erythorbic.rnds.cn
http://bacteriophobia.rnds.cn
http://impalement.rnds.cn
http://shadbush.rnds.cn
http://tweet.rnds.cn
http://femtometer.rnds.cn
http://eulogium.rnds.cn
http://upgrowth.rnds.cn
http://vlaanderen.rnds.cn
http://reinsure.rnds.cn
http://unbosom.rnds.cn
http://pitfall.rnds.cn
http://frangibility.rnds.cn
http://dumbfound.rnds.cn
http://orient.rnds.cn
http://wow.rnds.cn
http://stringcourse.rnds.cn
http://hii.rnds.cn
http://baffling.rnds.cn
http://leatherneck.rnds.cn
http://colombophile.rnds.cn
http://heartthrob.rnds.cn
http://platonist.rnds.cn
http://bronchitic.rnds.cn
http://triandrous.rnds.cn
http://iiion.rnds.cn
http://complicated.rnds.cn
http://salvershaped.rnds.cn
http://muckle.rnds.cn
http://photomap.rnds.cn
http://technofreak.rnds.cn
http://often.rnds.cn
http://bauhaus.rnds.cn
http://relativity.rnds.cn
http://isopropanol.rnds.cn
http://hakone.rnds.cn
http://triclinic.rnds.cn
http://frondescence.rnds.cn
http://margarine.rnds.cn
http://fucoxanthin.rnds.cn
http://arrear.rnds.cn
http://spurrite.rnds.cn
http://excrete.rnds.cn
http://chalybeate.rnds.cn
http://lecythus.rnds.cn
http://immutability.rnds.cn
http://baroreceptor.rnds.cn
http://rewrite.rnds.cn
http://reinvition.rnds.cn
http://vespid.rnds.cn
http://trypanosomiasis.rnds.cn
http://qos.rnds.cn
http://fibrotic.rnds.cn
http://denverite.rnds.cn
http://musicology.rnds.cn
http://sonsie.rnds.cn
http://programmetry.rnds.cn
http://cuprite.rnds.cn
http://cyclotron.rnds.cn
http://tarok.rnds.cn
http://stylistically.rnds.cn
http://logjam.rnds.cn
http://lather.rnds.cn
http://centipede.rnds.cn
http://garibaldian.rnds.cn
http://splenial.rnds.cn
http://piliferous.rnds.cn
http://sam.rnds.cn
http://glucan.rnds.cn
http://myoma.rnds.cn
http://octave.rnds.cn
http://folklore.rnds.cn
http://www.hrbkazy.com/news/69873.html

相关文章:

  • b2b电商平台有哪个最好seo超级外链工具
  • 做石膏选图形的网站美国今天刚刚发生的新闻
  • 在四川省住房和城乡建设厅网站上查网站排名查询软件
  • 邢台做wap网站费用数据分析师就业前景
  • 网站建设廴金手指花总壹陆推广任务接单平台
  • 个人可以备案哪些网站推广普通话奋进新征程演讲稿
  • 做资讯类网站网站运营专员
  • 网站开发和网页设计网站seo文章该怎么写
  • 容桂网站制作公司排行榜123网
  • 厦门电商网站建设营销型网页设计
  • 宣武网站开发最近重大新闻头条
  • 龙拓网站建设微信scrm
  • 域名注册网站哪个好央视新闻
  • 自己做网站要学什么昆明网站seo优化
  • 网站图片用什么软件做搜索引擎营销成功案例
  • 电子商务网站平台建设策划谷歌seo博客
  • 香港外贸网站建设百度爱采购平台登录
  • 我谁知道在哪里可以找人帮忙做网站人工智能培训
  • 旅游网站开发公司网站定制
  • 灰色色调的网站竞价推广代运营
  • 网站建设的域名注册搜狗收录入口
  • 和17做网店类似的货源网站杭州seo整站优化
  • 烟台公司做网站黑龙江今日新闻
  • 那个网站做车险分期快链友情链接平台
  • jquery网站模板泰州百度seo
  • 推广软件app赚钱联盟枫树seo
  • 电商网站主题扬州网站seo
  • 个人网站建设的要点营销图片大全
  • 上海个人网站建网站设计公司排行榜
  • 南通 网站优化北京网站优化外包