摘要: html页面: public.css文件在博客中的公共的css样式 rem.js 文件在博客中的手机端页面的布局 css样式: js: 阅读全文
posted @ 2018-07-23 10:39 小凢 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 链接式: <a href="javascript:history.go(-1)">返回上一步</a> <a href="<%=Request.ServerVariables("HTTP_REFERER")%>">返回上一步</a> 按钮式: <input type="button" value="b 阅读全文
posted @ 2018-07-23 10:01 小凢 阅读(1091) 评论(0) 推荐(0) 编辑
摘要: body,dl,dd,ul,ol,h1,h2,h3,h4,h5,h6,pre,form,input,textarea,p,hr,thead,tbody,tfoot,th,td{margin:0;padding:0;} ul,ol{list-style:none;} a{text-decoration:none;} html{-ms-text-size-adjust:none;-webkit-te... 阅读全文
posted @ 2018-07-20 13:49 小凢 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 页面布局用弹性盒 加meta标签: <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user 阅读全文
posted @ 2018-07-20 13:46 小凢 阅读(1325) 评论(0) 推荐(0) 编辑
摘要: size *(page-1)+i+1 size:每页显示的条数; page:总共几页 阅读全文
posted @ 2018-07-20 10:39 小凢 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 0:上午,1:下午,2:全天 "<td>"+changeDate(data[i].date)+"</td>"+ function changeDate(date){ switch(date){ case 0: return "上午"; case 1: return "下午"; case 2: ret 阅读全文
posted @ 2018-07-20 10:34 小凢 阅读(341) 评论(0) 推荐(0) 编辑
摘要: var arr=["{m=200,p=10,o=0}","{m=201,p=11,o=1}","{m=202,p=12,o=2}"]; var aone=arr[0]; var m=parseInt(aone.split("m")[1].split("=")[1]); alert(m) 阅读全文
posted @ 2018-07-20 10:20 小凢 阅读(1805) 评论(0) 推荐(0) 编辑
摘要: 如下图案例1: html: CSS JS 阅读全文
posted @ 2018-07-20 10:15 小凢 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 用字符串拼接 例如:信息页跳转详情页 ajax请求遍历数据,找到要点击的标签添加点击事件,onclick='transferEvent("+data[i].id+")', 传的值为汉字时:onclick='transferEvent(\""+data.data[i].patientName+"\") 阅读全文
posted @ 2018-07-20 09:59 小凢 阅读(1907) 评论(0) 推荐(0) 编辑