上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: document.getElementById("promptBtn").addEventListener('tap', function(e) { e.detail.gesture.preventDefault(); var btnArray = ['取消', '确定']; mui.prompt( 阅读全文
posted @ 2018-06-13 15:35 ▍凉城空巷° 阅读(326) 评论(0) 推荐(0) 编辑
摘要: <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,yser-scalable=no"> //手机端 <link rel="stylesheet" href="css/mui.min.c 阅读全文
posted @ 2018-06-12 11:10 ▍凉城空巷° 阅读(109) 评论(0) 推荐(0) 编辑
摘要: input[type="radio"] + label::before { content: "\a0"; /*不换行空格*/ display: inline-block; vertical-align: middle; width: 1em; height: 1em; margin-right: 阅读全文
posted @ 2018-06-12 09:02 ▍凉城空巷° 阅读(169) 评论(0) 推荐(0) 编辑
摘要: <div>倒计时<span id="ant">123</span>秒</div> window.onload = function () { var odiv = document.getElementById("ant"); var count = 60; odiv.innerText = cou 阅读全文
posted @ 2018-05-31 20:31 ▍凉城空巷° 阅读(62) 评论(0) 推荐(0) 编辑
摘要: //css部分 .MusicImg { position: fixed; top: 2%; z-index: 999; width: 40px; height: 40px; right: 3%; -webkit-animation: rotateImg 1s linear infinite; ver 阅读全文
posted @ 2018-05-15 09:54 ▍凉城空巷° 阅读(1031) 评论(0) 推荐(0) 编辑
摘要: //引入 mui.min.css mui.min.js //body <div class="mui-scroll-wrapper"> <div class="mui-scroll"> </div> </div> //js mui('.mui-scroll-wrapper').scroll({ de 阅读全文
posted @ 2018-05-14 17:17 ▍凉城空巷° 阅读(539) 评论(0) 推荐(0) 编辑
摘要: 去掉最下面一条 .mui-table-view:after { position: absolute; right: 0; bottom: 0; left: 0; height: 0px; content: ''; -webkit-transform: scaleY(.5); transform: 阅读全文
posted @ 2018-05-10 09:44 ▍凉城空巷° 阅读(1639) 评论(0) 推荐(1) 编辑
摘要: 方法一: input::-webkit-input-placeholder { /* WebKit browsers */ color: red; } input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: red; } input 阅读全文
posted @ 2018-05-08 15:50 ▍凉城空巷° 阅读(487) 评论(0) 推荐(0) 编辑
摘要: 网上转载 阅读全文
posted @ 2018-05-07 13:40 ▍凉城空巷° 阅读(573) 评论(0) 推荐(0) 编辑
摘要: var memberprice = item.JSON_memberprice; var array = memberprice.split('.'); var array1 = parseInt(array[0]); var array2 = parseInt(array[1]); if (arr 阅读全文
posted @ 2018-05-04 15:16 ▍凉城空巷° 阅读(339) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页