摘要: 一个页面打开数字数据自动想加的特效(一般用于网站浏览数据,客户数量的动态展示); 阅读全文
posted @ 2019-01-13 15:36 斯丢皮德曼 阅读(160) 评论(0) 推荐(0) 编辑
摘要: <!-- * * loadingGif组件--"数据请求中" * * 使用方法: * <loading-gif :show-loading="showLoaddingGif"></loading-gif> * * 通过修改showLoaddingGif的true或者false 来控制loading的 阅读全文
posted @ 2018-11-22 20:57 斯丢皮德曼 阅读(258) 评论(0) 推荐(0) 编辑
摘要: import Vue from 'vue'import Router from 'vue-router'Vue.use(Router)import home from "@/pages/home"import mine from "@/pages/mine"import login from '@/ 阅读全文
posted @ 2018-10-24 19:07 斯丢皮德曼 阅读(2454) 评论(0) 推荐(0) 编辑
摘要: import Vue from 'vue' import Router from 'vue-router' import HelloWorld from '@/components/HelloWorld' import login from '@/components/login' import r 阅读全文
posted @ 2018-10-23 00:43 斯丢皮德曼 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 启动命令:mongod --dbpath D:\MongoDB\data --logpath c:\MongoDB\log\mongod.log --journal 安装引擎: mongod --dbpath=D:\MongoDB\data --storageEngine=mmapv1 阅读全文
posted @ 2018-10-22 10:40 斯丢皮德曼 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 1.(1)正常提交:git add 提交文件 git init //git init之后建立一个.gitignore可以避免node_modules这类文件夹提交 git add . git commit -m "提交解释" git push origin master 提交到主分支(如果配置了ss 阅读全文
posted @ 2018-10-19 23:55 斯丢皮德曼 阅读(127) 评论(0) 推荐(0) 编辑
摘要: var data={ id:1, name:"张三" }//存储缓存 var arrdata=[]; arrdata.push({id:data.id,name:data.name});var jsondata=JSON.stringify(arrdata); var localdata=local 阅读全文
posted @ 2018-09-18 22:15 斯丢皮德曼 阅读(378) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> function Location() {}; Location.prototype.getLocation = function (callback) { var options = { enableHighAccuracy: tru 阅读全文
posted @ 2018-09-13 11:39 斯丢皮德曼 阅读(4246) 评论(1) 推荐(0) 编辑
摘要: 1,qrcanvas-vue插件,https://gera2ld.github.io/qrcanvas-vue/#logo。只支持像素大小的二维码2,qrcode支持移动端自定义大小二维码"qrcode": "^1.2.2", import QRCode from 'qrcode'; <div cl 阅读全文
posted @ 2018-09-10 18:06 斯丢皮德曼 阅读(14550) 评论(1) 推荐(0) 编辑
摘要: var _this=this; var goods_id = _this.$route.query.id; var isscroll = true; _this.$nextTick(() => { var el = document.querySelector(".rating_cnt_scroll 阅读全文
posted @ 2018-09-10 15:04 斯丢皮德曼 阅读(806) 评论(0) 推荐(0) 编辑