首页
  • vue-cli3 前端构建失败

    需要安装一个Html编辑器提示报错

    You are using the runtime-only build of Vue where the template compiler is not available. 
    阅读全文
  • 阻止微信浏览器下拉滑动效果

    document.body.addEventListener('touchmove', function (e) {
          e.preventDefault(); 
    }, {passive: false}); 
    阅读全文
  • html 安全Meta

    <meta 
      http-equiv="Content-Security-Policy" 
      content="script-src 'self' 'unsafe-eval' 'unsafe-inline' ; 
          object-src xxx.xxx.com ; 
          style-src 'unsafe-inline' xxx.xxx.com; 
    阅读全文
  • 微信横屏库

    <script src="http://wximg.qq.com/wxp/libs/wxmoment/0.0.4/wxmoment.min.js"></script>
    <script>
        new WxMoment.OrientationTip();
    </script>
    阅读全文
  • 微信当前浏览器内置函数

    微信的WeixinJSBridge 自动关闭当前浏览器内置函数

    WeixinJSBridge.call('closeWindow');
    

    WeixinJSBridge的隐藏函数

    WeixinJSBridge.call('hideToolbar'); //隐藏右下面工具栏
    WeixinJSBridge.call('showToolbar'); //显示右下面工具栏
    阅读全文
  • vue中利用axios实现文件上传进度实时更新

    var form = new FormData()
        form.append('file', vm.$refs.upload.files[0])
        form.append('id', id)
        form.append('type', type)
        var config = {
            // 进度
    阅读全文
  • video 手机全屏自动播放

    x-webkit-airplay="true",x5-playsinline="true",
    webkit-playsinline="true",playsinline="true"

    x-webkit-airplay="true" 支持Airplay的设备
    webkit-playsinline="true" 播放视频不全屏,ios7+

    阅读全文
  • webpack vue 外部css添加 postcss

    外部scss添加 postcss
    首先 install postcss-loader
    然后在utils文件的中添加 postcss-loader 相关部分

    exports.cssLoaders = function (options) {
      options = options || {}
    
      var cssLoader = {
    阅读全文
  • npm 的一些包

    nzh 数字转中文
    qrious 二维码生成
    js-md5  md5
    js-cookie 客户端cookie
    hyperdown markdown 解析
    hyperdown markdown 解析

    一款SegmentFault开源的markdown解析库
    github地址: https://github.com/SegmentFault/HyperDo

    阅读全文
  • node-sass 安装失败 填坑

    SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/ npm install node-sass 
    阅读全文
  • 上一页 1 2 3 4 5 6 7 8 9 下一页
Taoqun
陶群
1994-09-07
taoquns@foxmail.com
前端开发
南京

文章分类

Mac
算法
前端
python
golang
mysql
node
linux
随笔
生活
游记

我的作品

记录体重Pro(小程序)
闲蝉科技

其他推荐

解决网页移动端input 输入框 ios 键盘弹窗问题
阻止微信浏览器下拉滑动效果
Mac打开应用提示已损坏怎么办 开启 任何来源
e-charts 支持 svg 渲染
SSH 免密登陆配置
初始化项目配置的几个隐藏文件
taro 的坑
git常用操作
leetCode 取中位数
开发者:Taoqun

备案/许可证编号为:皖ICP备17027395号

闲蝉科技