会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
web格调
真正在努力的,日子是不会舒服的。而只要自己变优秀了,其他的事情自然就会跟着好起来。
博客园
新随笔
联系
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
下一页
2021年2月4日
微信小程序获取微信用户内存信息
摘要: wx.getUserInfo({ success: function (res) { //用户信息 console.log(res) } })
阅读全文
posted @ 2021-02-04 17:30 web格调
阅读(437)
评论(0)
推荐(0)
2021年2月1日
正则表达式
摘要: 电话号 :/^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1})|(17[0-9]{1}))+\d{8})$/ 身份证号:/^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|
阅读全文
posted @ 2021-02-01 10:36 web格调
阅读(54)
评论(0)
推荐(0)
2021年1月29日
微信小程序 页面跳转传递 字符串、数组、对象
摘要: 需要传递的对象需要先转成 字符串 var queryBean = JSON.stringify(传递的对象) wx.redirectTo({ url: '/pages/index/index?info=' + queryBean , }) 接受页面需要吧字符串转回来 var user_info =
阅读全文
posted @ 2021-01-29 17:16 web格调
阅读(1033)
评论(0)
推荐(0)
git 指令
摘要: Git一些常用指令和规范 当我们写完代码的时候肯定是需要提交代码的,这时候就需要用到Git了,所以我们必须要了解一些Git常用的指令。在多人协作的大项目中,我们也要懂得一些规范。 首先我们电脑需要安装git,安装好git之后做一些配置,以及设置好SSH才可以正常使用git git官网 在官网中我们可
阅读全文
posted @ 2021-01-29 09:21 web格调
阅读(85)
评论(0)
推荐(0)
2021年1月27日
css 设置特定条件下的标签
摘要: 规定属于其父元素的第二个子元素的每个 p 的背景色: p:nth-child(2) { background:#ff0000; }
阅读全文
posted @ 2021-01-27 14:32 web格调
阅读(199)
评论(0)
推荐(0)
vue实现导航菜单滚动
摘要: 安装依赖 npm install scroll 使用的地方引入 var scroll = require('scroll') scroll.left(滚动dom, 滚动位置) var page = require('scroll-doc')() var ease = require('ease-co
阅读全文
posted @ 2021-01-27 11:52 web格调
阅读(1429)
评论(0)
推荐(0)
2021年1月26日
input 默认样式样式 样式修改
摘要: placeholder-class="phcolor" .phcolor { color: #D3D3D3; }
阅读全文
posted @ 2021-01-26 18:09 web格调
阅读(116)
评论(0)
推荐(0)
2021年1月20日
vue 倒计时
摘要: data: show: true, count: "", timer: null, getCode() { const TIME_COUNT = 60; if (!this.timer) { this.count = TIME_COUNT; this.show = false; this.timer
阅读全文
posted @ 2021-01-20 16:28 web格调
阅读(186)
评论(0)
推荐(0)
2021年1月16日
微信小程序 botton默认样式删除
摘要: .bottom-tab button { background: #FFF; color: #000; height: 100%; font-size: 0; } .bottom-tab button::after { border: none; } button:not([size=mini])
阅读全文
posted @ 2021-01-16 15:31 web格调
阅读(167)
评论(0)
推荐(0)
2021年1月15日
微信小程序 正则判断
摘要: if (!(/^1[34578]\d{9}$/.test(this.data.info_list[2].val.value))) { wx.showToast({ title: '手机号码有误', duration: 2000, icon: 'none' }); return false; }
阅读全文
posted @ 2021-01-15 09:36 web格调
阅读(512)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
下一页
公告