jQuery MiniUI
标题:
水印问题
[打印本页]
作者:
danishlyy
时间:
2018-7-25 14:28:24
标题:
水印问题
想在mini-datagrid查询结果画面添加一个水印,用了canvas元素 H5 但是放在任何位置 水印都不显示在datagrid上,而且有点地方还影响查询操作 点击按钮没有反应
var angle = 35;
var ctx = document.getElementById("cv").getContext("2d");
ctx.fillStyle = "#aa0000";
ctx.beginPath();
// 绘制水印
ctx.font = "20px microsoft yahei";
ctx.fillStyle = "rgba(255,255,255,0.5)";
ctx.fillStyle = "red";
ctx.rotate(angle * Math.PI / 180);
ctx.fillText("张三 市妇幼 张三 市妇幼 张三 市妇幼", 200, 200);
ctx.closePath();
}
window.onload = test;
复制代码
作者:
felt
时间:
2018-7-25 15:27:14
这canvans和我们的表格有什么关系?
作者:
felt
时间:
2018-7-25 17:27:24
[attach]11158[/attach][attach]11157[/attach]
如图,这和我们MiniUI是没关系。
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2