2020年7月29日

摘要: 最近发现在开发环境下出现问题 将HTML页面复制到android/app/src/main/assets文件夹 source = Platform.OS 'ios' ? require('../Static.bundle/**html') : { uri: 'file:///android_asse 阅读全文
posted @ 2020-07-29 16:44 z102410 阅读(987) 评论(0) 推荐(0)
摘要: 在根目录新建 Static.bundle 文件夹 打开android/app/build.gradle文件,新增 android { ... sourceSets { main { assets.srcDirs = ['src/main/assets', '../../Static.bundle'] 阅读全文
posted @ 2020-07-29 16:42 z102410 阅读(242) 评论(0) 推荐(0)

2020年4月21日

摘要: vscode eslint2.x版本以管理员身份运行shell并 运行npm install eslint -g全局下载ESLint 打开vs code,下载eslint插件,并重启vs code使插件生效 执行 eslint --init 提示 无法加载文件 /*eslint.ps1,因为在此系统 阅读全文
posted @ 2020-04-21 21:09 z102410 阅读(392) 评论(0) 推荐(0)

2020年4月19日

摘要: vm100的情况下 取消了滚动条的宽度::-webkit-scrollbar { width:0px; height:0px; } 阅读全文
posted @ 2020-04-19 19:48 z102410 阅读(135) 评论(0) 推荐(0)
摘要: var utterThis = new window.SpeechSynthesisUtterance('き'); utterThis.lang = 'ja'; window.speechSynthesis.speak(utterThis); 阅读全文
posted @ 2020-04-19 19:30 z102410 阅读(503) 评论(0) 推荐(0)
摘要: // Opera 8.0+ var isOpera = (!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0; // Firefox 1.0+ var isFiref 阅读全文
posted @ 2020-04-19 19:27 z102410 阅读(345) 评论(0) 推荐(0)

2020年4月4日

摘要: .bgdiv{ background-image: url(../img/nnh_n_0.jpg) ; background-size: 100% auto; width: 100%; height: 768px; position: relative; background-color: #000 阅读全文
posted @ 2020-04-04 14:35 z102410 阅读(112) 评论(0) 推荐(0)