12 2020 档案

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

点击右上角即可分享
微信分享提示