add:okBarcode菜单
parent
4381b12876
commit
f9595834d7
|
|
@ -417,6 +417,10 @@
|
||||||
"title": "okMd5.js",
|
"title": "okMd5.js",
|
||||||
"href": "pages/tripartite/okMd5.html"
|
"href": "pages/tripartite/okMd5.html"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"title": "okBarcode.js",
|
||||||
|
"href": "pages/tripartite/okBarcode.html"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "SweetAlert2.js",
|
"title": "SweetAlert2.js",
|
||||||
"href": "pages/tripartite/countup.html"
|
"href": "pages/tripartite/countup.html"
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@ if (!Object.assign) {
|
||||||
"okCookie": "okmodules/okCookie",
|
"okCookie": "okmodules/okCookie",
|
||||||
"okMd5": "okmodules/okMd5",
|
"okMd5": "okmodules/okMd5",
|
||||||
"okToastr": "okmodules/okToastr",
|
"okToastr": "okmodules/okToastr",
|
||||||
|
"okBarcode": "okmodules/okBarcode",
|
||||||
};
|
};
|
||||||
var modulePath = Object.assign({
|
var modulePath = Object.assign({
|
||||||
layer: "modules/layer",
|
layer: "modules/layer",
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>okBarcode</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
|
<link rel="stylesheet" href="../../css/oksub.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="ok-body">
|
||||||
|
</div>
|
||||||
|
<!--js逻辑-->
|
||||||
|
<script src="../../lib/layui/layui.js"></script>
|
||||||
|
<script>
|
||||||
|
layui.use(["okBarcode"], function () {
|
||||||
|
let okBarcode = layui.okBarcode;
|
||||||
|
console.log(okBarcode);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
Reference in New Issue