上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页
摘要: Three.js是一款webGL框架,由于其易用性被广泛应用。Three.js在WebGL的api接口基础上,又进行的一层封装。 用最简单的一句话概括:WebGL和Three.js的关系,相当于JavaScript和Jquery的关系。 功能概述: Three.js作为WebGL框架中的佼佼者,由于 阅读全文
posted @ 2020-12-28 16:01 JeckHui 阅读(689) 评论(0) 推荐(1)
摘要: live-server是可以运行前端静态文件的一个服务器,既然我们要前后端分离,所以就需要单独将html代码运行起来,这里我们选择live-server,等到后边真正部署的时候在用nginx 1. live-server安装 1 .要想安装live-server,我们需要首先先安装nvm: 1 cu 阅读全文
posted @ 2020-12-28 15:55 JeckHui 阅读(434) 评论(0) 推荐(0)
摘要: // 函数泛型testFun <T> (val:T):T{ return val } this.testFun<number>(3) // 默认类型 interface Itype<T=number> { name: T } 第一种 private test:Itype ={ name:122323 阅读全文
posted @ 2020-12-15 12:24 JeckHui 阅读(699) 评论(0) 推荐(0)
摘要: 先head引入 <script type="text/javascript" src="http://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script> html如下 <div id="login_container">< 阅读全文
posted @ 2020-11-03 09:09 JeckHui 阅读(4729) 评论(0) 推荐(0)
摘要: 正则表达式梳理 ^ 开始 $ 结束 邮箱(限制格式) var a2 = /^[0-9]{9}@[a-z]{2}\.[a-z]{3}$/a2.test('844271163@qq.com') 手机号(11位数字) var a3 = /^[0-9]{11}$/a3.test('13266556733') 阅读全文
posted @ 2020-10-12 17:26 JeckHui 阅读(84) 评论(0) 推荐(0)
摘要: 传送门:https://www.cnblogs.com/soyxiaobi/p/9846057.html 阅读全文
posted @ 2020-10-12 10:19 JeckHui 阅读(173) 评论(0) 推荐(0)
摘要: 多级组件通信,用vuex太重,props太麻烦。 vue 2.4 版本提供了另一种方法,使用 v-bind=”$attrs”, 将父组件中不被认为 props特性绑定的属性传入子组件中,通常配合 interitAttrs 选项一起使用。 <top> <center> <bottom> </botto 阅读全文
posted @ 2020-10-10 16:43 JeckHui 阅读(790) 评论(0) 推荐(0)
摘要: 在main.ts 中添加Vue.component('sayHello',{ render(h){ return h('p',{ style:{ color:'red' } },`早上好`)//格式是`${this.userName}` }, data(){ return{ userName:'小明 阅读全文
posted @ 2020-10-10 16:11 JeckHui 阅读(640) 评论(0) 推荐(0)
摘要: 参考链接 相比以前jquery的资料,vue的甘特图插件少很多,中文资料更是少的可怜,以下两个链接是在网上搜到相对还不错的甘特图插件 https://www.cnblogs.com/liang715200/p/12029640.htmlhttps://github.com/neuronetio/vu 阅读全文
posted @ 2020-08-18 15:13 JeckHui 阅读(4048) 评论(0) 推荐(0)
摘要: 现在仅需增加以下一行魔法 CSS: html[theme='dark-mode'] { filter: invert(1) hue-rotate(180deg); } 这个方法的唯一缺点是,它还会反转应用程序中的所有图像。 因此,我们将对所有图像添加相同的规则,以逆转效果。 html[theme=' 阅读全文
posted @ 2020-08-11 08:59 JeckHui 阅读(508) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页