![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
newnaysayer
这个作者很懒,什么都没留下…
展开
-
微信小程序光标随placeholder变动
刚开始是这样的,placeholder太靠边啦我通过 placeholder-style修改了placeholder的位置<input class="ipt" placeholder="请输入搜索文字" placeholder-style="margin-left:30rpx"></input>结果是这样:最后:给输入框加上padding-left:30rpx,就成功啦...原创 2020-06-11 09:27:15 · 786 阅读 · 0 评论 -
父子组件通信
在vue中,子组件获取父组件的数据,通过在子组件上绑定属性和props实现一、 子传父父组件获取子组件的数据,通过在子组件上绑定自定义事件和this.$emit来实现二、 父传子...原创 2020-04-01 19:55:40 · 119 阅读 · 0 评论