kdayun-compnent-develop/kdayun-compnent-pack/dist/preview.html

41 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>页面预览</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<!-- <link rel="stylesheet" href="./css/design.css"> -->
<link rel="stylesheet" href="./css/font-awesome/css/font-awesome.css" media="all" />
<style>
#yhdesignerPreviewId {
height: 100%;
width: 100%;
}
</style>
</head>
<body style="min-height: 660px">
<div class="yhdesigner" id="yhdesignerPreviewId"></div>
<input id="model" type="hidden" value=''>
<script type="text/javascript" src="./libs/jquery.js"></script>
<script type="text/javascript" src="./libs/layui/layui.js"></script>
<script type="text/javascript" src="./libs/ztree/js/jquery.ztree.all.min.js"></script>
<script type="text/javascript" src="./libs/lodash.js"></script>
<script>
window['yh_config'] = {
rootDir: ''
}
$(function () {
window.yhpreview && window.yhpreview.render('yhdesignerPreviewId');
})
</script>
<script src="preview.js"></script></body>
</html>