123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <!DOCTYPE html>
- <html lang="">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
- <link rel="icon" href="<%= BASE_URL %>favicon.ico">
- <link rel="stylesheet" type="text/css" href="./font/font.css" />
- <title>巧鱼</title>
- <!-- 压缩版 -->
- <script src="https://cdn.ronghub.com/RongEmoji-2.2.7.min.js"></script>
- <script>
- var inputContent = {
- open:false,
- el:'',
- time:'',
- before_type:'',
- };
- (function (win,doc) {
- win.screen_conf = {
- width:0, // 页面可见宽度
- height:0, // 页面可见高度
- fontSize:0, // 页面单位大小
- proportion:0, // 比例
- multiple:100, // 倍数
- ref:1920, // 参照,
- startHeight: window.innerHeight,
- maxWidth:1920,
- minWidth: 1600
- };
- doc.onblur = function(){
- window.scroll(0,0);
- doc.scrollIntoView && doc.scrollIntoView();
- };
- // 定义 宽度和高度变量
- win.handle_size = function () {
- // 设置被修改的数据问题
- screen_conf.width = win.innerWidth;
- screen_conf.height = win.innerHeight;
- if(window.orientation==0){
- doc.documentElement.style.width = screen_conf.width + 'px';
- doc.documentElement.style.minHeight = screen_conf.height + 'px';
- }
- screen_conf.width = screen_conf.width >= win.screen_conf.maxWidth?win.screen_conf.maxWidth:screen_conf.width;
- screen_conf.width = screen_conf.width <= win.screen_conf.minWidth?win.screen_conf.minWidth:screen_conf.width;
- screen_conf.proportion = screen_conf.width / screen_conf.ref;
- screen_conf.fontSize = screen_conf.proportion * screen_conf.multiple;
- doc.documentElement.style.fontSize = screen_conf.fontSize+'px';
- for (var i=0,count = observer_size.length;i<count;i++) {
- typeof observer_size[i] === 'function'&&observer_size[i](screen_conf);
- }
- };
- // 定义观察者函数
- win.observer_size = [];
- win.handle_size(0,20);
- window.addEventListener('resize',win.handle_size);
- })(window,document);
- window.console = (function () {
- var c = {
- log: window.console.log,
- error:window.console.error
- };
- c.warn = c.debug = c.info = c.time = c.dir = c.profile = c.clear = c.exception = c.trace = c.assert = function () { };
- return c;
- })();
- </script>
- </head>
- <body ondragstart="window.event.returnValue=false;return false;" oncontextmenu="window.event.returnValue=false;return false;" onselectstart="event.returnValue=false;return false;">
- <noscript>
- <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
- </noscript>
- <div id="app"></div>
- <!-- built files will be auto injected -->
- </body>
- <script src="./js/WebAudioRecorder.min.js"></script>
- </html>
|