随笔分类 -  H5

摘要:<div class="img-box" style="height:auto;"> <img id='travelimg' class="uploadImg" src="../../images/driver/yy.png" style="height:auto;" /> </div> 提交数据 阅读全文
posted @ 2020-12-18 17:16 骅骝漫轻舞01 阅读(319) 评论(0) 推荐(0)
摘要:@media (max-width: @screen-xs-max) { ... } @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { ... } @media (min-width: @screen-md-mi 阅读全文
posted @ 2019-07-01 18:33 骅骝漫轻舞01 阅读(118) 评论(0) 推荐(0)
摘要:原文地址:https://www.runoob.com/html/html5-app-cache.html 我的理解就是离线网页,没网的时候显示缓存的页面。 推荐使用场景:通告/公示/说明/文章等几乎长期页面变化不大或没有动态数据变化的情况。 什么是应用程序缓存(Application Cache) 阅读全文
posted @ 2019-06-25 16:15 骅骝漫轻舞01 阅读(147) 评论(0) 推荐(0)
摘要:<div class="content_sq" style="position:relative;"> <img src="images/create_family/add.png" alt="" id="content_img"> </div> <input type="file" class=" 阅读全文
posted @ 2018-12-25 11:13 骅骝漫轻舞01 阅读(232) 评论(0) 推荐(0)
摘要:地址:https://blog.csdn.net/xiao190128/article/details/81025378 var u = navigator.userAgent; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr' 阅读全文
posted @ 2018-11-23 14:20 骅骝漫轻舞01 阅读(907) 评论(0) 推荐(0)
摘要:function saveEltValuestoFile(that,signleList){ //eltid是用来给文件命名的关键字 plus.io.requestFileSystem(plus.io.PUBLIC_DOCUMENTS, function(fs){ //fs.root 是根目录操作对 阅读全文
posted @ 2018-10-08 21:59 骅骝漫轻舞01 阅读(1355) 评论(0) 推荐(0)
摘要://手机震动function vibration(){ navigator.vibrate = navigator.vibrate || navigator.webkitVibrate || navigator.mozVibrate || navigator.msVibrate; if (navig 阅读全文
posted @ 2018-09-19 09:51 骅骝漫轻舞01 阅读(665) 评论(0) 推荐(0)
摘要:function save___img(picurl) { // 创建下载任务 // picurl="http://*************/Public/Uploads/dingwei/erwei.png"; //图片保存到手机后的路径 // picname="_downloads/"+rand 阅读全文
posted @ 2018-09-15 09:30 骅骝漫轻舞01 阅读(2533) 评论(0) 推荐(0)
摘要:mui.plusReady(function() { // 扩展API加载完毕,现在可以正常调用扩展API plus.contacts.getAddressBook(plus.contacts.ADDRESSBOOK_PHONE, function(addressbook) { addressboo 阅读全文
posted @ 2018-08-18 14:18 骅骝漫轻舞01 阅读(1492) 评论(0) 推荐(0)