摘要: 我真是闲得蛋疼。。。 <template> <div id="app"> <div id="display">{{display}}</div> <div class="button" v-for="item in buttons" :key="item" @click="deal(item)">{ 阅读全文
posted @ 2019-11-27 16:11 托马斯blue_cat 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 因为网络上虽然有mongodb nodejs 连接池的教程,但是用的是已经过时的api,所以想出这个方法,分享一下 需要基础的express的知识http://www.expressjs.com.cn/ 使用的是官方的mongodb驱动和generic-pool npm install --save 阅读全文
posted @ 2019-11-24 22:16 托马斯blue_cat 阅读(1515) 评论(0) 推荐(2) 编辑
摘要: vue进入/离开 & 列表过渡 单个组件 style控制 template <button @click="show1 = !show1">{{show1}}</button> <transition name="fade"> <div class="test" v-show="show1">sho 阅读全文
posted @ 2019-11-24 21:45 托马斯blue_cat 阅读(365) 评论(0) 推荐(0) 编辑
摘要: https://webpack.docschina.org/guides首先贴个webpack官方中文教程网站 为什么要使用webpack? 当我在js代码里使用import的时候,我的chrome居然报错了??? 不是说一般现在的浏览器都支持es2015的语法嘛???懵逼,所以我需要一个打包软件 阅读全文
posted @ 2019-06-17 20:21 托马斯blue_cat 阅读(86) 评论(0) 推荐(0) 编辑
摘要: https://git-scm.com/book/zh 使用的 是git bash 初始化设置, 用户名和邮箱 git config --globle user.name .... git config --globle user.email .... git help config 可以打开本地h 阅读全文
posted @ 2019-03-03 12:59 托马斯blue_cat 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-12-02 15:21 托马斯blue_cat 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2018-11-29 20:55 托马斯blue_cat 阅读(227) 评论(0) 推荐(0) 编辑
摘要: transform-style: preserve-3d; 使得子元素当做3d元素来对待 https://developer.mozilla.org/zh-CN/docs/Web/CSS/transform-style perspective: 300; -webkit-perspective: 3 阅读全文
posted @ 2018-11-29 20:54 托马斯blue_cat 阅读(121) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/dolphin0520/p/3920373.html https://www.cnblogs.com/skywang12345/p/3479949.html 阅读全文
posted @ 2018-11-29 20:51 托马斯blue_cat 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 首先贴上大神的帖子链接: https://www.cnblogs.com/rubylouvre/archive/2009/08/24/1552862.html 主要记录clientX和clientY属性,都是事件属性。 做了一个简单的效果: js 代码: html 代码: (为了方便测试直接把css 阅读全文
posted @ 2018-11-14 21:49 托马斯blue_cat 阅读(187) 评论(0) 推荐(0) 编辑