12 2020 档案
摘要:JS代码中: /* * 打开分享微信弹窗 */ function openDialog () { visible = true; var dialogDom = document.getElementById('dialog') dialogDom.style.display = 'flex' di
阅读全文
摘要:<div class="up"> <img class="bg" src="bg.png"/> </div> .up{ width: 100%; height: 100%; position: relative; display: flex; /*justify-content: center;*/
阅读全文
摘要:.parrent { display: flex; //元素设置成flex布局 flex-direction: column; //控制parrent的子元素排列方向 height: 100vh; //最外层设置为屏幕的高度100% } .son { display:flex; flex-direc
阅读全文
摘要:效果:删除按钮在背景图的上层 <div class="parrent"> <img class="parrent_img"/> //背景图 <img class="parrent_dele" src="../img/delete.png"/> //删除按钮 </div> CSS: .parrent
阅读全文
摘要:Mac: adb logcat -d >/Users/z/android_log.txt windows: adb logcat -d > c:/b.log
阅读全文
摘要:app.gradle: android { defaultConfig { ... multiDexEnabled true } } dependencies { ... implementation ‘androidx.multidex:multidex:2.0.1’ } MyApplicatio
阅读全文
摘要:https://www.jianshu.com/p/edce7af3691a 目录结构: 1、初始化node项目 在命令行输入:npm init 2、安装express 在命令行输入:npm install express 3、然后创建server.js文件 const express = requ
阅读全文