摘要:
```css //火狐 input[type=number] { -moz-appearance:textfield; } //谷歌 input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-sp 阅读全文
摘要:
```js // 获取用户已装应用列表 plus.android.importClass("java.util.ArrayList"); plus.android.importClass("android.content.pm.PackageInfo"); plus.android.importCl 阅读全文
摘要:
```html ``` 阅读全文
摘要:
```html ``` ### 标签说明: 1. `width`: 设置`viewport`的宽度,正整数/字符串 `device-width` 2. `height`: 设置`viewport`的高度,正整数/字符串 `device-height` 3. `initial-scale`: 设置设备 阅读全文
摘要:
```js //判断访问终端 const browser={ versions:function(){ var u = navigator.userAgent, app = navigator.appVersion; return { trident: u.indexOf('Trident') > 阅读全文
摘要:
```js // 通过判断浏览器的userAgent const userAgent = navigator.userAgent; const isiOS = !!userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); const isAndroid = 阅读全文
摘要:
1. 执行变基命令`git rebase -i HEAD~3`(以合并3条为例),出现下图所示界面  2. 把需要 阅读全文
摘要:
1. 以管理员身份运行powershell 2. 以root身份登录wsl:`wsl -u root` 3. 修改密码:`passwd ${username}`,输入并确认新密码 4. 退出wsl:`exit` 阅读全文