摘要:
我真是闲得蛋疼。。。 <template> <div id="app"> <div id="display">{{display}}</div> <div class="button" v-for="item in buttons" :key="item" @click="deal(item)">{ 阅读全文
摘要:
因为网络上虽然有mongodb nodejs 连接池的教程,但是用的是已经过时的api,所以想出这个方法,分享一下 需要基础的express的知识http://www.expressjs.com.cn/ 使用的是官方的mongodb驱动和generic-pool npm install --save 阅读全文
摘要:
vue进入/离开 & 列表过渡 单个组件 style控制 template <button @click="show1 = !show1">{{show1}}</button> <transition name="fade"> <div class="test" v-show="show1">sho 阅读全文
摘要:
https://webpack.docschina.org/guides首先贴个webpack官方中文教程网站 为什么要使用webpack? 当我在js代码里使用import的时候,我的chrome居然报错了??? 不是说一般现在的浏览器都支持es2015的语法嘛???懵逼,所以我需要一个打包软件 阅读全文
摘要:
https://git-scm.com/book/zh 使用的 是git bash 初始化设置, 用户名和邮箱 git config --globle user.name .... git config --globle user.email .... git help config 可以打开本地h 阅读全文
摘要:
revoke riˈvōk 撤销 put an end to the validity or operation of (a decree, decision, or promise). privilege ˈpriv(ə)lij 特权 a special right, advantage, or 阅读全文
摘要:
import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; public class Main{ JButton setButtons(String name) { JButton tButton... 阅读全文
摘要:
transform-style: preserve-3d; 使得子元素当做3d元素来对待 https://developer.mozilla.org/zh-CN/docs/Web/CSS/transform-style perspective: 300; -webkit-perspective: 3 阅读全文
摘要:
https://www.cnblogs.com/dolphin0520/p/3920373.html https://www.cnblogs.com/skywang12345/p/3479949.html 阅读全文
摘要:
首先贴上大神的帖子链接: https://www.cnblogs.com/rubylouvre/archive/2009/08/24/1552862.html 主要记录clientX和clientY属性,都是事件属性。 做了一个简单的效果: js 代码: html 代码: (为了方便测试直接把css 阅读全文