ES6语法还没有全部支持!!
为什么正常的函数放到wxs文件中就各种报错?为什么正常的函数放到wxs文件中就各种报错? [图片] [图片]
2018-09-19<a href="wechatide://minicode/eDA3Ylm37o2U" target="_blank">wechatide://minicode/eDA3Ylm37o2U</a> 已生成代码片段
input中添加搜索图标,使用padding-left出现两个图标想在input前部添加一个搜索图标,使用padding-left时,图标就变成两个了 <view class='home-top-mid '> <input class='home-top-search' placeholder='搜索想要的书籍'></input> </view> .home-top-search{ width: 100%; height: 100%; font-size:24rpx; /* text-indent: 60rpx; */ border-radius: 34rpx; background-image: url(data:image/jpeg;base64,/);//base64省略 background-size: 30rpx 30rpx; background-position: 19rpx 19rpx; background-repeat: no-repeat; background-color: #F5F5F5; padding-left: 60rpx;//使用该属性时,出现两个背景图 }
2018-09-11