11 2019 档案

摘要:git stash 当本地代码不想提交覆盖,又忙于其他分支,可以先储存起来。 git stash命令的作用就是将目前还不想提交的但是已经修改的内容进行保存至堆栈中,后续可以在某个分支上恢复出堆栈中的内容。这也就是说,stash中的内容不仅仅可以恢复到原先开发的分支,也可以恢复到其他任意指定的分支上。 阅读全文
posted @ 2019-11-22 17:36 Panax 阅读(6175) 评论(0) 推荐(1) 编辑
摘要:右击打开控制台,找到音乐列表 ——》 点开详情 》 生成外部链接器 ,如: outchain/0/3073492173 ,这是每一个音乐的编号。 然后拼接上它的官网域名: https://music.163.com/#/outchain/0/3073492173 然后打开链接 : 下面代码就可以用了 阅读全文
posted @ 2019-11-22 15:30 Panax 阅读(678) 评论(0) 推荐(0) 编辑
摘要:JavaScript 各种遍历方式详解 在$.each中想要终止循环,但是它没有continue或者break这样的终止方式,所以尝试使用return来进行终止,但是发现并没有跳出循环。为了搞清楚js中关于各种遍历方式的不同,通过查询进行了一下总结: 为了方便例子讲解,现有数组和json对象如下: 阅读全文
posted @ 2019-11-22 11:22 Panax 阅读(308) 评论(0) 推荐(0) 编辑
摘要:<template> <div class="serverList"> <ul class="scrollModeBox" :style="{'-webkit-overflow-scrolling': scrollMode,height: wrapperHeight + 'px'}"> <mt-lo 阅读全文
posted @ 2019-11-06 17:58 Panax 阅读(2141) 评论(0) 推荐(0) 编辑
摘要:直接贴代码: <template> <div class="hello"> <p>签字:</p> <canvas id="canvas" width="300" height="400">Canvas画板</canvas> <button style="background: #fff;color: 阅读全文
posted @ 2019-11-06 17:53 Panax 阅读(1319) 评论(0) 推荐(0) 编辑
摘要:安装: npm i vue-preview -S 2. main.js中 导入组件 //vue-preview 开始 import VuePreview from 'vue-preview'; // defalut install Vue.use(VuePreview) //vue-preview 阅读全文
posted @ 2019-11-06 17:00 Panax 阅读(2326) 评论(0) 推荐(0) 编辑
摘要:css : 阅读全文
posted @ 2019-11-04 18:06 Panax 阅读(1758) 评论(0) 推荐(0) 编辑
摘要:html, body, h1, h2, h3, h4, h5, h6, p, textarea, input, select, ul, ol, li, fieldset, figure { margin: 0; padding: 0; border: none; } html,body{ heigh 阅读全文
posted @ 2019-11-04 17:56 Panax 阅读(912) 评论(0) 推荐(0) 编辑
摘要:在公共样式中加入 阅读全文
posted @ 2019-11-04 17:55 Panax 阅读(1899) 评论(0) 推荐(0) 编辑
摘要:.tab-pic-wrap .pic-wrap .list li a:hover img { transform: scale(1.03); } .tab-pic-wrap .pic-wrap .list li a img { width: 100%; transition: all 0.2s; } 阅读全文
posted @ 2019-11-04 17:48 Panax 阅读(581) 评论(0) 推荐(0) 编辑
摘要:data() { return { list:[ // 添加属性fale 后的值 ], // 测试数据 goList:[ { name:'张三', phone:'18621958665' }, { name:'李四', phone:'18621958665' }, { name:'张er', pho 阅读全文
posted @ 2019-11-04 17:41 Panax 阅读(2638) 评论(0) 推荐(0) 编辑
摘要:有时间可能有多个人开发,如果在共用router, 势必会造成合并冲突,可以分开多个router.js ,然后进行合并 阅读全文
posted @ 2019-11-04 17:22 Panax 阅读(835) 评论(0) 推荐(0) 编辑
摘要:钉钉的开发,一是小程序的模式,二是H5嵌套的模式 这里只简单介绍一下H5嵌套的模式。也就是微应用。 1. 微应用的免登录 引入钉钉npm install dingtalk-jsapi --save cnpm 淘宝镜像安装更快。 // 获取到钉钉 code _this.$dd.ready(functi 阅读全文
posted @ 2019-11-04 16:23 Panax 阅读(4529) 评论(3) 推荐(1) 编辑
摘要:Ctrl+Shift+P: 打开命令面板 打开一个新窗口: Ctrl+Shift+N 关闭窗口: Ctrl+Shift+W 新建文件 Ctrl+N 代码行缩进 Ctrl+[ 、 Ctrl+] 上下移动一行: Alt+Up 或 Alt+Down 向上向下复制一行: Shift+Alt+Up 或 Shi 阅读全文
posted @ 2019-11-04 15:58 Panax 阅读(3259) 评论(0) 推荐(0) 编辑
摘要:2. 但这样 window.location.search 这样常常会获取不到。 原因是; search只能在取到“?”后面和“#”之前的内容,如果“#”之前没有“?”search取值为空。它默认参数和#是一个字符串 3.完善 4.对于没有#号url ,最好的是方法是: 阅读全文
posted @ 2019-11-04 15:24 Panax 阅读(5367) 评论(0) 推荐(0) 编辑
摘要:本文主要介绍移动端。为了避免移动端兼容出现各种奇奇怪怪的bug,所以秉承着能不用复杂的语法就不用,尽量用最基础的语法。 可用惯了各种ES6语法的童鞋们,写原生真是头疼,再加上各种领导催工期,肯定是内心各种烦躁。这里介绍一下,如何在H5中运vue 去写,嵌套到用到app中。 首先引入vue CDN , 阅读全文
posted @ 2019-11-04 11:52 Panax 阅读(3550) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示