自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

李青林的博客

不积跬步,无以至千里;不积小流,无以成江海

  • 博客(5)
  • 资源 (7)
  • 收藏
  • 关注

原创 实现微信小程序精准定位

我们一般的小程序定位是通过官方小程序的方法进行定位,然后通过百度api进行通过坐标获取当前位置的详细信息 wx.getLocation(OBJECT) 获取当前的地理位置、速度。当用户离开小程序后,此接口无法调用;当用户点击“显示在聊天顶部”时,此接口可继续调用wx.getLocation({ type: 'wgs84', success: function(res) { v

2018-01-20 09:30:16 30470 9

原创 js常用事件案例总结

一,完整表单的验证 Q Q 手机 邮箱 座机 姓名 function $(id) { return document.getElementById(id); } var inpQQ = $("inp1"); var inpMobile = $("inp2"); var inpEmail = $

2018-01-14 12:30:53 2053

原创 常用正则表达式

一、校验数字的表达式 1 数字:^[0-9]*$ 2 n位的数字:^\d{n}$ 3 至少n位的数字:^\d{n,}$ 4 m-n位的数字:^\d{m,n}$ 5 零和非零开头的数字:^(0|[1-9][0-9]*)$ 6 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9]{1,2})?$ 7 带1-2位小数的正数或负数:^(\-)?\d+(\.\d{1,2})?$ 8 ...

2018-01-13 23:08:17 163

原创 webpack环境的搭建以及简单实用

1安装node.js    在cmd 模式下 进行查看node版本  node -v   查看npm 版本   npm -v 2 切换国内   npm install nrm -g   全局安装 3. 查看nrm 列表 ,默认为npm    nrm ls 4切换使用的网址    nrm use taobao  5 安装 webpack   npm install webpack

2018-01-13 22:12:38 987

原创 Vue中watch和computed的使用演示

watch的使用 :使用watch 监听firstName的变化 Document {{fullName}} new Vue({ el :'#app', data:{ firstName :'itcast', lastName:'heima', fullName :'itcast.heima' }, watch:{ '

2018-01-11 22:47:01 1754

汽车品牌,子品牌,以及首字母,以及logo数据库表;

所有汽车品牌的名称,子品牌,以及首字母,以及logo; 数据表结构如下: CREATE TABLE `firstbirds_car_brands_copy` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '品牌 ID', `rank` tinyint(4) NOT NULL DEFAULT '50' COMMENT '排名', `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '品牌名', `initial` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '首字母', `logo_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT 'logo', PRIMARY KEY (`id`), KEY `car_brands_initial_index` (`initial`) ) ENGINE=InnoDB AUTO_INCREMENT=409 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; INSERT INTO `firstbirds_car_brands_copy` VALUES ('1', '50', '上海大众', 'D', '/upload/car_brands/1.png'); 附带图片文件夹:

2020-06-09

国外昵称(批量生成账号使用)

5w个用户昵称,供后台模拟生成批量账号使用,例如:(me = [ 'avi melwani', 'LIU jian liang', 'david', 'Andrew Foster', 'Michael J Roberts', 'RAJKUMAR GUPTA',)

2019-01-29

5w个国内公司名称

5w个国内公司名称,供后台模拟批量生成公司名称使用,

2019-01-29

中国地区(省市区,大区,中英文翻译)

CREATE TABLE `cn_base_district` ( `district_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '索引ID', `district_name` varchar(50) NOT NULL COMMENT '地区名称', `district_name_en` varchar(50) NOT NULL DEFAULT '', `district_parent_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '地区父ID', `district_displayorder` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '排序', `district_region` varchar(3) NOT NULL DEFAULT '' COMMENT '大区名称', `district_is_level` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '地区深度,从1开始', `district_is_leaf` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '无子类', PRIMARY KEY (`district_id`), KEY `area_parent_id` (`district_parent_id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=46743 DEFAULT CHARSET=utf8 COMMENT='地区表'; -- ---------------------------- -- Records of cn_base_district -- ---------------------------- INSERT INTO `cn_base_district` VALUES ('1', '北京市', 'BeiJing City', '0', '0', '华北', '1', '0'); INSERT INTO `cn_base_district` VALUES ('2', '天津市', 'TianJin City', '0', '0', '华北', '1', '0'); CREATE TABLE `cn_base_district` ( `district_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '索引ID', `district_name` varchar(50) NOT NULL COMMENT '地区名称', `district_name_en` varchar(50) NOT NULL DEFAULT '', `district_parent_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '地区父ID', `district_displayorder` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '排序', `district_region` varchar(3) NOT NULL DEFAULT '' COMMENT '大区名称', `district_is_level` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '地区深度,从1开始', `district_is_leaf` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '无子类', PRIMARY KEY (`district_id`), KEY `area_parent_id` (`district_parent_id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=46743 DEFAULT CHARSET=utf8 COMMENT='地区表'; -- ---------------------------- -- Records of cn_base_district -- ---------------------------- INSERT INTO `cn_base_district` VALUES ('1', '北京市', 'BeiJing City', '0', '0', '华北', '1', '0

2019-01-17

Xshell6免费版

Xshell免费版,,永久使用,破解版,主要用于连接linux,以及其他的服务器

2018-09-26

mysql全国地区详细数据表带街道社区村庄

CREATE TABLE IF NOT EXISTS `j_position` ( `id` int(11) NOT NULL AUTO_INCREMENT, `province_id` bigint(20) unsigned NOT NULL, `province_name` char(64) NOT NULL, `city_id` bigint(20) unsigned NOT NULL, `city_name` char(64) NOT NULL, `county_id` bigint(20) unsigned NOT NULL, `county_name` char(64) NOT NULL, `town_id` bigint(20) unsigned NOT NULL, `town_name` char(64) NOT NULL, `village_id` bigint(20) unsigned NOT NULL, `village_name` char(64) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `village_id` (`village_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='省市县镇村数据' AUTO_INCREMENT=693338 ;.............................. -- -- 转存表中的数据 `j_position` -- INSERT INTO `j_position` (`id`, `province_id`, `province_name`, `city_id`, `city_name`, `county_id`, `county_name`, `town_id`, `town_name`, `village_id`, `village_name`) VALUES (1, 110, '北京市', 110100000000, '市辖区', 110101000000, '东城区', 110101001000, '东华门街道办事处', 110101001001, '多福巷社区'), (2, 110, '北京市', 110100000000, '市辖区', 110101000000, '东城区', 110101001000, '东华门街道办事处', 110101001002, '银闸社区'), (3, 110, '北京市', 110100000000, '市辖区', 110101000000, '东城区', 110101001000, '东华门街道办事处', 110101001005, '东厂社区'), (4, 110, '北京市', 110100000000, '市辖区', 110101000000, '东城区', 110101001000, '东华门街道办事处', 110101001006, '智德社区'),

2018-07-25

mysql 全国地区表地区数据库表

包含了全国所有的地区: CREATE TABLE `b_region` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` longtext, `level` tinyint(4) DEFAULT '0', `parent_id` int(10) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3784 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of b_region -- ---------------------------- INSERT INTO `b_region` VALUES ('1', '北京', '1', '0');

2018-04-25

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除