上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 39 下一页
摘要: 在 index.html 的 apiready 中加上 第一种 : 可设置全屏 api.setFullScreen({ fullScreen: true }); 第二种:设置状态栏背景颜色 api.setStatusBarStyle({ style: 'dark', color: '#fff' }) 阅读全文
posted @ 2020-03-18 21:50 武卡卡 阅读(666) 评论(0) 推荐(0) 编辑
摘要: <div :class="{active:item.index==1}" > </div> 阅读全文
posted @ 2020-02-03 15:29 武卡卡 阅读(122) 评论(0) 推荐(0) 编辑
摘要: <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 武卡卡 阅读(1809) 评论(0) 推荐(1) 编辑
摘要: 打开开发者选项,打开USB设置,把默认USB选项改成MIDI模式,就可以检测到手机 阅读全文
posted @ 2020-01-30 16:11 武卡卡 阅读(2055) 评论(2) 推荐(3) 编辑
摘要: function test(e){ var event = e || windows.event // IE : windows.event ,非IE : e } 阅读全文
posted @ 2020-01-26 11:39 武卡卡 阅读(282) 评论(0) 推荐(0) 编辑
摘要: document.write(" ");document.write(!false);document.write(" ");document.write(!0);document.write(" ");document.write(!false);document.write(" ");docum 阅读全文
posted @ 2020-01-26 11:35 武卡卡 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 需要对 id 进行转换 const mongoose = require('mongoose') var ObjectId = mongoose.Types.ObjectId; await Users.aggregate([ { $match : { "_id":new ObjectId("5asd 阅读全文
posted @ 2020-01-19 18:01 武卡卡 阅读(1677) 评论(0) 推荐(0) 编辑
摘要: <!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 武卡卡 阅读(1711) 评论(0) 推荐(0) 编辑
摘要: 一,在 created中 注册 页面刷新和关闭事件 created() { window.addEventListener('beforeunload', e => this.test(e)) } 二,事件,将你的逻辑方法加进去 methods: { test(e) { console.log('刷 阅读全文
posted @ 2019-12-27 21:41 武卡卡 阅读(17901) 评论(0) 推荐(2) 编辑
摘要: 定义 : global.变量名=‘xxxx’; 取出 : global.变量名 阅读全文
posted @ 2019-12-25 21:46 武卡卡 阅读(4766) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 39 下一页