vue
文章平均质量分 59
锦坤!
这个作者很懒,什么都没留下…
展开
-
vue点击下载pdf
【代码】vue点击下载pdf。原创 2023-04-21 10:47:55 · 122 阅读 · 0 评论 -
echarts饼图封装
subtext: this.subtext, //副标题。{ value: 1048, name: "异常设备" },{ value: 735, name: "正常设备" },text: this.text, //主标题。// x: "44%", //X坐标。// y: "35%", //Y坐标。default: "主标题",default: "副标题",// 是否显示提示(方框)// 字体颜色(方框)// 字体大小(方框)// 标题位置(上下)// 标题位置(左右)原创 2023-02-16 15:08:16 · 730 阅读 · 0 评论 -
vue echarts下专地图配置
">单位总数:["230000", { name: "黑龙江", map: "heilongjiang" }],["440000", { name: "广东", map: "guangdong" }],["500000", { name: "重庆", map: "chongqing" }],["810000", { name: "香港", map: "xianggang" }],["210000", { name: "辽宁", map: "liaoning" }],原创 2022-12-08 09:18:57 · 716 阅读 · 0 评论 -
跨域传递数据(iframe), postMessage用法
otherWindow:其他窗口的一个引用,比如 iframe 的 contentWindow 属性、执行 window.open 返回的窗口对象、或者是命名过或数值索引的 window.frames。这些对象的所有权将被转移给消息的接收方,而发送一方将不再保有所有权。2. A页面为父页面,A页面中嵌套B页面(iframe)3. B页面为iframe页面,即A页面中src所指页面。message:要传递的数据。...原创 2022-08-03 09:07:02 · 3388 阅读 · 0 评论 -
按钮和开关组件
<template> <div :style="{ marginLeft, marginTop, marginBottom }"> <div class="title">{{ title }}</div> <div class="div-buttons-button"> <div :class="['button', item.disable ? 'disable' : '']" ...原创 2022-04-28 10:49:46 · 232 阅读 · 0 评论 -
自定义表格,自动滚动(适用postcss-px-to-viewport 插件)
<template> <div class="tables" :style="{ marginTop: marginTop, marginLeft: marginLeft, marginBottom: marginBottom, }" > <div class="div-select"> <span v-for="(item, index)...原创 2022-04-27 13:57:24 · 374 阅读 · 0 评论