zoukankan      html  css  js  c++  java
  • 自己总结

    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

  • 相关阅读:
    【Mybatis-Plus进阶学习(八)】SQL注入器
    【Mybatis-Plus进阶学习(七)】动态表名SQL解析器
    【Mybatis-Plus进阶学习(六)】多租户SQL解析器
    【Mybatis-Plus进阶学习(五)】性能分析插件
    【Mybatis-Plus进阶学习(四)】乐观锁
    【Mybatis-Plus进阶学习(三)】自动填充
    docker相关操作【动态更新ing】
    Git操作汇总【动态更新ing】
    Go 基准测试和性能测试学习使用
    Go语言的omitempty
  • 原文地址:https://www.cnblogs.com/hduhdc/p/8488045.html
Copyright © 2011-2022 走看看