<view class='header'> <open-data class='userInfo' type="userAvatarUrl" bindgetuserinfo="onGotUserInfo"></open-data> </view> <open-data class='store_address' type="userNickName" lang="zh_CN"></open-data>.header { border-radius: 50%; overflow: hidden; width: 120rpx; height: 120rpx; position: relative; background: yellow; left: 40rpx; top: -92rpx;}.userInfo { border-radius: 50%; width: 120rpx; height: 120rpx;} onGotUserInfo: function (e) { console.log("nickname=" + e.detail.userInfo.nickName); },微信小程序













