摘要: 页面出现弹窗时,底部页面不能随之滑动怎么解决? 只需将页面的body增加一个样式 overflow:hidden;就能解决 jq: //开启弹窗 $('body').attr('style','overflow:hidden') //关闭弹窗 $('body').removeAttr('style' 阅读全文
posted @ 2018-08-29 20:51 新恒 阅读(4763) 评论(0) 推荐(0) 编辑
摘要: <!-- 搜索 --> <view class="search"> <input class="search-box" placeholder='痘研商城' bindtap='goodsName'></input> <image src="{{staticImg}}index/iconSearch. 阅读全文
posted @ 2018-08-27 19:56 新恒 阅读(12150) 评论(0) 推荐(2) 编辑
摘要: <!--第一层--> <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 新恒 阅读(1162) 评论(0) 推荐(0) 编辑
摘要: 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 新恒 阅读(3312) 评论(0) 推荐(0) 编辑
摘要: 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 新恒 阅读(7213) 评论(0) 推荐(1) 编辑
摘要: 1 <view class="content" wx:for="{{content}}"> 2 <view class="opinion"> 3 <view class="title"> 4 <image src='{{staticImg}}home/evaluation/store.png' cl 阅读全文
posted @ 2018-08-21 14:45 新恒 阅读(484) 评论(0) 推荐(0) 编辑
摘要: <script> $(function(){ $("#avatsel1").click(function(){ $("input[type='file']").trigger('click'); }); $("#avatval").click(function(){ $("input[type='f 阅读全文
posted @ 2018-08-21 10:33 新恒 阅读(2548) 评论(0) 推荐(0) 编辑
摘要: var filters = { toFix: function (value) { var v = parseFloat(value)//强转,毕竟有可能返回是String类型的数字 return v.toFixed(2) } } module.exports = { toFix: filters. 阅读全文
posted @ 2018-08-18 15:22 新恒 阅读(919) 评论(0) 推荐(0) 编辑
摘要: <view class='shop-mana'> <text class='management'>管理您的购物车</text> <text class='goto'>点击立即前往>></text> </view> <view class='carts'> <view class='goods' w 阅读全文
posted @ 2018-08-18 15:17 新恒 阅读(1774) 评论(0) 推荐(0) 编辑
摘要: html: <div> <input id="item1" type="radio" name="item" value="选项一" checked> <label for="item1"></label> <span>选项一</span> </div> <div> <input id="item2 阅读全文
posted @ 2018-08-17 11:13 新恒 阅读(26615) 评论(0) 推荐(0) 编辑