会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
新恒
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2018年9月20日
html中删除表格的一行(有弹窗)
摘要: html中删除表格一行其实很简单,但是加上一个提示弹窗后,点击确定后却获取不到要删除的是哪一行,下面是一个demo html: <tr> <td> <input type="checkbox" class="checkBig" /> </td> <td>安徽车乐优</td> <td>13888888
阅读全文
posted @ 2018-09-20 09:56 新恒
阅读(5308)
评论(0)
推荐(0)
2018年9月19日
HTML左边盒子固定,右边盒子自适应
摘要: html: <div class="box1"> <div class="divA">DIVA</div> <div class="divB">DIVB</div> </div> css: <style type="text/css"> * { margin: 0; padding: 0; } .b
阅读全文
posted @ 2018-09-19 17:12 新恒
阅读(2664)
评论(0)
推荐(0)
2018年9月7日
微信小程序左滑删除功能
摘要: wxml: <view class="container"> <view class="touch-item {{item.isTouchMove ? 'touch-move-active' : ''}}" data-index="{{index}}" bindtouchstart="touchst
阅读全文
posted @ 2018-09-07 15:52 新恒
阅读(3202)
评论(0)
推荐(0)
2018年9月6日
微信小程序-自制弹出框禁止页面上下滑动
摘要: 弹出 fixed 弹窗后,在弹窗上滑动会导致下层的页面一起跟着滚动。 解决方法: 在弹出层加上 catchtouchmove 事件 两种方法:(在电脑上测试是没有用的,这是触摸事件。因此,需要在手机端测试,预览生成一个开发版,用手机微信扫描即可看到效果) 1. wxml: <!-- 首页弹窗 -->
阅读全文
posted @ 2018-09-06 15:04 新恒
阅读(6943)
评论(3)
推荐(0)
2018年9月4日
html中checkbox自定义样式(css版本)
摘要: <span class="choose"><input type="checkbox" class="input_check" id="check3"><label for="check3"></label></span> .choose { position: relative; } .input
阅读全文
posted @ 2018-09-04 18:51 新恒
阅读(4511)
评论(0)
推荐(0)
2018年8月29日
h5页面弹窗时页面固定(弹窗下面的页面不滑动)
摘要: 页面出现弹窗时,底部页面不能随之滑动怎么解决? 只需将页面的body增加一个样式 overflow:hidden;就能解决 jq: //开启弹窗 $('body').attr('style','overflow:hidden') //关闭弹窗 $('body').removeAttr('style'
阅读全文
posted @ 2018-08-29 20:51 新恒
阅读(4803)
评论(0)
推荐(0)
2018年8月27日
微信小程序左右联动菜单(即可左联动,也可右联动)
摘要: <!-- 搜索 --> <view class="search"> <input class="search-box" placeholder='痘研商城' bindtap='goodsName'></input> <image src="{{staticImg}}index/iconSearch.
阅读全文
posted @ 2018-08-27 19:56 新恒
阅读(12436)
评论(0)
推荐(2)
html中全选反选
摘要: <!--第一层--> <div class="first"> <div class="first_top"> <img src="../img/chartor4.png" class="first-img" /> <input type="checkbox" name="resUuids" valu
阅读全文
posted @ 2018-08-27 14:00 新恒
阅读(1186)
评论(0)
推荐(0)
2018年8月24日
数组中元素的动态增加和删除
摘要: 1 <div class="ser-pup-line1"> 2 <div class="ser-pup-left"> 3 <span>使用配件</span> 4 </div> 5 <div class="ser-pup-right1"> 6 <div class="clone"> 7 <div cl
阅读全文
posted @ 2018-08-24 19:40 新恒
阅读(3339)
评论(0)
推荐(0)
2018年8月22日
微信小程序评价页面
摘要: 1 <!--服务评价--> 2 <view class="service"> 3 <!--评分--> 4 <view class='score'> 5 <view class='left'> 6 评分 7 </view> 8 <view class='right'> 9 <view bindtap=
阅读全文
posted @ 2018-08-22 12:02 新恒
阅读(7394)
评论(0)
推荐(1)
上一页
1
2
3
4
5
6
7
下一页
公告