forked from slacker-HD/creo_weblink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQrCodeGen.html
96 lines (87 loc) · 3.88 KB
/
QrCodeGen.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>工程图中插入二维码或条形码</title>
<link rel="stylesheet" type="text/css" href="./weblinkcss/style.css">
<link rel="stylesheet" type="text/css" href="./weblinkcss/highlight.css">
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?767e3ea52a6b4f3c656cdd4119c87e62";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<script src="./weblinkjs/pfcUtils.js"> </script>
<script src="./weblinkjs/jquery.min.js"> </script>
<script src="./weblinkjs/qrcode.min.js"> </script>
<script src="./weblinkjs/QRCodeGen.js"> </script>
<script src="./weblinkjs/JsBarcode.all.min.js"> </script>
<body vlink="purple" onload="init()">
<div class="body_container">
<div id="header">
<div class="site-name">
<a id="logo" href=".">Creo二次开发工具</a>
<p class="description">本页功能必须在Creo内置窗口打开才能使用。仅在win10 X64,Creo 2.0 M060 X64环境测试通过。</p>
</div>
</div>
</div>
<div class="body_container">
<div class="post">
<h1 class="post-title">当前打开的绘图为:</h1>
<br />
<h2 class="post-title" id="currentModel">--</h2>
</div>
<div class="post">
<h1 class="post-title">在此输入文字以生成二维码:</h1>
<br />
<table style="width:100%">
<tr>
<td style="width :100%">
<textarea id="qrcodetext" class="comments" rows="15" cols="10"></textarea>
</td>
<td>
<div id="qrcode" style="width:258px">
</div>
</td>
</tr>
</table>
<button class="blue" style="width:280px" onclick="InsertQRCode();">左键单击绘图位置插入二维码</button>
<br />
<br />
<p>根据输入的文字生成二维码。</p>
</div>
<div class="post">
<h1 class="post-title">在此输入文字以生成条形码:</h1>
<br />
<table style="width:100%">
<tr>
<td style="width :100%">
<textarea id="barcodetext" class="comments" rows="9" cols="10"></textarea>
</td>
<td>
<svg id="barcode" style="width:258px">
</s>
</td>
</tr>
</table>
<button class="blue" style="width:280px" onclick="InsertBARCode();">左键单击绘图位置插入条形码</button>
<br />
<br />
<p>根据输入的文字生成条形码并插入绘图中,注意条形码只支持数字和字母,不支持符号。</p>
</div>
</div>
<div id="footer">
<div class="footer-info">
<p>本工具由胡迪开发</p>
<p>欢迎访问我的博客:<a target="_blank" href="http://www.hudi.site">http://www.hudi.site</a></p>
<p> Theme by
<a rel="nofollow" target="_blank" href="https://github.com/chaooo/hexo-theme-BlueLake"> BlueLake</a>
</p>
</div>
</div>
</body>
</html>