04 2017 档案
摘要:<!doctype html><html> <head> <meta charset="UTF-8"> <title></title> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,
阅读全文
摘要:<!DOCTYPE html><html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="initial-scale=1.0, us
阅读全文
摘要:<!doctype html><html> <head> <meta charset="UTF-8"> <title></title> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,
阅读全文
摘要:可左右滑动的选项卡(快捷键mt 提示出来的第三个) (下面的 类mui-slider-progress-bar里面的栅格根据选项卡的数量和调整) <div class="mui-slider"> <div class="mui-slider-indicator mui-segmented-contr
阅读全文
摘要:页面初始化 mui.plusReady(function(){ console.log("当前页面URL:"+plus.webview.currentWebview().getURL()); }); 2.在一个页面中 连接首页 与其他页面的跳转链接 用到加载(引入子页)和预加载 其中 a1 a2 a
阅读全文
摘要:html 部分 (因为a标签有链接功能,此时最好不要用a包裹 否则影响实现效果)
阅读全文
摘要:<form> <div class="my-label"> <label for="data">出发日期</label> </div> <div class="my-control"> <input type="date" data-role="none" value="2017-04-21" />
阅读全文
摘要:css3里面动画的元素叫啥( 就是设置动画的对象 比如给div设置一个动画宽度从0到100 这个div就是动画元素) 怎么把字符串变成json JSON.stringify() typeof返回一个对象 怎么判断对象是不是空,怎么知道对象里的值 判断是否为空 1、if (typeOf(x) == "
阅读全文
摘要:页面加载完成事件 $(document).on("pageinit","#page",function(){ console.log("页面加载完成") }) document.on("pageinit","#page2",function(){console.log("页面加载完成")}) .on
阅读全文
摘要:button提交的时候如果页面抖的话 就把高度写死 把input默认的样式去掉 在input标签上添加 data-role="none" 表单媒体查询 .my-control,.my-label{ display: inline-block !important;} .my-label{ color
阅读全文
摘要:<div data-role="header" data-positon="fixed" data-theme="b"> <button data-icon="home">首页</button> <h3 >欢迎来到王者荣耀</h3></li> <a href="#link" data-role="b
阅读全文
摘要:导航条 固定底部导航 <div data-role="footer" class="top" data-theme="b" data-position="fixed"> <div data-role="navbar" > <ul> <li><a href="#a">车票预定</a></li> <li
阅读全文
摘要:如需为列表添加圆角和外边距,请使用 data-inset="true" 属性: 实例 列表分隔符 列表分隔符(List Dividers)用于把项目组织和组合为分类/节。 如需规定列表分隔符,请向 <li> 元素添加 data-role="list-divider" 属性: <div data-ro
阅读全文
摘要:页面结构 data-role="page"代表一个页面 data-role="header"代表一个页面标题和搜索按钮 data-role="page" 是显示在浏览器中的页面 data-role="header" 创建页面上方的工具栏(常用于标题和搜索按钮) data-role="content"
阅读全文
摘要:var $img1 = $(".fashion .fashion-img img");$img1.hover(function () { $img1.css("animation-play-state", " paused")}, function () { $img1.css("animation
阅读全文
摘要:<nav class="navbar navbar-default"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-h
阅读全文
摘要:<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1">
阅读全文
摘要:家庭 school 娱乐场所 羽毛球场 篮球场 家中upy多久哦首都机场 学校几款手机打开就能看 ...
阅读全文
摘要:<div class="xiantu"> <input type="file" id="file"> <img src="../image/111.png" alt="" width="100%" height="100%" class="img1"></div><img src="" alt=""
阅读全文
摘要:按钮加载事件<div class="container"> <button class="btn btn-danger" data-loading-text="正在加载....">加载</button></div><script> var $btn=$(".btn"); $btn.click(fun
阅读全文
摘要:<button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="left" title="Tooltip on left">Tooltip on left</button> <button typ
阅读全文
摘要:window.history.back()上一个网页 =window.history.go(-1) window.history.forward()下一个网页 =window.history.go(0) 此方法只适用于两个本地连接的来回跳转 下面事是prompt 与open的结合用法 window.
阅读全文
摘要:((继承) 多态继承 原型:用来继承: 实现:通过在构造函数中添加公有属性和在构造函数(constructor)的原型链(prototype)上添加公用的方法来实现父类,通过父类实例化得到的对象就具有父类原型链上的方法;子类可以通过_prototy_去访问并修改父类的属性和方法
阅读全文
摘要:json数据解析 就是将json转换为数组或对象 json数据序列化 就是将数组或对象转化为json
阅读全文
摘要:function foo(){ var value=document.getElementsByTagName("input")[0].value; var str=["纪检","纪委","纪检监察"]; for(var i=0;i<str.length;i++) { var index= valu
阅读全文
摘要:return true允许提交 return false 组止提交
阅读全文

浙公网安备 33010602011771号