• 自己总结


    Ie10不兼容浏览器

    http://blog.csdn.net/n____n/article/details/56666596

    淘宝镜像

    npm install -g cnpm --registry=https://registry.npm.taobao.org

    ===============================================================

    前端经典博客

    http://92node.com/

    http://92node.com/plugin/59168ca87ef8cc1cefd71203

    --------------------------------------------------------------

    按需引入element-ui

    https://segmentfault.com/q/1010000010053759

    =-=============================================================

    fiddler重定向

    http://www.jianshu.com/p/204544614daf

    -----------------------------------------------------------------------------

    jquery引入的方法、

    https://segmentfault.com/a/1190000007020623

    jquery引入后没有问题 import $ from 'expose-loader?$!jquery';

    但是当引入layer的时候就会报错说jquery未定义

    解决办法:在webpackbuild下的webackbaseconfig

    1const webpack = require('webpack')

    2)在module.exports添加

     plugins: [

        new webpack.ProvidePlugin({

          $: "jquery",

          jQuery: "jquery"

        })

      ],

    ---------------------------------------------------------

    layer

    http://layer.layui.com/

    -----------------------------------------------------------------------

    http://mint-ui.github.io/docs/

    -------------------------------------------------------------

    http://element.eleme.io/#/en-US/component/collapse

    ------------------------------------------------------------

    适应avalon的样式组件

    http://hotelued.qunar.com/oniui/index.html#!/apis

    ---------------------------------------------------------------

    vue的拖拽插件

    https://github.com/SortableJS/Vue.Draggable

    -----------------------------------------------------------------------

    素材

    生命周期

    http://www.zhimengzhe.com/Javascriptjiaocheng/236707.html

    -------------------------------------------------------------------------

    vue的拖拽插件

    https://github.com/SortableJS/Vue.Draggable

    -----------------------------------------------------------------

    video.js

    http://videojs.com/getting-started/#download-cdn

    -----------------------------------------------------------------

    划拨图片swiper

    http://www.swiper.com.cn/api/start/2014/1218/140.html

    ----------------------------------------------------------------------

    视频编码

    http://jingyan.baidu.com/article/48b558e335d0ac7f39c09a66.html

    ---------------------------------------------------------------------

    webpack引入jQuery

    http://blog.csdn.net/yiifaa/article/details/51916560

    ------------------------------------------------------------------

    分页

    https://github.com/sant123/vuejs-uib-pagination

    首先下载在webpack中看到注册版本

    indexhtml中引入vuejs-uib-paginationjs

    mainjs中引入vuejs-uib-paginationcssimport vuejs-uib-paginationvue.usevuejs-uib-pagination

    main

    import './css/pagination.css';

    import Vue from 'vue';

    import * as pagination from "vuejs-uib-pagination";

    Vue.use(pagination);

    最后在页面进行引用

    import pagination from "vuejs-uib-pagination";

    -----------------------------------------------

    百度api

    APP ID: 20170825000076950

    密钥: aZXvNv1ZVzocPEQxMl9V

    ====================================================

    http://vadikom.com/demos/poshytip/#examples

    =========================================================

    tootip的使用方法

    layer

        getToolTipInLayer() {

            $('[data-toggle="tooltip"][data-tooltip="if"]').tooltip({

              container: "body", html: true,title: function () {

                return $(this).siblings('.tooltip').html();

              },

              placement: "auto right"

            }).on('shown.bs.tooltip', function (event) {

          

              $(this).parents("body").find('div.tooltip').css({zIndex: layer.zIndex});

            });

            

          },

    必须要在dom刷新完后执行,一般放在ajax请求数据之后。

      <span data-toggle="tooltip" data-tooltip="if" > {{passItem.catalogueName}}</span>

               

                 <span  class="tooltip" style="display:none">{{passItem.englishName}}</span>

    -----------------------------------------------------------------------------------------

    没有layer

          getToolTip() {

            $('[data-toggle="tooltip"][data-tooltip="normal"]').tooltip({

              container: "body",

              html: true,

              placement: "auto top"

            });

            $('[data-toggle="tooltip"][data-tooltip="if"]').tooltip({

              container: "body", html: true, title: function () {

                return $(this).find('[data-tooltip="view"]').html();

              },

              placement: "auto top"

            });

          },

    =================================================================

    vue-file-loader

    文件上传

    https://codepen.io/anon/pen/pWyrYx

    中文file api

    https://developer.mozilla.org/zh-CN/docs/Web/API/File

    Ie不兼容vuex

  • 相关阅读:
    ubuntu 18.04 修改 固定ip
    java 加载properties
    Free 4 months Serial License Key Of Outpost Security Suite Pro 8.1
    免费申请一年版Eset NOD32 Antivirus激活码(无限制)- 已失效
    微软软件运行库下载
    Bitdefender Total Security 2014 Free 6 Months & 12 month License Key
    如何将Virtualbox和VMware虚拟机相互转换[译文211]
    Virtualbox安装Windows 8.1遇到0x000000C4错误解决办法
    VirtualBox 4.3“不能为虚拟电脑 打开一个新任务”解决方案
    docx文件怎样打开
  • 原文地址:https://www.cnblogs.com/hduhdc/p/8488045.html
Copyright © 2020-2023  润新知