自学内容网 自学内容网

微信小程序昵称获取

 <view class="shouquan_list">

      <label>昵称</label>

      <input  type="nickname" value="{{nichengshoudong}}" bindinput="bindKeyInputnicheng"  placeholder="请输入昵称"  placeholder-style="color:rgba(255,255,255,0.6)" />

    </view>

bindKeyInputnicheng: function (e) {

  this.setData({

    nichengshoudong: e.detail.value,

  })

},


原文地址:https://blog.csdn.net/qq_37159134/article/details/142910372

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!