11 2018 档案
摘要:index.wxml <scroll-view scroll-x style="width:100%;white-space:nowrap"> <view wx:for="{{30}}" style="display:inline-block; margin:10rpx;border:1rpx so
阅读全文
摘要:1.单边阴影效果 定义元素的单边阴影效果和调协border的单边边框颜色是相似的,例如: 效果如图3-38所示。 这个案例中,使用box-shadow给元素设置了顶边、右边、底边和左边的单边阴影效果。主要通过box-shadow的水平和垂直阴影的偏移量 来实现,其中x-offset为正值时,生成右边
阅读全文
摘要:// 获取本地文件URLfunction getObjectURL(file) { var url = null; if (window.createObjcectURL != undefined) { url = window.createOjcectURL(file); } else if (w
阅读全文
摘要:右箭头: <p>向右: <i class="right"></i></p><p>向左: <i class="left"></i></p><p>向上: <i class="up"></i></p><p>向下: <i class="down"></i></p> i { border: solid bla
阅读全文