11 2019 档案

摘要:实现思路:动态添加class,active类名, 1,点击元素,将元素下标key值赋值给自定义空对象n, 2,当数据内点击元素的下标等于n时,替换class类名为active 代码如下: <ul class="jishu-nav"> <li v-for="(value,key) in dataLis 阅读全文
posted @ 2019-11-28 15:26 混名汪小星 阅读(1564) 评论(0) 推荐(0)
摘要:1.去哪找 选择一: GitHub下载地址:https://github.com/zxlie/FeHelper/tree/master/apps/static/screenshot/crx 选择二: 参考 实用工具及Chrome插件及实用网站(持续更新中...) 2.怎么装 1.窗口打开: chro 阅读全文
posted @ 2019-11-27 16:33 混名汪小星 阅读(8688) 评论(0) 推荐(0)
摘要:第一步:导入jQuery npm install jquery 第二步:在main.js中全局引用 import $ from 'jquery' 第三步:在webpack.base.conf.js中加入 const webpack = require('webpack') 第四步:在webpack. 阅读全文
posted @ 2019-11-26 10:47 混名汪小星 阅读(337) 评论(0) 推荐(0)
摘要:var swiper = new Swiper('.swiper-container', { pagination: { el: '.swiper-pagination', }, loop: true, speed:1000,//匀速时间 autoplay: { delay: 3000, stopO 阅读全文
posted @ 2019-11-19 17:07 混名汪小星 阅读(1828) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2019-11-11 11:15 混名汪小星 阅读(402) 评论(0) 推荐(0)
摘要:vue是什么? Vue.js(读音 /vjuː/, 类似于 view) 是一套构建用户界面的 渐进式框架。与其他重量级框架不同的是,Vue 采用自底向上增量开发的设计。Vue 的核心库只关注视图层,并且非常容易学习,非常容易与其它库或已有项目整合。另一方面,Vue 完全有能力驱动采用单文件组件和Vu 阅读全文
posted @ 2019-11-06 11:50 混名汪小星 阅读(378) 评论(0) 推荐(0)
摘要:https://juejin.im/post/5d3eca78e51d4561cb5dde12#heading-28 1. 另类调整文字层级方法 : 设置 transform 层级提升, 与父级同时设置transform 会使fixed失效 2. nth-of-type : 匹配属于父元素的特定类型 阅读全文
posted @ 2019-11-06 11:49 混名汪小星 阅读(131) 评论(0) 推荐(0)