Incompatibility of the box model
. Ctpflex {
Display:-webkit-box; /* Old-ios 6-, Safari 3.1-6 */
Display:-moz-box; /* Old-firefox 19-(buggy but mostly works) */
Display:-ms-flexbox; /* Tweener-ie 10 */
Display:-webkit-flex; /* New-chrome */
Display:flex; /* NEW, Spec-opera 12.1, Firefox 20+ */
}
. ul>li {
-webkit-box-flex:1; /* Old-ios 6-, Safari 3.1-6 */
-moz-box-flex:1; /* Old-firefox 19-* *
width:20%; /* for old syntax, otherwise collapses. */
-webkit-flex:1; /* Chrome */
-ms-flex:1; /* IE 10 */
Flex:1; /* NEW, Spec-opera 12.1, Firefox 20+ */
}
The MVVM framework builds a project when the package path is based on the configuration file (usually directly from the root directory, the front-end common relative path)
If the style is not noticed after packaging (boot file location) CSS and JS file path (/) and relative path mode (./)
Prevent users from checking
. noselect {
-webkit-touch-callout:none; /* IOS Safari */
-webkit-user-select:none; /* Chrome/safari/opera */
-khtml-user-select:none; /* Konqueror */
-moz-user-select:none; /* Firefox */
-ms-user-select:none; /* Internet Explorer/edge */
User-select:none; /* non-prefixed version, currently not supported by any browser */
}
IE < 10 and Opera < 15 properties unselectable= "on"
Dbclick
var touchtime = new Date (). GetTime ();
if (new Date (). GetTime ()-Touchtime < 500) {
Console.log ("DblClick");
}else{
Touchtime = new Date (). GetTime ();
Console.log ("click")
}
Mobile-side problem solving [record]