// // 表单手机号 blurPhone: function (e) { var phone = e.detail.value; if (!(/^1[34578]\d{9}$/.test(phone))) { this.setData({ ajxtrue: false }) if (phone.l ...
分类:
移动开发 时间:
2017-10-27 18:05:36
阅读次数:
290
转自:http://blog.csdn.net/lmj623565791/article/details/52761658 本文在我的微信公众号:鸿洋(hongyangAndroid)首发。 转载请标明出处: http://blog.csdn.net/lmj623565791/article/det ...
分类:
移动开发 时间:
2017-10-27 19:06:24
阅读次数:
303
#include #include #include #include #include using namespace std; int UFS[1005],ins[1005]; int find(int a){ return a==UFS[a]?a:find(UFS[a]); } void Un... ...
分类:
移动开发 时间:
2017-10-27 19:06:46
阅读次数:
176
1、Bundle 文件 Bundle 文件,就是资源文件包。我们将许多图片、XIB、文本文件组织在一起,打包成一个 Bundle 文件。方便在其他项目中引用包内的资源。 Bundle 文件是静态的,也就是说,我们包含到包中的资源文件作为一个资源包是不参加项目编译的。也就意味着,bundle 包中不能 ...
分类:
移动开发 时间:
2017-10-27 19:07:24
阅读次数:
175
网上很多解决办法瞎扯淡,以讹传讹之势愈演愈烈。 正解是选中控制器,右边面板的Builds for 选择iOS11.0 and Later,如下图红框广为流传的错解是不勾选Use Safe Area Layout Guides,如下图灰框,会导致用不了iOS的这个新功能了 ...
分类:
移动开发 时间:
2017-10-27 19:07:33
阅读次数:
837
最近因为做抽奖页面,在android上可以使用手机连上电脑后用chrome浏览器chrome://inspect进行页面探测,但是ios中的页面就不能这样探测 在网上搜索后发现此插件,大大解决了问题 使用方法: 1、必须将vconsole.min.js放到<head>中 2、使用new vConso ...
分类:
移动开发 时间:
2017-10-27 19:07:43
阅读次数:
238
参考文章: 安卓插件化的过去现在和未来 张涛 http://kymjs.com/code/2016/05/04/01 安卓插件化从入门到放弃 包建强 http://www.infoq.com/cn/news/2016/04/baojianqiang-interview 安卓热补丁动态框架小结 鸿洋 ...
分类:
移动开发 时间:
2017-10-27 19:10:24
阅读次数:
318
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
分类:
移动开发 时间:
2017-10-27 19:48:19
阅读次数:
220
移动端项目:font-family:Tahoma,Arial,Roboto,”Droid Sans”,”Helvetica Neue”,”Droid Sans Fallback”,”Heiti SC”,sans-self; pc端(含Mac)项目:font-family:Tahoma,Arial,” ...
分类:
移动开发 时间:
2017-10-27 19:51:39
阅读次数:
420
ORM: object relationship mapping 关于数据库的两条命令: python manage.py makemigrations python manage.py migrate 数据库第一次配置必须完成数据库的迁移,执行上边的两条命令就好 表单的记录操作: 1、添加 obj... ...
分类:
移动开发 时间:
2017-10-27 20:32:06
阅读次数:
190
原来的版本是 2.3 ,一开始安装,询问是否需要卸载2.3,犹豫了一下,还是卸载了,硬盘空间吃紧…… 然后一路Next,比较顺利。 遇到的几个问题跟安装2.3时一样,所以感觉很熟悉。 (2.3安装 : http://www.cnblogs.com/hbuwyg/p/6922487.html) 1 遇 ...
分类:
移动开发 时间:
2017-10-27 20:33:26
阅读次数:
218
uefi和legacy是两种不同的引导方式,uefi是新式的BIOS,legacy是传统BIOS。你在UEFI模式下安装的系统,只能用UEFI模式引导;同理,如果你是在Legacy模式下安装的系统,也只能在legacy模式下进系统。uefi只支持64为系统且磁盘分区必须为gpt模式,传统BIOS使用 ...
分类:
移动开发 时间:
2017-10-27 20:37:43
阅读次数:
207
...
分类:
移动开发 时间:
2017-10-27 20:39:20
阅读次数:
1135
mapper目录结构: mapper dev produce 在 application.properties 文件中配置 mybatis.mapper-locations=classpath:mapper/dev/*/*.xml, mapper/dev/*.xml mybatis config.x ...
分类:
移动开发 时间:
2017-10-27 21:29:54
阅读次数:
201
前言 前面一篇博文写的是Combiner优化MapReduce执行,也就是使用Combiner在map端执行减少reduce端的计算量。 一、作业的默认配置 MapReduce程序的默认配置 1)概述 在我们的MapReduce程序中有一些默认的配置。所以说当我们程序如果要使用这些默认配置时,可以不 ...
分类:
移动开发 时间:
2017-10-27 21:32:50
阅读次数:
306
◆elvishew/xLog Global config(tag, formatters...) or log-based config Support printing any object and customizable object formatter Support printing ar ...
分类:
移动开发 时间:
2017-10-27 22:03:49
阅读次数:
232
http://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html Object/Relational Mapping Working with both Object-Oriented so ...
分类:
移动开发 时间:
2017-10-27 22:04:05
阅读次数:
210
更新完后试下运行正在维护的旧项目,出现各种错误,因为后来发现问题不在这,所以没记完整,大概如下: A larger heap for the Gradle daemon is recommended for running jack. It currently has 512 MB.For fast ...
分类:
移动开发 时间:
2017-10-27 22:27:43
阅读次数:
1770
我们先放一张Hierarchy Viewer的图:(模拟器Android4.4) 看到数字6了吗,那个RelativeLayout是MainActivity的根ViewGroup, 而在RelativeLayout之前还有5层, 即系统默认的界面DecorView(FrameLayout) --> ...
分类:
移动开发 时间:
2017-10-28 00:30:25
阅读次数:
273
文章出处 http://www.cnblogs.com/ljfight/p/6089163.html 在做app自动化过程中会踩很多坑,咱们都是用中文的app,所以首先要解决中文输入的问题!本篇通过屏蔽软键盘,绕过手机的软键盘方法,解决中文输入问题。 一、定位搜索 1.打开淘宝点击搜索按钮,进入搜索 ...
分类:
移动开发 时间:
2017-10-28 00:30:48
阅读次数:
310