摘要: 一、全部引入1、安装mint-ui npm intall mint-ui --save 2、main.js中引入mint-ui import MintUI from 'mint-ui' import 'mint-ui/lib/style.css' Vue.use(MintUI) 3、组件调用 <mt 阅读全文
posted @ 2019-11-11 09:55 小蓉儿 阅读(2992) 评论(0) 推荐(1) 编辑
摘要: // .startsWidth() //开头开始,第二个参数为所在位置 // .endsWidth() //结尾开始, 第二个参数为所在位置 // .includes() // .repeat() 示例: 1. startsWidth() 2.endsWidth() 3.includes() 字符串 阅读全文
posted @ 2019-10-30 16:41 小蓉儿 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 最近在开发移动端Vue移动端项目,查了一些资料,这里分享下如何在webpack工具构建下的vue项目,在手机端调试和预览,言归正传。 1.电脑和手机连接到同一个WIFI a.台式电脑和手机同时链接一个路由器,使用同一个wifi; b.笔记本也可以直接启用一个wifi,手机链接笔记本wifi也可以; 阅读全文
posted @ 2019-10-30 13:16 小蓉儿 阅读(761) 评论(0) 推荐(0) 编辑
摘要: 简介eslinteslint 是一个JavaScript的校验插件,通常用来校验语法或代码的书写风格。 官方文档:https://eslint.org 这篇文章总结了eslint的规则:Eslint规则说明 关闭eslint校验 有了eslint的校验,可以来规范开发人员的代码,是挺好的。但是有些像 阅读全文
posted @ 2019-10-30 11:24 小蓉儿 阅读(1362) 评论(0) 推荐(0) 编辑
摘要: 1.模板字符串中是可以嵌套的 2.在模板字符串中是可以使用三元表达式的 示例: 3.为了代码的可读性,我们经常会使用render函数 示例: 4.标签模板字符串 示例: 注:...values 剩余参数组成的数组 阅读全文
posted @ 2019-10-29 13:58 小蓉儿 阅读(172) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/lxn2/p/10006222.html 阅读全文
posted @ 2019-10-28 17:53 小蓉儿 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 在要启动静态服务的目录下执行: anywhere -p 8888 注:-p 后面跟端口号 阅读全文
posted @ 2019-10-25 10:11 小蓉儿 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 转载: https://blog.csdn.net/qq_36688143/article/details/81388453 阅读全文
posted @ 2019-10-25 10:08 小蓉儿 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 在<head>里面加上: <meta name="format-detection" content="telephone=yes"/> 需要拨打的电话: <a href="tel:168-1686-16888">168-1686-16888</a> 调用发短信: <a href="sms:1888 阅读全文
posted @ 2019-10-25 10:06 小蓉儿 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 1.手动校验数字为整数 Number.isInteger 阅读全文
posted @ 2019-10-24 10:59 小蓉儿 阅读(562) 评论(0) 推荐(0) 编辑