摘要: Typora 许久没有写随笔,从今天开始要重新拾起这个好习惯才行,先从文档工具开始... 下面开始搬运......(原谅我这个无情的搬运工) 写Mrakdown费事?Typora让你像写Word一样行云流水,所见即所得。 简介 Typora是一款轻便简洁的Markdown编辑器,支持即时渲染技术,这 阅读全文
posted @ 2021-06-20 12:40 J__F 阅读(59) 评论(0) 推荐(0) 编辑
摘要: uniapp 密码框输入空格(去除空格)的时候一直回显不及时 经过一番折腾 终于搞定 1.先赋值: this.pwd = e.detail.value 2. 使用setTimeout(再次赋值 ) setTimeout(() => { this.pwd = e.detail.value;this.p 阅读全文
posted @ 2020-07-15 11:16 J__F 阅读(9575) 评论(0) 推荐(0) 编辑
摘要: 1. meta标签自动刷新/跳转 实现定时跳转功能:除了设置定时器外 可以 <meta http-equiv="Refresh" content="5";URL=page2.html> 5秒后跳转至同域下的page2页面 每隔一分钟刷新页面 <meta http-equiv="Refresh" co 阅读全文
posted @ 2020-06-19 20:54 J__F 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 在wxss文件上加上 ::-webkit-scrollbar{ width: 0; height: 0; color: transparent; } 阅读全文
posted @ 2020-04-29 08:49 J__F 阅读(2545) 评论(0) 推荐(0) 编辑
摘要: 最近发现了一个问题 就是我使用云函数调用云函数的时候,将openid存入数据库发现为空,怎么回事呢,一查, 原来是这样 还是没有仔细看文档的错啊 阅读全文
posted @ 2020-04-23 11:36 J__F 阅读(764) 评论(0) 推荐(0) 编辑
摘要: 原因:报错原因:多次点击同一路由,导致路由被多次添加 解决:在引入路由的地方 import Vue from 'vue' import Router from 'vue-router' Vue.use(Router) //重写router的push方法 const VueRouterPush = r 阅读全文
posted @ 2020-04-22 15:10 J__F 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 这篇文章写的还可以 https://www.xiabingbao.com/post/vue/vue-keep-logininfo.html 阅读全文
posted @ 2020-04-22 12:05 J__F 阅读(1257) 评论(0) 推荐(0) 编辑
摘要: letter-spacing 属性增加或减少字符间的空白(字符间距)。 设置 h1 和 h2 元素的字母间距: h1 {letter-spacing:2px} h2 {letter-spacing:-3px} 阅读全文
posted @ 2020-04-21 17:05 J__F 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 微信小程序 switch 组件 的大小调整方法: 加上 zoom:数值 ==>数值在0到1之间 阅读全文
posted @ 2020-04-16 21:35 J__F 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 微信小程序提供了云开发功能 云函数:一个运行在云端的函数. 使用: 先新建云函数 在project.config.json文件中加上 "cloudfunctionRoot": "./文件名" 然后添加云函数 在云函数的index.js文件中 cloud.init({ env: '环境id' }) 记 阅读全文
posted @ 2020-04-14 14:19 J__F 阅读(192) 评论(0) 推荐(0) 编辑