上一页 1 ··· 6 7 8 9 10 11 下一页
摘要: 直接引入即可 阅读全文
posted @ 2017-08-03 17:41 面包_girl 阅读(958) 评论(1) 推荐(0) 编辑
摘要: function fullScreen() { var el = document.documentElement; var rfs = el.requestFullScreen || el.webkitRequestFullScreen || el.mozRequestFullScreen || el.msRequestFullScreen; if(typeo... 阅读全文
posted @ 2017-07-27 16:55 面包_girl 阅读(158) 评论(0) 推荐(0) 编辑
摘要: // JavaScript Document $(function(){ var index = 0; var len = $(".banner .list li").length; var time; function banner(){ for(i=1;i<=len;i++){ var Obtn 阅读全文
posted @ 2017-07-23 20:25 面包_girl 阅读(161) 评论(0) 推荐(0) 编辑
摘要: $(elm).click(function(){ if($(this).attr('num')){ console.log("同一个元素") }else{ for(let i=0;i<elm.length;i++){ $(elem).eq(i).removeAttr('num') } $(this) 阅读全文
posted @ 2017-07-19 09:49 面包_girl 阅读(1990) 评论(0) 推荐(0) 编辑
摘要: 1.安装 npm install vuex --save 2.引入 在src中新建文件夹--命名为store,在文件中建立store.js,引入vuex import Vue from 'vue'; import Vuex from 'vuex'; Vue.use(Vuex); export def 阅读全文
posted @ 2017-07-17 15:50 面包_girl 阅读(201) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>纯CSS3轮播图</title> <style> html,body{ width: 100%; height: 100%; margin: 0; padding: 阅读全文
posted @ 2017-07-14 16:42 面包_girl 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1.不同界面传参 <router-link :to="{path:'地址'},query:{name:val}">, 其它界面获取: this.$route.query.name 2.router重定向 router.redirect({ "*":"/index" }) 3.刷新当前路由 <rout 阅读全文
posted @ 2017-07-14 10:54 面包_girl 阅读(170) 评论(0) 推荐(0) 编辑
摘要: meta是用来在HTML文档中模拟HTTP协议的响应头报文。META标签是HTML语言HEAD区的一个辅助性标签,它位于HTML文档头部的<HEAD>标记和<TITLE>标记之间,它提供用户不可见的信息。meta标签通常用来为搜索引擎robots定义页面主题,或者是定义用户浏览器上的cookie;它 阅读全文
posted @ 2017-07-10 17:40 面包_girl 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 改进版。分页+搜索功能 阅读全文
posted @ 2017-07-10 17:33 面包_girl 阅读(1983) 评论(0) 推荐(0) 编辑
摘要: <div id='test'> <ul class="nav" > <li v-for='(item,index) in dataNav' @click='tabClick(item,index)' :class='{active:actives==index}'>{{item}}</li> </u 阅读全文
posted @ 2017-06-16 15:17 面包_girl 阅读(1619) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 下一页
/* 鼠标点击文字特效 */