会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
武卡卡的个人博客
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
14
15
16
17
18
19
20
21
22
···
39
下一页
2020年3月18日
apicloud(沉浸式导航篇) - 手机状态栏 有黑边的解决办法
摘要: 在 index.html 的 apiready 中加上 第一种 : 可设置全屏 api.setFullScreen({ fullScreen: true }); 第二种:设置状态栏背景颜色 api.setStatusBarStyle({ style: 'dark', color: '#fff' })
阅读全文
posted @ 2020-03-18 21:50 武卡卡
阅读(692)
评论(0)
推荐(0)
2020年2月3日
Vue - 动态绑定class
摘要: <div :class="{active:item.index==1}" > </div>
阅读全文
posted @ 2020-02-03 15:29 武卡卡
阅读(129)
评论(0)
推荐(0)
2020年2月2日
uniapp - 导航切换(样式)
摘要: <view class="text-area" v-for="(menu,i) in menus" :key="i" v-show="true"> <view :class="[active_index==i?'red':'green']" :id="i" @click="menuClick"> {
阅读全文
posted @ 2020-02-02 10:41 武卡卡
阅读(1826)
评论(0)
推荐(1)
2020年1月30日
uniapp - 手机调试 ( vivo )
摘要: 打开开发者选项,打开USB设置,把默认USB选项改成MIDI模式,就可以检测到手机
阅读全文
posted @ 2020-01-30 16:11 武卡卡
阅读(2129)
评论(2)
推荐(3)
2020年1月26日
JS - 处理浏览器兼容之 event
摘要: function test(e){ var event = e || windows.event // IE : windows.event ,非IE : e }
阅读全文
posted @ 2020-01-26 11:39 武卡卡
阅读(287)
评论(0)
推荐(0)
JS - false 的 六种类型
摘要: document.write(" ");document.write(!false);document.write(" ");document.write(!0);document.write(" ");document.write(!false);document.write(" ");docum
阅读全文
posted @ 2020-01-26 11:35 武卡卡
阅读(377)
评论(0)
推荐(0)
2020年1月19日
Mongodb - 解决 ( aggregate聚合管道 ) $match 根据 id 匹配 返回 [ ] 的问题
摘要: 需要对 id 进行转换 const mongoose = require('mongoose') var ObjectId = mongoose.Types.ObjectId; await Users.aggregate([ { $match : { "_id":new ObjectId("5asd
阅读全文
posted @ 2020-01-19 18:01 武卡卡
阅读(1691)
评论(0)
推荐(0)
2020年1月5日
JQuery - $(this) 加 siblings() 的使用
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv
阅读全文
posted @ 2020-01-05 18:57 武卡卡
阅读(1765)
评论(0)
推荐(0)
2019年12月27日
Vue - 监听页面刷新和关闭
摘要: 一,在 created中 注册 页面刷新和关闭事件 created() { window.addEventListener('beforeunload', e => this.test(e)) } 二,事件,将你的逻辑方法加进去 methods: { test(e) { console.log('刷
阅读全文
posted @ 2019-12-27 21:41 武卡卡
阅读(17940)
评论(0)
推荐(2)
2019年12月25日
nodeJS - 定义全局变量
摘要: 定义 : global.变量名=‘xxxx’; 取出 : global.变量名
阅读全文
posted @ 2019-12-25 21:46 武卡卡
阅读(4776)
评论(0)
推荐(0)
上一页
1
···
14
15
16
17
18
19
20
21
22
···
39
下一页
公告